Metadata-Version: 2.4
Name: data-poisoning-detector
Version: 0.1.1b4
Summary: Data Poisoning Detection using self-supervised learning techniques
Home-page: 
Author: Lakshan Costa
Author-email: lakshancosta2@gmail.com
License: MIT
Keywords: data poisoning,self-supervised learning,machine learning,security
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
License-File: LICENCE.txt
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scikit-learn
Requires-Dist: flask
Requires-Dist: torch
Requires-Dist: torchvision
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

**Status: Beta**
APIs may change and detection thresholds are still being refined.

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

```python
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')
```

---

```markdown
### Supported Sources

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


Change Log
==============

0.1.1b4 (21/01/2026)
--------------------
- 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
