Skip to main content

Simple Synthetic Data with Python

Project description

fraud

Pronunciation: /frɔːd/ (FRAWD)

Simplified Synthetic Data

fraud is a python package designed to streamline synthetic data for finetuning machine learning models.

Data scarcity is a limiting factor. While real data is the ideal solution; however it is often expensive, time-consuming, and resource-intensive.

Synthetic data offers an effective middle ground, enabling models to significantly enhance their performance by supplementing smaller datasets.

Usage

Here's a basic example to get you started.

import fraud as fr

synthetic_samples = fr.from_str('Could you please meet {name} at {time}', 20)

Predicting Templates

Grab a sample from your dataset to make a template from it!

import fraud as fr

predicted_template = fr.predict_template(
    sample='My name is Trevor and I am a Data Scientist.',
    labels=['name','job'],
    threshold=0.5
)

fr.from_str(predicted_template, 5)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fraud-0.1.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fraud-0.1.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file fraud-0.1.2.tar.gz.

File metadata

  • Download URL: fraud-0.1.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for fraud-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0b241236fa683d48c26db1249d35cfabdc77b546b67fd322f84ead1a46562b29
MD5 9f074f66ff704b304c32b72c800af6d3
BLAKE2b-256 179e2e9bde2f741f80c3e353069c5b0804fbfea4cab366bc2c350d83a0b97003

See more details on using hashes here.

File details

Details for the file fraud-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fraud-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for fraud-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f394dd68953db029a1d4e9b7719497b24f2a063a0c6f58686cd0ca2be49b0b9a
MD5 bb9027a7288c9565d48885fe10e44606
BLAKE2b-256 e356709d26dc087dd6c138cf89408df7ed1033cb1b2de0c837a4e7ada3cbc8d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page