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.13.tar.gz (2.8 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.13-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for badgers-0.0.13.tar.gz
Algorithm Hash digest
SHA256 2a055584d7e3b4efe5e84a05726d8c0283d2dfc312a2f9e32cfe1b1816c268db
MD5 33a60ea0929d8d51db6435a7454866ec
BLAKE2b-256 b6396401397682475ce7ece817f394dd699c3c4221c57c4ca719a02661400aa4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for badgers-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 1c20a5ccbad7e718ad0393c4a56df4902e0fd6f09544d511b8822d266a0ed2f8
MD5 617681cb3486b4a0ae39e43c35ede4e3
BLAKE2b-256 033fa65ec954d7d9da9fdda31debe4b8ebd072443b63071bad194d53014e81d7

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