Skip to main content

RPFNet: Attack-Agnostic Tabular Data Poisoning Detection via Meta-Learned Relational Fingerprints

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

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

#URL
report = api.analyze('url', 'https://webpath/to/file/dataset')
print(report)
clean_url_csv_df = api.clean('url', 'https://webpath/to/file/dataset')
```

---

```markdown
## Supported Sources

- "uci" - UCI Machine Learning repository (by dataset ID).
- "csv" - Local CSV files.
- "url" - URL where an csv file is set for the dataset.

for url's in google drive you can use the following format

- https://drive.google.com/uc?id=FILE_ID&export=download
```


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

rpfnet-0.0.7.tar.gz (416.8 kB view details)

Uploaded Source

File details

Details for the file rpfnet-0.0.7.tar.gz.

File metadata

  • Download URL: rpfnet-0.0.7.tar.gz
  • Upload date:
  • Size: 416.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for rpfnet-0.0.7.tar.gz
Algorithm Hash digest
SHA256 785d0da04575a842b0ea008b3e1a6c8a016ea9e509182e399d4062d430241ed6
MD5 41e4f3d93f470145238fc021ee714135
BLAKE2b-256 645a26bd927bfdf3bc6fed97d8b2b62465612925e5a6e34bbb54d373ad88d124

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