RandomForestClassifier class
An implementation of sklearn.ensemble.RandomForestClassifier
https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html
- Inheritance
-
- Object
- Classifier
- RandomForestClassifier
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
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