HomeMachine Learning & Neural NetworksRare Disease Detection: SMOTE Class-Imbalance Correction

Rare Disease Detection: SMOTE Class-Imbalance Correction

Interactive 3D 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 shifts.

Machine Learning & Neural Networks3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
ai-topic-33 ↗ Open standalone

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 3D 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 plane shifts 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.

⚙ Under the hood

A 3D 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 as the decision-boundary plane shifts.

SMOTEclass imbalancelogistic regressionmedical diagnosisprecision-recallmachine learning

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)