Intelligent data pruning for ML datasets
Project description
DataPruning
Intelligent dataset pruning for ML — reduces dataset size by selecting the most informative rows.
Installation
pip install datapruning
Note: PyTorch (~2 GB) is a required dependency.
Requirements
- Python >= 3.10
- PyTorch 2.0+
- Pandas 2.0+
- NumPy 1.24+
Limits
- Minimum: 1,000 rows per dataset
- Maximum: 300,000 rows per dataset
Usage
import pandas as pd
from datapruning import Pruner
df = pd.read_csv("dataset.csv")
p = Pruner(df)
filtered = p.prune(target_col="label", keep_ratio=0.5)
print(f"Kept {len(filtered)} / {len(df)} rows")
Features
- Runs locally, no data upload
- Pre-training dataset optimization
- Pandas DataFrame input / output
- Compiled processing module
Links
- Website: datapruning.com
License
Proprietary. See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datapruning-2.0.0.tar.gz
(242.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datapruning-2.0.0.tar.gz.
File metadata
- Download URL: datapruning-2.0.0.tar.gz
- Upload date:
- Size: 242.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02d961232ed7603e5a5b3373e9b5e43c64b43c329c2e7eb049ff6eb6e1d7dd50
|
|
| MD5 |
8dcd7253da37cd0581fed1d0b424980d
|
|
| BLAKE2b-256 |
9cffafcb4415068739d72313fd63cdf0adb9d2cec7ec4a8ab503f4720151a75c
|
File details
Details for the file datapruning-2.0.0-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: datapruning-2.0.0-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 170.0 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e17582e489a328ca5ca48015090bc7c8f56be67ab395dc5427ded2a4d52cba32
|
|
| MD5 |
728a80ccd8b2e91c6083e11c79c4db3b
|
|
| BLAKE2b-256 |
2456e0dc96517afe53115fb8841a757dcbbad4a6662179bd832fc9fb3a647164
|