Skip to content
Learning

Diabetic retinopathy image-feature classification

Classify signs of retinopathy in image features

Use 19 extracted Messidor image descriptors to classify the presence of recorded diabetic-retinopathy signs. The Debrecen benchmark contains 1,151 rows and the saved project tests 230 of them.

1,151Source records
19Encoded input values
230Testing-role records
1Model outputs

1. Clinical question and intended use

The research question is whether image-level lesion and anatomical descriptors distinguish the provided signs-of-retinopathy label. This is an image-feature classification experiment, not a forecast of a future retinopathy event.

Image descriptors

Use the feature extraction defined by the dataset.

Operating point

Inspect confusion counts at threshold 0.5.

Evidence boundary

Separate internal classification from clinical utility.

Biomedical imagingOphthalmic researchModel validation
Educational biomedical benchmark. It does not provide screening advice, diagnosis or treatment recommendations.

2. Cohort, measurements and endpoint

The UCI Diabetic Retinopathy Debrecen data include image quality and prescreening flags, microaneurysm and exudate descriptors, normalized anatomical measurements and an AM/FM classification result. Class 1 represents signs of retinopathy; class 0 represents their absence in the source annotation.

Source: Diabetic Retinopathy Debrecen. Dataset license: CC-BY-4.0. The downloadable ZIP includes the adapted data and attribution notices.

Dataset measureSaved value
Analysis unitimage-feature record
Records1,151
Raw variables20
Encoded model inputs19
Model outputs1
Training roles691
Validation / selection roles230
Testing roles230
Unused roles0
FieldRoleTypeCategories
qualityInputBinary0, 1
pre_screeningInputBinary0, 1
ma1InputNumeric
ma2InputNumeric
ma3InputNumeric
ma4InputNumeric
ma5InputNumeric
ma6InputNumeric
exudate1InputNumeric
exudate2InputNumeric
exudate3InputNumeric
exudate4InputNumeric
exudate5InputNumeric
exudate6InputNumeric
exudate7InputNumeric
exudate8InputNumeric
macula_optic_disc_distanceInputNumeric
optic_disc_diameterInputNumeric
am_fm_classificationInputBinary0, 1
classTargetBinary0, 1
Target class distribution pie chart
Target class distribution pie chart. Native Neural Designer report for this project.
The saved project assigns rows to training, validation and testing as shown above. This is internal record-level evaluation; it does not demonstrate separation by subject, device, site or acquisition batch.

3. Model

The model has 19 encoded inputs and 1 outputs. No architecture-selection experiment is recorded in this project. The diagram shows the topology used by the saved model.

LayerInput shapeOutput shapeActivation
Scaling1919
Dense193Tanh
Dense31Sigmoid

Output values are uncalibrated model scores. For binary evaluation, the saved positive class is 1.

Diabetic retinopathy image-feature classification — initial network architecture
Topology of the saved current model; no architecture selection is recorded.

4. Training strategy

The saved training configuration uses QuasiNewton with WeightedSquaredError.

Quasi-Newton method results

MeasureValue
Epochs number190
Elapsed time00:00:00
Stopping criterionMaximum validation error increases
Training error0.605
Validation error0.691
Quasi-Newton method error history
Quasi-Newton method error history. Native Neural Designer report for this project.

5. Model selection and baseline

No model selection experiment is recorded for this version. The validation subset guides fitting where a training report is present; it is distinct from the held-out test rows.

On this test subset a majority-class baseline would correctly classify 51.74% of the records. This baseline does not detect both classes and is not an optimized model.

6. Clinical validation

The figures and tables below refer to the current project’s saved testing analysis. The subset uses testing role 2; it contains 230 source records.

ROC AUC describes ranking on this testing subset. Any optimal threshold shown in the saved ROC report was selected descriptively on that same subset; it is not an independently validated operating policy.

These operating-point metrics are calculated from the saved confusion counts at threshold 0.5. The positive-label coding is stated in the model section.

Confusion table

MeasurePredicted positivePredicted negativeTotal
Actual positive84 (36.5%)35 (15.2%)119 (51.7%)
Actual negative14 (6.1%)97 (42.2%)111 (48.3%)
Total98 (42.6%)132 (57.4%)230 (100.0%)
Test measureValue
Testing records230
Positive cases119
Positive prevalence51.74%
Accuracy78.70%
Sensitivity / recall70.59%
Specificity87.39%
Precision / PPV85.71%
F1 score0.774

Area under curve

MeasureValue
Area under curve0.854
ROC chart
ROC chart. Native Neural Designer report for this project.
Educational biomedical benchmark. It does not provide screening advice, diagnosis or treatment recommendations.

7. Workflow and reproducibility

Open the downloaded project in Neural Designer, inspect the dataset roles and preprocessing, then review the saved task report. Use the same input schema and category order when calculating outputs. The ZIP contains the exact current .nd, its source data and the applicable dataset notices.

Research workflow: eligible record or image → measurement and schema checks → model score → expert review → confirmatory clinical method where appropriate. No model output should be used as an autonomous diagnosis or treatment instruction.

8. Safety, generalizability and governance

The supplied CSV does not provide a patient identifier for auditing patient-separated splits. Results therefore describe the saved internal record split, not independent patient-level generalization. No external validation or calibration has been established; ophthalmology specialist review is required.

Educational biomedical benchmark. It does not provide screening advice, diagnosis or treatment recommendations.

References