Skip to main content

Data Poisoning Detection using self-supervised learning techniques

Project description

Status: Alpha APIs may change and detection thresholds are still being refined. Results should not be considered production-stable.

This is the python library that can be used for the api requests so that users can call to check for poisons in their own datasets.


Quick Start

from poison_detector import api

#UCI dataset
report = api.analyze('uci', 73)
print(report)
clean_uci_df = api.clean('uci', 73)

#CSV file
report = api.analyze('csv', 'path/to/file/dataset.csv')
print(report)
clean_csv_df = api.clean('csv', 'path/to/file/dataset.csv')

### Supported Sources

- `"uci"` - UCI Machine Learning repository (by dataset ID).
- `"csv"` - Local CSV files.

Change Log

0.1.0a1 (21/01/2026)

  • Changed version of package beta -> alpha
  • Updated the analyze and clean function to a common function instead of seperate functions for UCI and csv.

0.1.0 (19/01/2026)

  • Initial Release
  • Fixed issue with calling the model file

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

data_poisoning_detector-0.1.0a1.tar.gz (17.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_poisoning_detector-0.1.0a1-py3-none-any.whl (17.8 MB view details)

Uploaded Python 3

File details

Details for the file data_poisoning_detector-0.1.0a1.tar.gz.

File metadata

File hashes

Hashes for data_poisoning_detector-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 52014a938cd7e5632922e6adcb6b5d5f8dda679c419c071561e0705501658e05
MD5 11d5da2752546a0b9a2ec0dc2589bc38
BLAKE2b-256 64937aaebc42352ddadf78fa4e922efe4b778bb11825a5e135ddefb5c56d305a

See more details on using hashes here.

File details

Details for the file data_poisoning_detector-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for data_poisoning_detector-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ec7f2a9ff73e6f885b45f5023c7e573b012152e584602b8a7be6dbb25e60f54
MD5 649116f4909284d904eb2a2e95bdbdc1
BLAKE2b-256 4b973af562f6cb4a4a08e3dcebae4e424276d65cc016b03563d8e249ee82cfd0

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