Reading nuclei
as evidence.
Breast cancer is the most commonly diagnosed cancer worldwide; early cytological screening through fine-needle aspirate (FNA) imaging has been an important first line of triage since the early 1990s. The Wisconsin Diagnostic Breast Cancer (WDBC) dataset, collected at UW-Madison, encodes 30 morphometric features computed from digitised FNA images into a structured tabular form.
Our project re-examines this dataset through the lens of support vector machines. We compare four kernels — linear, polynomial, RBF and sigmoid — under a unified feature-selection and validation pipeline, then expose the model behaviour interactively so that clinicians and students alike can build intuition.
The model is not a diagnostic tool. It is a structured perspective on a classic dataset and a vehicle for explainable-AI experimentation.
Motivation in numbers
The signal hiding in the histograms.
Each cell below overlays the benign and malignant distributions for one of the ten mean-summary features. Hover a card to inspect it; the focused view on the right exposes the full distribution and the per-class means.
Concave points (mean)
Number of concave portions of the contour.
Recursive feature elimination.
We ran 10-fold RFE with a linear SVM as the base estimator and tracked the drop in cross-validated F1 as features were eliminated. Six features survive the 0.05 significance cut.
Choose a lens.
Same data, different posture.
Global SHAP attributions
mean(|SHAP|) · RBF kernelNegative bars pull the prediction toward benign, positive bars toward malignant. Concave-points, perimeter, and radius dominate the global ranking — consistent with the original Wolberg/Mangasarian findings.
Misclassification risk zones
decision vs. confidenceLIME — local explanations
- [01]Multisurface method of pattern separation for medical diagnosis applied to breast cytologyW. Wolberg, O. Mangasarian · Proceedings of the National Academy of Sciences · 1990
- [02]Wisconsin Diagnostic Breast Cancer (WDBC) DatasetW. Street, W. Wolberg, O. Mangasarian · UCI Machine Learning Repository · 1995
- [03]Support-vector networksC. Cortes, V. Vapnik · Machine Learning, 20(3) · 1995
- [04]Gene selection for cancer classification using support vector machinesI. Guyon, J. Weston, S. Barnhill, V. Vapnik · Machine Learning, 46 · 2002
- [05]A unified approach to interpreting model predictionsS. Lundberg, S.-I. Lee · Advances in Neural Information Processing Systems · 2017
- [06]“Why should I trust you?”: Explaining the predictions of any classifierM. Ribeiro, S. Singh, C. Guestrin · KDD · 2016
- [07]TumorSense — DS3 Spring Project (internal report)N. Trueba, K. Shah, S. Ngo, E. Park · Data Science Student Society @ UC San Diego · 2026