🧪 Medical AI Diagnosis Simulation
Interactive simulator for how an AI diagnostic classifier's decision threshold trades sensitivity against specificity: watch a 3D patient-score cloud, drag the cutoff, and see the confusion matrix, ROC curve, AUC and predictive values update live.
An AI diagnostic model rarely outputs a plain "sick" or "healthy" — it outputs a continuous risk score, and a human decision turns that score into an action by picking a cutoff. This simulator generates a cohort of 300 simulated patients whose scores come from two overlapping distributions (diseased vs healthy), renders them as a 3D point cloud along the score axis, and lets you drag the decision threshold through the cloud while a live confusion matrix, sensitivity/specificity, positive/negative predictive values, an ROC curve and AUC all update in real time. Separate sliders control how discriminative the underlying model is, how noisy its scores are, and how common the disease is in the tested population — the same three variables that separate a good screening test from a dangerous one in real clinical AI deployment.
This simulation demonstrates the use of artificial intelligence in diagnosing medical conditions. It likely explores how algorithms can analyze patient data to identify potential illnesses and assist healthcare professionals.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install