Originally published on Medium .
Most machine learning tutorials end at accuracy. Train the model, check the test score, ship it.
In medical AI, that is not enough.
I spent four months building a diabetic retinopathy detection system for my MSc project at the University of Moratuwa. The goal was not just to classify retinal images accurately. The goal was to build a system that knows when it should not be trusted — and says so.
This article covers what I built, why I built it this way, the problems I ran into, and what the results actually mean.
The Problem With Standard Medical AI
Diabetic retinopathy is a complication of diabetes that damages the retina. Caught early, it is treatable. Missed, it leads to permanent vision loss.…