Skip to content

Getting started

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.

Those interested in developing their own generators and/or contribute to badgers can have a look at the dev-tutorials section, and CONTRIBUTING.md.