Skip to main content

One-call EDA + preprocessing + feature selection + plotting + advisor + tuning (robust CV).

Project description

softauto 0.3.1 – tiny-data safe SMOTE, advisor, plots

softauto 0.3.2 (Pro+Fix)

EDA → Clean → Select → Train → Tune → Plot → Advise
A lightweight AutoML helper that makes it easy to run an end-to-end experiment with just one call.


✨ Features

  • Model Zoo (classification & regression):
    logreg, linear, ridge, lasso, random_forest, gb, svm_rbf, knn, mlp
    (XGBoost / LightGBM available if installed).

  • Preprocessing

    • Missing-value imputation (median / most_frequent).
    • Scaling: standard, minmax, robust, or None.
    • Rare-category binning (cat_min_freq=...).
    • Outlier clipping (num_clip_quantiles=(low, high)).
  • Feature Selection

    • mutual_info → keep top-k informative features.
    • rfecv → recursive elimination with CV.
  • Imbalance Handling

    • imbalance="auto" → tries SMOTE (safe on small folds) else falls back to class weights.
    • imbalance="class_weight" or "smote" explicit.
    • New: smote_k_neighbors param (default 5, auto-reduced on small datasets).
  • Advisor

    • If user-chosen model underperforms (e.g., accuracy < 0.75), evaluates a shortlist and:
      • Returns best alternatives.
      • Suggests practical tuning/feature/imbalance tips.
      • Auto-fixes to best alternative if advisor_auto_fix=True.
  • Plots & Report

    • Target distribution, missingness, correlation, feature importance.
    • Auto-generated report.html with embedded charts.
  • Tuning

    • Lightweight RandomizedSearchCV with sensible param grids.
    • Safe defaults (error_score=0.0 → failed folds don’t crash).

🔧 Install

pip install -e .
# optional extras:
pip install -e .[boosters]   # xgboost, lightgbm
pip install -e .[imbalance]  # imbalanced-learn for SMOTE

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

softauto-0.3.3.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

softauto-0.3.3-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file softauto-0.3.3.tar.gz.

File metadata

  • Download URL: softauto-0.3.3.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for softauto-0.3.3.tar.gz
Algorithm Hash digest
SHA256 f25e2590bdc91eede643baaca1f1bf64e672582db2cb86243c012ef570b44073
MD5 658f6d5e571e9f5ab0ccf51375fbde89
BLAKE2b-256 04d2ae929348735797a0851e509efd2855e843a3f9b7b9055542fca668405091

See more details on using hashes here.

File details

Details for the file softauto-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: softauto-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for softauto-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d77e5266d9f381a8ca3b4ad20ccd7fb5c1c0ada6f01def4a97b1ae399d31e395
MD5 01047ba14edd083f770eb5940cbd8ade
BLAKE2b-256 8e53e31bbf7b335ea8dea369a5b12d6752e9eb1bc3e4b7399b0a40eecf3d3cc4

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