DecisionTreeClassifier class

Constructors

DecisionTreeClassifier({int maxDepth = 5, int minSamplesSplit = 2})

Properties

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

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