Skip to main content

featuresmith-core

PyPI Version Python Version License

featuresmith-core is the Python SDK and deterministic analysis engine for Featuresmith — the open-source Dataset Review Platform for structured data.

It provides automated dataset code reviews, 0–100 ML readiness scores, target leakage detection, version snapshot diffing, and deterministic transformation planning.

Key Capabilities

  • Dataset Ingestion (fs.load()): Native support for CSV, Excel, Parquet, pandas, and Polars DataFrames.
  • Automated Dataset Review (fs.review()): 10 built-in reviewers evaluating schema health, missingness, duplicates, constants, cardinality, statistics, target leakage, snapshot deltas, and feature quality.
  • ML Readiness Score (fs.score()): An explainable 0–100 quality scorecard calculated across 7 effective health dimensions.
  • Intelligent Leakage Detection: 6 named pattern detectors recognizing target correlation, identifier shape, timestamp anomalies, and duplicate targets.
  • Dataset Diff Engine (fs.diff()): Version snapshot comparison engine surfacing schema drift, null spikes, and quality regressions between two datasets.
  • Recommendation Engine & Plan Primitive (fs.plan()): Centralized engine merging review findings into ranked fix recommendations and compiling accepted items into inspectable, deterministic Plan objects.

Installation

pip install featuresmith-core

Quick Start (Python SDK)

import featuresmith as fs

# 1. Load dataset
dataset = fs.load("data/train.csv")

# 2. Run automated dataset code review
review_res = fs.review(dataset, target_column="target")

# 3. Extract 0-100 ML Readiness Scorecard
scorecard = fs.score(review_res)
if scorecard:
    print(f"ML Readiness Score: {scorecard.overall}/100")

# 4. Compile an inspectable Plan from accepted recommendations
plan = fs.plan(review_res, accept=["rec.quality.missingness.cabin"])
for item in plan.items:
    print(f"Plan Step: {item.title} (confidence {item.confidence})")

For comprehensive guides and API reference, visit the official website: https://featuresmith.adityagangwani.me

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

featuresmith_core-0.4.0.tar.gz (85.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

featuresmith_core-0.4.0-py3-none-any.whl (125.9 kB view details)

Uploaded Python 3

File details

Details for the file featuresmith_core-0.4.0.tar.gz.

File metadata

  • Download URL: featuresmith_core-0.4.0.tar.gz
  • Upload date:
  • Size: 85.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for featuresmith_core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 368f69930379c5b4e4d24e8c9569a0e9420ed54ed5ff755deea3a8f73e1a9524
MD5 2f96a200b56d9ea925f2e40f12f10611
BLAKE2b-256 30113ff18c64b90152266a0ab17d5d6137cc9021f4824aab0dad743b266d64f1

See more details on using hashes here.

File details

Details for the file featuresmith_core-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for featuresmith_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bce7a9e94c19fad1c6c09a03cc28315c0e7079edc28c17324215937a7c2a0ae7
MD5 2322d8fed7f577d34bd204440e534d2e
BLAKE2b-256 da23f30f058e10953b934370876412a1bf019deda7a00c5ead39c11e5b60dbb1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page