Skip to main content

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.

Metadata

Release files for badgers 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for badgers 0.0.14
File Size Uploaded
badgers-0.0.14.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for badgers 0.0.14
File Interpreter ABI Platform
badgers-0.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 3.0 MB

Release files / badgers-0.0.14.tar.gz

Download URL badgers-0.0.14.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
40e6314b63c39d485486c341f363e34d52300bb3f7f9934f7fae5ded7aa126c9
BLAKE2b-256 checksum
How to use checksums
2f73a88ab42f57d32942c6142b5b23d66465654d6dd6515b32b412822e005039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / badgers-0.0.14-py3-none-any.whl

Download URL badgers-0.0.14-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb348e73910348e7b549241c931823c3916a9180241003edc6cb2cfae9291895
BLAKE2b-256 checksum
How to use checksums
f0fc62caa3dbeb41ef0da697511f11f81d64997d506b1c924da000903861c0da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page