Skip to main content

Model Selection Tool

Project description

🧠 Universal ML Model Explorer Pro

Python Platform License Maintained Status Build Downloads

One-line ML pipeline that preprocesses, trains, compares, and visualizes the best model — automatically.

Automatically train, evaluate, compare, and visualize multiple machine learning models — all with one command.

🚀 Features

  • Auto detection: Classification or Regression
  • Auto preprocessing: Scaling, Encoding, Imputation, PCA
  • Parallel model training on all cores
  • SHAP interpretability plots
  • Beautiful visual reports (Confusion Matrix, ROC, Residuals, etc.)
  • CLI + Notebook compatible

📦 Installation

pip install -r requirements.txt

🧪 CLI Usage

python main.py path/to/dataset.csv target_column_name

Optional flags:

  • --output_dir: Folder to save results (default: results)
  • --pca_components: Apply PCA on numeric features
  • --no_shap: Disable SHAP plot (faster)

🧬 Python Usage

from yourlib import run_pipeline_in_notebook

run_pipeline_in_notebook(
    dataset_path="data.csv",
    target_column="target",
    pca_components=5,
    no_shap=False
)

📂 Output

  • best_model.pkl: Trained model
  • Plots: Confusion Matrix, ROC, Residuals, SHAP
  • model_report.txt: Full model comparison

🛠️ Supported Models

  • Linear, Tree-based, Ensemble (RF, GB, AdaBoost, XGBoost), KNN, SVM, Stacking
  • Auto selection of best based on Accuracy / R²

Run this in your terminal to install all dependencies

pip install pandas numpy matplotlib seaborn scikit-learn xgboost shap joblib rich

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

lazybrains-1.0.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

lazybrains-1.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file lazybrains-1.0.1.tar.gz.

File metadata

  • Download URL: lazybrains-1.0.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for lazybrains-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a902d8012d78c526fc3e39ef2915eea77d0bfbf6a5a1e6d9b6d6ca3ed4a7fa6f
MD5 46a88e0483b2e8acf66b2617cdc4b0f3
BLAKE2b-256 40dc8e434b4cb53a32f4a5ff959416d1023ecaa87ce6e403836f8f5655f3e6de

See more details on using hashes here.

File details

Details for the file lazybrains-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lazybrains-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for lazybrains-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 493de00f9dbed3c2b6a7d7b848ffadb1d70fb0744b26d53012141d300d992d57
MD5 2162a1551ad42d7bb49c9d2139ef5d8e
BLAKE2b-256 52b2b01cec2d527227f496f0b5f20dc24e538b0270e46ac576b6554a15abd2ad

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