Classifier class abstract
Abstract classifier class: all classifiers extend this class since they need to have individual implementation. The methods to be implemented are:
int predict(List
void fromMap(Map<String, dynamic> params) Loading the parameters from the JSON file or URL into the class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromURL(
String url) → dynamic - Override in all classes extending Classifier. Load a model from a URL using an HTTP request @TODO
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
predict(
List< double> X) → int - Override in all classes extending Classifier.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited