Skip to main content

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


Download files

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

Source Distribution

vinzy_automl-1.0.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

vinzy_automl-1.0.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

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

Hashes for vinzy_automl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b76cba5dd752c219811d3dc4c46b71f2d4aaf3f46e22116428d44d7354010c1a
MD5 9cdf1416f0422f2fc405a59c261f9330
BLAKE2b-256 aafd6b3068539fe4d77918fa41a254a234ec97bf2ac5a2f7380acfcf8847c07a

See more details on using hashes here.

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

Hashes for vinzy_automl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cda15f610a37bad854a82db6f861e1334a8feca2a15d09a7afd6ac9748cb09c
MD5 c9816122b28435eadef2c4a12c83091a
BLAKE2b-256 ddb932a0b17e0628bc34a0720abee7b8368ae3a7716bef2d0433df97cbbe7cb6

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