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-1.0.10.tar.gz
(221.4 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-1.0.10.tar.gz.
File metadata
- Download URL: datapruning-1.0.10.tar.gz
- Upload date:
- Size: 221.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0094d40b088b32365f56b245ab20364ce38b84bb1db661b82ada744e0fdd7389
|
|
| MD5 |
bc7e1a02e49a8bfd49eddc7f81032456
|
|
| BLAKE2b-256 |
861cfdd4cc67ab88422acec4ca36eda24b2f17e89f88bef9c466a5243993fecc
|
File details
Details for the file datapruning-1.0.10-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: datapruning-1.0.10-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 138.1 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 |
cd1473540315d734eeaf545e39dd8f6ec4e883b3e0e57c905e48eefa45cd7258
|
|
| MD5 |
cb395ede874fe01cc68eeea5396a8053
|
|
| BLAKE2b-256 |
92ba86b8bc2c4c087a7657722b2ef159313fcba90174aa321b594579e2b0eec1
|