Rare Disease Detection: SMOTE Class-Imbalance Correction (2D)
Interactive 2D clinical-biomarker scatter: a rare-disease cohort is heavily outnumbered by healthy patients. Generate SMOTE synthetic minority samples, retrain a logistic-regression classifier, and watch recall, precision and F1 respond as the decision boundary line shifts — pan and zoom the scatter, and read live metrics off a bar panel.
Diagnostic machine-learning models for rare conditions face a structural problem before any algorithm is chosen: the disease is, by definition, rare in the training data. A classifier that sees 160 healthy patients for every 14 real cases can reach 92% accuracy by never predicting the disease at all — and still be clinically useless. This simulator renders a 2D clinical-biomarker cohort exactly like that, then lets you apply the Synthetic Minority Oversampling Technique (SMOTE) to generate interpolated synthetic minority patients, retrain a real logistic-regression classifier via gradient descent, and watch recall, precision and F1 respond as the decision-boundary line sweeps through the point cloud — with a threshold slider that shows the always-present trade-off between catching more real cases and raising more false alarms. Pan and zoom the scatter plane freely; a second live panel tracks the three metrics as bars so you can see the recall/precision trade-off at a glance.
A 2D clinical-biomarker cohort with only 14 real rare-disease patients against 160 healthy ones. Generate SMOTE synthetic minority samples, retrain a live logistic-regression classifier, and watch recall, precision and F1 respond on a live bar panel as the decision-boundary line sweeps through the point cloud — pan and zoom the scatter freely.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install