Classification Models Lab
Introduction to Machine Learning in Pharmaceutical Sciences (BP301T) · Semester 3 · Unit 3: Classification Models in Clinical Applications
Calculate confusion-matrix metrics and see how changing the threshold moves the ROC curve and AUC.
What this unit covers
Logistic regression, probability outputs, threshold choice, a confusion matrix, accuracy, sensitivity, specificity, precision, recall, ROC/AUC, and k-nearest-neighbor concepts help learners reason about categorical teaching outputs. No browser result is a clinical classifier.
Apply it
Change a sample screening threshold and explain the sensitivity–specificity trade-off, confusion-matrix entries, and no-clinical-use boundary.
How this lab works
Uses a sample classification table to show sensitivity, specificity, precision and threshold trade-offs.
Data used
Sample data made for teaching. No patient, company or clinical records are used.
Limits
For learning only. Results are not clinical, regulatory or quality decisions.