ML Model Explorer is an interactive web application built with Streamlit that allows users to experiment with different machine learning classifiers and understand their performance characteristics. The app provides a user-friendly interface for exploring popular datasets, testing various classification algorithms, and visualizing their results through multiple performance metrics.
Try it out live at ml-model-explorer.streamlit.app
- Choose from classic machine learning datasets:
- Iris Dataset
- Breast Cancer Dataset
- Wine Dataset
- Logistic Regression
- K-Nearest Neighbors (KNN)
- Support Vector Machines (SVM)
- Decision Trees
- Random Forest
- Gradient Boosting
- Naive Bayes
- Real-time hyperparameter adjustment via intuitive sliders
- Classifier-specific parameter controls:
- Logistic Regression: C parameter
- KNN: number of neighbors (K)
- SVM: C parameter
- Decision Tree: maximum depth
- Random Forest: number of estimators and maximum depth
- Gradient Boosting: number of estimators and maximum depth
- Comprehensive model evaluation metrics:
- Accuracy Score
- Precision Score
- Recall Score
- F1 Score
- Visual performance analysis:
- Interactive Confusion Matrix
- Detailed Classification Report
- ROC Curve (for binary classification)
Visit ml-model-explorer.streamlit.app to try the application instantly in your browser.
- Clone the repository:
git clone https://github.com/yourusername/ml-model-explorer.git
cd ml-model-explorer
- Install required dependencies:
pip install -r requirements.txt
- Launch the application:
streamlit run src/main.py
- numpy
- pandas
- matplotlib
- seaborn
- scikit-learn
- streamlit
- Select a dataset from the sidebar dropdown menu
- Choose a classifier type
- Adjust the hyperparameters using the interactive sliders
- Click the "Predict" button to see the results
- Explore the various performance metrics and visualizations
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Streamlit
- Uses scikit-learn's built-in datasets and classifiers
- Visualization powered by matplotlib and seaborn