topProbability property

double get topProbability

Gets the probability of the predicted species.

Returns the probability score for the top predicted species. This should typically match the confidence score.

Implementation

double get topProbability => probabilities[scientificName] ?? 0.0;