Category class

Category is a util class, contains a label and a float value. Typically it's used as result of classification tasks.

Constructors

Category(String _label, double _score)
Constructs a Category.

Properties

hashCode int
The hash code for this object.
no setteroverride
label String
Gets the reference of category's label.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
Gets the score of the category.
no setter

Methods

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

Operators

operator ==(Object o) bool
The equality operator.
override