RandomForestClassifier class

An implementation of sklearn.ensemble.RandomForestClassifier

https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html

Inheritance

Constructors

RandomForestClassifier(List<int> classes, List dtrees)
To manually instantiate the RandomForestClassifier. The parameters are lifted directly from scikit-learn. See the attributes here: https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html
RandomForestClassifier.fromMap(Map<String, dynamic> params)
Override from Classifier.
factory

Properties

classes List<int>
getter/setter pair
dtrees List
getter/setter pair
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
inherited
initDtrees(List trees) → void
Initializes the decision trees within the forest. Each of those instantiates a DecisionTreeClassifier.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(List<double> X) int
Implementation of sklearn.ensemble.RandomForestClassifier.predict.
override
toString() String
A string representation of this object.
inherited

Operators

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