Git Product home page Git Product logo

classifier_web_app's Introduction

ML Algorithm Explorer

Streamlit App

This Streamlit web app allows you to explore the performance of different machine learning algorithms on various datasets.

Run on Streamlit

You can view this app on Streamlit at: ML Explorer on Streamlit

1. Features:

  • Dataset Selection: Choose from a variety of built-in datasets (Iris, Breast Cancer, Wine).
  • Classifier Selection: Experiment with different classification algorithms (KNN, SVM, Random Forest).
  • Interactive Parameter Tuning: Customize model hyperparameters using interactive sliders.
  • Accuracy Evaluation: View the model's accuracy on a held-out test set.
  • Data Visualization: Explore the dataset's distribution through a PCA-based scatter plot.

2. Requirements:

  • Python 3.x
  • Streamlit (pip install streamlit)
  • NumPy (pip install numpy)
  • Matplotlib (pip install matplotlib)
  • scikit-learn (pip install scikit-learn)

3. Datasets

We are using three different datasets, including:

  • Breast Cancer
  • Iris
  • wine

4. Models

We are using following three classification models:

  • KNN
  • SVM
  • Random Forest

5. Running the App:

  1. Open a terminal in the project directory.
  2. Run the app: streamlit run app.py
  3. Access the app in your web browser (usually at http://localhost:8501).

6. Usage:

  1. Select a dataset from the sidebar.
  2. Choose a classifier from the sidebar.
  3. Adjust model hyperparameters using the sliders (if available for the selected classifier).
  4. Click the "Run" button (or similar) to train the model and evaluate its performance.
  5. View the classification accuracy and a PCA-based scatter plot of the dataset.

7. Exploration Tips:

  • Try different datasets and classifiers to observe how model performance varies.
  • Experiment with different hyperparameter settings to potentially improve accuracy.
  • Consider the characteristics of each dataset and classifier to make informed choices.
  • Use the scatter plot to visualize the dataset's distribution and potential class separation.

8. Working

By running the app, we can vary different factors in each model and incerase the accuracy of input dataset.

Screen Capture

KNN

KNN Classifier

Graph

KNN Graph

SVM

SVM Classifier

Graph

SVM Graph

Random Forrest

IRIS dataset

Random Forrest on IRIS

Graph

Random Forrest Graph

Wines dataset

Random Forrest on Wines

Graph

Random Forrest graph

classifier_web_app's People

Contributors

kashifm777 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.