ClassifierSettings class abstract interface

The settings every classifier takes: Image Classifier, Object Detector, Text Classifier, Language Detector, Audio Classifier and Gesture Recognizer's heads. Each task's options document them for that task.

Properties

categoryAllowlist → List<String>
Category names to keep; exclusive with categoryDenylist.
no setter
categoryDenylist → List<String>
Category names to drop; exclusive with categoryAllowlist.
no setter
displayNamesLocale → String?
Locale of the display names in the model metadata.
no setter
hashCode → int
The hash code for this object.
no setterinherited
maxResults → int
Maximum results; negative returns all of them.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scoreThreshold → double
Results scoring below this are dropped.
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.
inherited

Operators

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