RandomForestClassifier class

Constructors

RandomForestClassifier({int nEstimators = 10, int maxDepth = 5, double sampleRatio = 0.8})

Properties

hashCode int
The hash code for this object.
no setterinherited
maxDepth int
final
nEstimators int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRatio double
final

Methods

fit(List<List<double>> X, List<int> y) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(List<double> x) int
toString() String
A string representation of this object.
inherited

Operators

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