KNN-Streamlit Open in Streamlit

A KNN classification algorithm built from scratch. Used Streamlit to create a web app to visualize the input data and the predictions.

Medium Article

https://towardsdatascience.com/how-to-build-a-knn-classification-model-from-scratch-and-visualize-it-using-streamlit-9fe8059cc418

Live

https://share.streamlit.io/rahulbanerjee26/knn-streamlit/main/app.py

Steps to run the project Locally

  1. Create a virtual environment in Python python -m virtualenv venv
  2. Activate the virtual environment venv/Scripts/activate
  3. Install the required libraries in requirements.txt pip install -r requirements.txt
  4. cd to the app folder cd app
  5. Run the streamlit app streamlit run app.py