YouTube link to see the working: https://youtu.be/ntSBQy5JriQ
Working link: (Deployed on Heroku) https://cancer-flask-app.herokuapp.com/
- Anaconda Python (to get ML Libraries)
- Pip install flask (For Front-end)
Breast Cancer Wisconsin (Diagnostic) Original Data Set
Attribute Information:
- Sample code number: ID number
- Clump Thickness:1-10
- Uniformity of Cell size:1-10
- Uniformity of Cell shape:1-10
- Marginal Adhesion:1-10
- Single Epithelial Cell Size:1-10
- Bare Nuclei:1-10
- Bland Chromatin:1-10
- Normal Nucleoli:1-10
- Mitoses:1-10
- Class: (2 for Benign, 4 for Malignant)
Using SVM (Support Vector Machines) we build and train a model using human cell records, and classify cells to predict whether the samples are benign or malignant.
Python app.py http://127.0.0.1:5000/
- Breast_Cancer_Detection.ipynb — This contains code for the machine learning model to predict cancer based on the class.
- app.py — This contains Flask APIs that receives cells details through GUI or API calls, computes the predicted value based on our model and returns it
- templates & static — This folders contains the HTML template and CSS styling to allow user to enter cells details and displays the predicted output.
Use this pretrained model and connect it with our Flask application. Use this for prediction for model and to show the output