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.
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.
- ๐ 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
- Python
- Scikit-learn
- Logistic Regression
- Linear Regression
- Random Forest
- Gradient Boosting
- Google Gemini 2.5 Flash API
- Streamlit
- Pandas
- NumPy
- Streamlit Charts
- python-dotenv
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
- Logistic Regression
- Random Forest Classifier
- Gradient Boosting Classifier
- Linear Regression
- Random Forest Regressor
- Gradient Boosting Regressor
- Accuracy
- Precision
- Recall
- F1 Score
- Rยฒ Score
- RMSE (Root Mean Squared Error)
After model evaluation, the application uses Google Gemini 2.5 Flash to generate:
- Identifies the best-performing model
- Explains why it performs best
- Summarizes model performance
- Feature engineering recommendations
- Better algorithm suggestions
- Data preprocessing improvements
- General model optimization tips
AutoML-AI-Insights
โ
โโโ app.py
โโโ analysis.py
โโโ requirements.txt
โโโ .env
โโโ README.md
โโโ sample_dataset.csv
Clone the repository
git clone https://github.com/yourusername/AutoML-AI-Insights.gitMove into the project directory
cd AutoML-AI-InsightsInstall dependencies
pip install -r requirements.txtCreate a .env file
GOOGLE_API_KEY=YOUR_GEMINI_API_KEYRun the application
streamlit run app.py-
Upload a CSV dataset.
-
Select the target column.
-
The application automatically:
- Cleans the data
- Encodes categorical features
- Detects the ML problem type
- Trains multiple models
- Compares performance
-
Generate AI-powered summaries.
-
View improvement recommendations.
-
Download the model results.
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.
- 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
Vikash Basfore
- Data Science | Machine Learning | Generative AI
- Python โข Scikit-learn โข Streamlit โข Google Gemini
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.