MLPClassifier class

Inheritance

Constructors

MLPClassifier(List<int> layers, List<List> coefs, List<List> intercepts, List<int> classes, String activation, String outActivation)
To manually instantiate the MLPClassifier. The parameters are lifted directly from scikit-learn. See the attributes here: https://scikit-learn.org/stable/modules/generated/sklearn.neural_network.MLPClassifier.html
MLPClassifier.fromMap(Map params)
factory

Properties

activation String
getter/setter pair
classes List<int>
getter/setter pair
coefs List<List>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intercepts List<List>
getter/setter pair
layers List<int>
getter/setter pair
outActivation String
getter/setter pair
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
inherited
identity(List<double> val) List<double>
No-op activation function
logistic(List<double> val) List<double>
Logistic activation function:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(List<double> X) int
Implementation of sklearn.neural_network.MLPClassifier.predict.
override
relu(List<double> val) List<double>
Rectified Linear unit activation function:
softmax(List<double> val) List<double>
Softmax activation function:
tanh(List<double> val) List<double>
Hyperbolic tangent activation function:
toString() String
A string representation of this object.
inherited

Operators

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