Skip to main content

Badgers: bad data generators

Project description

Badgers: bad data generators

badgers is a python library for generating bad data (more precisely to augment existing data with data quality deficits such as outliers, missing values, noise, etc.). It is based upon a simple API and provides a set of generators object that can generate data quality deficits from existing data.

A word of caution: badgers is still in an early development stage. Although the core structure of the package and the generate(X,y) signature are not expected to change, some API details (like attributes names) are likely to change.

The full documentation is hosted here: https://fraunhofer-iese.github.io/badgers/.

For a quick-start, you can install badgers with pip:

pip install badgers

Import badgers as any other library and start using it:

from sklearn.datasets import make_blobs
from badgers.generators.tabular_data.noise import GaussianNoiseGenerator

X, y = make_blobs()
trf = GaussianNoiseGenerator()

Xt, yt = trf.generate(X, y, noise_std=0.5)

More examples are available in the tutorials section.

The API documentation is also available in the API section.

Interested developers will find relevant information in the CONTRIBUTING.md page.

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

badgers-0.0.12.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

badgers-0.0.12-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file badgers-0.0.12.tar.gz.

File metadata

  • Download URL: badgers-0.0.12.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for badgers-0.0.12.tar.gz
Algorithm Hash digest
SHA256 3fac5e29d8b6e5a11e15374ba845a6d2bf87a9f43b74623be943b20be134ea77
MD5 90d9baee1f5416a21c761e2bc93afc8a
BLAKE2b-256 f9da3614d3030662d6d8081022152b05ff78964169e58d4eb45ac85e851e19fb

See more details on using hashes here.

File details

Details for the file badgers-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: badgers-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for badgers-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2e080967c756c9bc86e4082b6aaf41c4d0fee20517543e499e4aaa2d11422e2d
MD5 eb6b48ac292d2aba8eac4d2af2ec68ac
BLAKE2b-256 0ff4b8d0ae6c702a1e258ed8cc5970b418ad249a297320b363d5af43f58ce899

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