The Dynamic Machine Learning Model Selector is an interactive web application designed to facilitate the selection and evaluation of various machine learning models. This tool allows users to easily upload datasets, select features and target variables, and dynamically apply regression and classification models. It aims to streamline the model selection process by providing essential performance metrics and visualizations.
- Dataset Upload: Users can upload their own CSV datasets for analysis.
- Model Selection: Choose from multiple machine learning models, including:
- Linear Regression
- Logistic Regression
- Decision Tree Classifier/Regressor
- Random Forest Classifier/Regressor (with hyperparameter tuning)
- Visualization: Visualize model performance through confusion matrices, bar graphs of Mean Squared Error, and other metrics.
- User-Friendly Interface: Built with Streamlit for an intuitive user experience.
- Python 3.x installed on your system. Download it from python.org.
Follow the steps below to set up the project:
-
Open a terminal and navigate to your project folder:
cd myproject
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- Windows PowerShell:
.\venv\Scripts\Activate.ps1
- macOS/Linux:
source venv/bin/activate
- Windows PowerShell:
-
Install the required libraries:
pip install streamlit pandas scikit-learn matplotlib seaborn plotly
-
Launch the application:
streamlit run app.py
The following Python libraries are required for this application:
streamlit
pandas
scikit-learn
matplotlib
seaborn
plotly
These can be installed using:
pip install -r requirements.txt