FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

AndrewLamCS/StreamlitDataApp · GitHub

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

StreamlitDataApp

This is a simple Streamlit app that demonstrates the use of different machine learning classifiers (KNN, SVM, and Random Forest) on various datasets, including Iris, Breast Cancer, and Wine datasets from sklearn. The app also includes a PCA (Principal Component Analysis) visualization of the dataset to show the reduction of dimensions for the chosen dataset.

To run this app, you'll need the following Python packages installed: streamlit, scikit-learn, numpy, and matplotlib. You can install these dependencies using pip:

pip install streamlit scikit-learn numpy matplotlib

How to Run the App

Clone the repository to your local machine:

git clone https://github.com/AndrewLamCS/StreamlitDataApp.git
cd StreamlitDataApp

Create and activate a virtual environment (optional but recommended):

python3 -m venv .venv
source .venv/bin/activate  # On Windows, use .venv\Scripts\activate

Install the required dependencies:

pip install -r requirements.txt

Run the Streamlit app:

streamlit run main.py
This will open the app in your default web browser. You can interact with the app by selecting different datasets, classifiers, and adjusting the classifier parameters through the sidebar.

Project Structure

StreamlitDataApp/
│
├── main.py               # The main Streamlit app file
├── requirements.txt      # List of dependencies
├── README.md             # Project documentation
└── .venv/                # Virtual environment (optional)
This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL