ConfusionMatrix class

The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.

For more information, see Confusion matrix in Wikipedia.

Constructors

ConfusionMatrix({int? numFalseNegatives, int? numFalsePositives, int? numTrueNegatives, int? numTruePositives})
ConfusionMatrix.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
numFalseNegatives int?
The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
final
numFalsePositives int?
The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
final
numTrueNegatives int?
The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
final
numTruePositives int?
The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited