An advanced Machine Learning web application built using Streamlit that compares multiple regression models and identifies the best-performing model based on RΒ² score.
This project allows users to:
- Upload any dataset (CSV format)
- Select the target variable dynamically
- Train multiple regression models
- Compare their performance
- Automatically identify the best model
- Linear Regression
- Polynomial Regression (Degree = 4)
- Random Forest Regression
- Decision Tree Regression
- Support Vector Regression (SVR with scaling)
- π Upload your own dataset
- βοΈ Dynamic target column selection
- π Adjustable train-test split
- π€ Multiple model training
- π Performance comparison using RΒ² score
- π Best model detection
- π Interactive bar chart visualization
- π¨ Modern UI with custom styling
- Python
- Streamlit
- Pandas
- NumPy
- Scikit-learn
- Matplotlib
Regression-Model-Selection/ β βββ app.py βββ dataset.csv βββ requirements.txt βββ README.md
- Clone the repository:
git clone https://github.com/selvan-01/regression-model-selection.git cd regression-model-selection
- Install dependencies:
pip install -r requirements.txt
- Run the application:
streamlit run app.py
- Upload your dataset (CSV)
- Select the target column
- Click "Train & Compare Models"
- View model performance
- Identify the best regression model automatically
RΒ² Score (Coefficient of Determination) is used to evaluate model performance.
- Add more ML models (XGBoost, Gradient Boosting)
- Hyperparameter tuning
- Download predictions feature
- Model saving/loading
- Deployment on cloud platforms
S. Senthamil Selvan AI | Data Science
Portfolio: https://senthamill.vercel.app/
LinkedIn: Senthamil45-linkdin profile
If you like this project, give it a β on GitHub and share it!