A machine learning project that classifies breast cancer histopathology images as Benign or Malignant using a LinearSVC model and a Flask web application.
- Image preprocessing (128 × 128 RGB)
- LinearSVC machine learning model
- Calibrated confidence scores (if implemented)
- Flask web interface for image predictions
- Saved model for reuse
Python, Pandas, NumPy, Scikit-learn, Pillow, Flask, Joblib, HTML, and CSS.
pip install -r requirements.txt
python app.pyOpen http://127.0.0.1:5000/ in your browser.
The cancer.csv file contains image paths and labels:
images— image file pathslabels— benign or malignant
This project is for educational purposes only. It is not a medical device and must not be used for clinical diagnosis.
Rabia Zafar
Python Developer | Machine Learning Learner