/prostate_cancer_classifier

Prostate Cancer classification using KNN and Scikit-Learn.

Primary LanguageJupyter Notebook

prostate_cancer_classifier

Prostate Cancer classification using KNN and Scikit-Learn.

Use it here.

The model uses the K-Nearest-Neighbours algorithm to classify the features array into Benign or Malignant tumours.
The optimum value for neighbours was found to be 3, which gave a testing accuracy of 93%.

Test app on your local system

Clone the repository

git clone https://github.com/DeagleOfficial/prostate_cancer_classifier.git

Create a new virtual environment and activate it

virtualenv env
.\env\Scripts\activate

Install the required libraries

pip install -r requirements.txt

Run development server

flask run

Run production server

gunicorn app:app

Note

This project uses Gunicorn for its production server which supports Unix systems and does not run on Windows. However, you can run the development server on Windows using flask run.