Model Selection Tool
Project description
🧠 Universal ML Model Explorer Pro
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
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
lazybrains-1.0.5.tar.gz
(9.7 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 lazybrains-1.0.5.tar.gz.
File metadata
- Download URL: lazybrains-1.0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e41ab9a7de5f1e071af0b35af25fac53679520a2000e0f696326c42a2c142fe
|
|
| MD5 |
2ea53c23378a19ff04963f6c658c2a5a
|
|
| BLAKE2b-256 |
a69be153dd0f5904a70321aa07cf15dc1c89390d5a44b4448b68755be6d386a5
|
File details
Details for the file lazybrains-1.0.5-py3-none-any.whl.
File metadata
- Download URL: lazybrains-1.0.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bbdf67ccb83da9b9dc3dfbd87f2133294d38cf3596fdac9033de477a89d89e6
|
|
| MD5 |
c4eb198f0cfad08929b2f4cefc0ed9b2
|
|
| BLAKE2b-256 |
98c59557ee86dd8f4887eb71972016c68e39e33df90032e512601f5d758dbde2
|