Tutorials
A guided tour of badgers through its deficits. All tutorials are Jupyter notebooks.
If you are new to badgers, start with the Understanding badgers concepts notebook — it explains generators, selectors, DGPs and pipelines step by step before you dive into the per-deficit tutorials.
Concepts
| Goal | Tutorial |
|---|---|
| Understand the building blocks (generators, selectors, DGPs, pipelines) | Understanding badgers |
Tabular data
| Goal | Tutorial |
|---|---|
| Add outliers to tabular data | Generating Outliers |
| Add noise | Generating Noise |
| Introduce missing values | Generating Missing Data |
| Generate class imbalance | Generating Imbalanced Data |
| Shift data over time (drift) | Generating Drift |
Use Case
| Goal | Tutorial |
|---|---|
| Using Badgers for testing ML predictors | Impact of data quality deficits of ML predictors |
Beyond tabular data
| Goal | Tutorial |
|---|---|
| Corrupt text data (typos) | Generating Typos |
| Corrupt time series | the Time Series Data tutorials below |
Time series data
| Goal | Tutorial |
|---|---|
| Generate point outliers | Generating Point Outliers |
| Introduce missing values | Generating Missing Data |
| Add noise | Generating Noise |
| Generate patterns | Generating Patterns |
| Generate trends | Generating Trends |
| Generate seasons | Generating Seasons |
| Generate changepoints | Generating Changepoints |
| Generate "transmission errors" | Generating "Transmissions Errors" |
Pipelines and developing your own
| Goal | Tutorial |
|---|---|
| Chain several deficits | Chaining Generators |
| Build custom generators | Creating Tabular Generators |
| Build custom selectors | Creating Selectors |
| Use the bundled causal backends (dowhy-gcm / pymc) | Using DGPs |