Skip to content

calgo-lab/tab_err

Repository files navigation

tab_err

tab_err is an implementation of a tabular data error model that disentangles error mechanism and error type. It generalizes the formalization of missing values, implying that missing values are only one of many possible error type implemented here. tab_err gives the user full control over the error generation process and allows to model realistic errors with complex dependency structures.

The building blocks are ErrorMechanisms, ErrorTypes, and ErrorModels. ErrorMechanism defines where the incorrect cells are and model realistic dependency structures and ErrorType describes in which way the value is incorrect. Together they build a ErrorModel that can be used to perturb existing data with realistic errors.

This repository offers (soon) three APIs, low-level, mid-level and high-level.

Examples

For details and examples please check out our Getting Started Notebook.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/calgo-lab/tab_err

Binary installers for the latest released version are available at the Python Package Index (PyPI).

pip install tab-err

Contributing

To develop tab_err, install the uv package manager. Run tests with uv run pytest. Develop features on feature branches and open pull requests once you're ready to contribute. Make sure that your code is tested, documented, and well described in the pull request.

About

Fully-controlled realistic error generation for tabular data.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages