Skip to main content

Intelligent data pruning for ML datasets

Project description

DataPruning Lite

Local-first dataset pruning. Free for datasets up to 100K rows.

Overview

DataPruning reduces dataset size before training by selecting a smaller, more informative subset of data. Runs entirely on your machine through a compiled SDK — no data upload, no external processing.

Installation

pip install datapruning

Note: PyTorch (~2 GB) is a required dependency and will be installed automatically. See pytorch.org for GPU/CPU options.

Requirements

  • Python 3.9–3.13
  • PyTorch 2.0+
  • Pandas 2.0+
  • NumPy 1.24+

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

  • Local execution, no data upload
  • Pre-training dataset optimization
  • Pandas DataFrame input
  • Compiled processing module
  • Free tier: up to 100K rows per dataset

Limits

Datasets exceeding 100,000 rows require an enterprise license. Visit https://www.datapruning.com for details.

License

Proprietary software. See LICENSE 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

datapruning-1.0.2.tar.gz (212.8 kB view details)

Uploaded Source

File details

Details for the file datapruning-1.0.2.tar.gz.

File metadata

  • Download URL: datapruning-1.0.2.tar.gz
  • Upload date:
  • Size: 212.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for datapruning-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7e3f8e31694f4a821f4411bee4b1e7985893753134066d18e73d686afd7e33cc
MD5 25fcd5c4c0838c67d7131e068cfd4c90
BLAKE2b-256 8862fb55a5b396447e35778c901a4006ccbe3d68529e98ba923dfb88d0b9b4c3

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