Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– AutoML + AI Insights Platform

Build โ€ข Compare โ€ข Analyze โ€ข Improve Machine Learning Models with Google Gemini AI

Python Streamlit Scikit-Learn Google Gemini AutoML Status

An AI-powered AutoML application that automatically preprocesses datasets, detects the machine learning problem type, trains multiple models, compares their performance, and generates intelligent model analysis and improvement suggestions using Google Gemini AI.


๐Ÿš€ Project Overview

Selecting the right Machine Learning model and interpreting its performance can be challenging, especially for beginners. This application automates the entire workflow by combining traditional Machine Learning with Generative AI.

Users simply upload a CSV dataset, choose the target column, and the application handles preprocessing, feature engineering, model training, evaluation, visualization, and AI-generated insights automatically.


โœจ Key Features

  • ๐Ÿ“‚ Upload any CSV dataset
  • ๐Ÿงน Automatic data preprocessing
  • ๐Ÿ” Automatic problem type detection (Classification or Regression)
  • ๐Ÿ”  Missing value handling
  • ๐Ÿ”ข Categorical encoding
  • ๐Ÿ“ Feature scaling
  • ๐Ÿค– Automatic model training
  • ๐Ÿ“Š Model performance comparison
  • ๐Ÿ“ˆ Interactive visualizations
  • ๐Ÿง  AI-generated performance summaries
  • ๐Ÿ’ก AI-powered model improvement suggestions
  • ๐Ÿ“ฅ Download model results as CSV

๐Ÿ›  Technology Stack

Programming

  • Python

Machine Learning

  • Scikit-learn
  • Logistic Regression
  • Linear Regression
  • Random Forest
  • Gradient Boosting

AI

  • Google Gemini 2.5 Flash API

Web Framework

  • Streamlit

Data Processing

  • Pandas
  • NumPy

Visualization

  • Streamlit Charts

Environment

  • python-dotenv

โš™๏ธ Workflow

CSV Dataset
      โ”‚
      โ–ผ
Upload Dataset
      โ”‚
      โ–ผ
Automatic Data Preprocessing
      โ”‚
      โ–ผ
Missing Value Handling
      โ”‚
      โ–ผ
Categorical Encoding
      โ”‚
      โ–ผ
Feature Scaling
      โ”‚
      โ–ผ
Problem Detection
(Classification / Regression)
      โ”‚
      โ–ผ
Multiple Model Training
      โ”‚
      โ–ผ
Performance Evaluation
      โ”‚
      โ–ผ
Interactive Charts
      โ”‚
      โ–ผ
Google Gemini AI
      โ”‚
      โ–ผ
Performance Summary
      โ”‚
      โ–ผ
Improvement Suggestions

๐Ÿค– Machine Learning Models

Classification

  • Logistic Regression
  • Random Forest Classifier
  • Gradient Boosting Classifier

Regression

  • Linear Regression
  • Random Forest Regressor
  • Gradient Boosting Regressor

๐Ÿ“Š Evaluation Metrics

Classification

  • Accuracy
  • Precision
  • Recall
  • F1 Score

Regression

  • Rยฒ Score
  • RMSE (Root Mean Squared Error)

๐Ÿง  AI-Powered Insights

After model evaluation, the application uses Google Gemini 2.5 Flash to generate:

๐Ÿ“‘ Performance Summary

  • Identifies the best-performing model
  • Explains why it performs best
  • Summarizes model performance

๐Ÿ’ก Improvement Suggestions

  • Feature engineering recommendations
  • Better algorithm suggestions
  • Data preprocessing improvements
  • General model optimization tips

๐Ÿ“‚ Project Structure

AutoML-AI-Insights
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ analysis.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ .env
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ sample_dataset.csv

๐Ÿš€ Installation

Clone the repository

git clone https://github.com/yourusername/AutoML-AI-Insights.git

Move into the project directory

cd AutoML-AI-Insights

Install dependencies

pip install -r requirements.txt

Create a .env file

GOOGLE_API_KEY=YOUR_GEMINI_API_KEY

Run the application

streamlit run app.py

๐Ÿ“ฑ How to Use

  1. Upload a CSV dataset.

  2. Select the target column.

  3. The application automatically:

    • Cleans the data
    • Encodes categorical features
    • Detects the ML problem type
    • Trains multiple models
    • Compares performance
  4. Generate AI-powered summaries.

  5. View improvement recommendations.

  6. Download the model results.


๐ŸŒŸ Why This Project?

Unlike traditional AutoML applications, this project combines Machine Learning automation with Generative AI.

Instead of only displaying evaluation metrics, it also explains the results and provides actionable recommendations for improving model performance, making it valuable for students, data analysts, and machine learning practitioners.


๐Ÿ”ฎ Future Enhancements

  • XGBoost and LightGBM support
  • CatBoost integration
  • Hyperparameter tuning
  • SHAP explainability
  • Feature importance visualization
  • Cross-validation
  • Model deployment
  • PDF report generation
  • One-click model download
  • Multiple dataset support

๐Ÿ‘จโ€๐Ÿ’ป Author

Vikash Basfore

  • Data Science | Machine Learning | Generative AI
  • Python โ€ข Scikit-learn โ€ข Streamlit โ€ข Google Gemini

๐Ÿ™ Acknowledgements

Special thanks to the developers and communities behind:

  • Google Gemini
  • Streamlit
  • Scikit-learn
  • Pandas
  • NumPy
  • Python Open Source Community

Their incredible tools made this project possible.


โญ If you found this project helpful, don't forget to Star the repository!

About

AO powered Streamlit App to learn the data given and to predict the unseen data using ancient ML algorithms and Generate the suggestions and improvements tobe done in the models Using Gemini AI algorithm.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages