Automated Machine Learning package
Project description
Vinzy AutoML - Automated Machine Learning Package by Vinayak Bhosale
Vinzy AutoML is a comprehensive automated machine learning package that simplifies the process of model selection, hyperparameter tuning, and performance evaluation. Designed for both beginners and experienced data scientists, it supports over 60 machine learning models with parallel processing capabilities.
๐ Key Features
- ๐ Automated model selection for regression and classification problems
- โก Parallel training using multithreading for faster execution
- ๐ Comprehensive performance metrics with built-in visualization tools
- ๐ Hyperparameter tuning with GridSearchCV
- ๐ค Support for 60+ models including:
- Scikit-learn models
- XGBoost, LightGBM, and CatBoost (optional)
- ๐ฏ Automatic best model selection based on problem type
- ๐จ Beautiful visualizations including performance charts and radar plots
๐ฆ Installation
Install the base package:
pip install vinzy_automl
For full functionality including XGBoost, LightGBM, and CatBoost:
pip install vinzy_automl[full]
๐งช Basic Usage
๐น Regression Example
from vinzy_automl import AutoML
from sklearn.datasets import make_regression
from sklearn.model_selection import train_test_split
# Create sample dataset
X, y = make_regression(n_samples=1000, n_features=20)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
# Initialize and train AutoML
automl = AutoML()
results = automl.fit(
X_train, y_train,
X_test, y_test,
problem_type='regression', #or 'classification'
grid_search=['RandomForest', 'XGBoost'], # Models to tune
exclude_models=['Lasso', 'Ridge'], # Models to skip
max_workers=4 # Threads to use
)
# View results
print(results)
# View results in a dataframe
print(automl.get_results_in_dataframe(sort_by='R2'))
automl.plot_performance()
๐น Classification Example
from vinzy_automl import AutoML
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
# Create sample dataset
X, y = make_classification(n_samples=1000, n_classes=3)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
# Initialize and train AutoML
automl = AutoML()
results = automl.fit(
X_train, y_train,
X_test, y_test,
problem_type='classification', #or 'regression'
grid_search=['RandomForest', 'XGBoost'], # Models to tune
exclude_models=['GaussianNB', 'MultinomialNB'], # Models to skip
max_workers=4 # Threads to use
)
# Get best model and make predictions
best_name, best_model, best_score = automl.get_best_model()
predictions = automl.predict(X_test)
# Visualize results
automl.plot_model_comparison_radar()
To obtain models names use
# To obtain models names use
print(automl.nomenclature())
โ๏ธ Advanced Features
๐ง Custom Models and Parameters
from sklearn.ensemble import RandomForestRegressor
from sklearn.svm import SVR
# Add custom models
custom_models = {
'MyRF': RandomForestRegressor(n_estimators=200),
'MySVR': SVR(kernel='poly')
}
# Custom hyperparameter grids
custom_params = {
'MyRF': {'max_depth': [5, 10, None]},
'MySVR': {'C': [0.1, 1, 10], 'degree': [2, 3]}
}
automl.fit(
X_train, y_train,
X_test, y_test,
problem_type='regression',
custom_models=custom_models,
custom_param_grids=custom_params
)
๐งต Full Pipeline Training
# Train best model on full dataset
final_model = automl.train_best_model(X_full, y_full)
# Save the trained model
import joblib
joblib.dump(final_model, 'best_model.pkl')
๐ Visualization Options
# Performance comparison
automl.plot_performance(figsize=(12, 8), save_path='performance.png')
# Training time analysis
automl.plot_training_time_comparison()
# Radar chart of top 5 models
automl.plot_model_comparison_radar()
๐ Supported Models
โ Regression (40+ Models)
LinearRegression, Ridge, Lasso, ElasticNet, BayesianRidge, KernelRidge,
Lars, LassoLars, OrthogonalMatchingPursuit, PassiveAggressiveRegressor,
SGDRegressor, HuberRegressor, TheilSenRegressor, RANSACRegressor,
QuantileRegressor, DecisionTree, RandomForest, ExtraTrees, GradientBoosting,
AdaBoost, VotingRegressor, BaggingRegressor, HistGradientBoosting, SVR,
LinearSVR, NuSVR, KNN, MLP, GaussianProcess, XGBoost, LightGBM, CatBoost
โ Classification (40+ Models)
LogisticRegression, GaussianNB, MultinomialNB, BernoulliNB,
LinearDiscriminantAnalysis, QuadraticDiscriminantAnalysis,
PassiveAggressiveClassifier, SGDClassifier, RidgeClassifier, Perceptron,
DecisionTree, RandomForest, ExtraTrees, GradientBoosting, AdaBoost,
VotingClassifier, BaggingClassifier, HistGradientBoosting, SVC, LinearSVC,
NuSVC, KNN, MLP, GaussianProcess, LabelPropagation, LabelSpreading,
XGBoost, LightGBM, CatBoost
โน๏ธ Package Information
automl = AutoML()
automl.author()
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AutoML Package โ
โ An Automated Machine Learning Library By Vinayak Bhosale โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ Package: AutoML
๐จโ๐ป Author: Vinayak Bhosale
๐
Copyright: ยฉ 2025
๐ Version: 1.0.0
๐ License: MIT License
๐ Description: A comprehensive AutoML library for automated machine learning
๐ Features:
๐ค Automated model selection and training
๐ Multi-threaded parallel processing
๐ Comprehensive performance visualization
๐ Hyperparameter optimization with GridSearch
๐ Support for regression and classification
๐ฏ 20+ built-in machine learning algorithms
โก Support for XGBoost, LightGBM, and CatBoost
๐ Detailed performance metrics and comparisons
๐พ Model persistence and reusability
๐จ Beautiful visualization with radar charts
====================================================================
Thank you for using AutoML! Happy Machine Learning! ๐
====================================================================
๐ Documentation
For detailed usage and customization:
# View help guide
automl.help_automl()
# View method documentation
help(AutoML.fit)
help(AutoML.plot_performance)
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
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
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 vinzy_automl-1.0.0.tar.gz.
File metadata
- Download URL: vinzy_automl-1.0.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b76cba5dd752c219811d3dc4c46b71f2d4aaf3f46e22116428d44d7354010c1a
|
|
| MD5 |
9cdf1416f0422f2fc405a59c261f9330
|
|
| BLAKE2b-256 |
aafd6b3068539fe4d77918fa41a254a234ec97bf2ac5a2f7380acfcf8847c07a
|
File details
Details for the file vinzy_automl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vinzy_automl-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cda15f610a37bad854a82db6f861e1334a8feca2a15d09a7afd6ac9748cb09c
|
|
| MD5 |
c9816122b28435eadef2c4a12c83091a
|
|
| BLAKE2b-256 |
ddb932a0b17e0628bc34a0720abee7b8368ae3a7716bef2d0433df97cbbe7cb6
|