Hydrangea Doctor

Evaluation

How accurate is it?

We tested the photo model on a hand-checked set of freely licensed photos from Wikimedia Commons. This page shows the numbers, the size of the test, and the limits.

Summary

QuestionPhotosUntrained modelTrained on our photos*Random guessing
Growth stage (4 classes)6664%85%
95% range 74–92%
35%
Health (5 classes)4549%89%
95% range 77–95%
29%

* Cross-validated: every photo was scored by a model that never saw it, and photos were never split across training and testing. "Random guessing" means always answering the most common class.

The live app uses the untrained model.

What the test set contains

QuestionClassPhotos
StageBlooming23
Budding16
Fading blooms16
Dormant11
HealthLeaf spot13
Powdery mildew11
Healthy9
Yellowing7
Wilting5

We started from 225 photos found by keyword search. Many were wrong: scanned single leaves, book pages, autumn maple trees. We looked at every photo and kept only those that show what the label says. Some were moved to the class they actually show. We chose photos before seeing any model score.

Where it goes wrong

Health confusion matrix, trained
Health, trained: rows are the true class, columns are the answer.
Stage confusion matrix, trained
Stage, trained.

Limits you should know

Next

Labelled photos from real gardens, checked by a gardener, are the next step. They will let us report a number that matches how the app is used.

The code, the curation list and the photo credits are in the open repository.