DecisionTreeClassifier constructor

DecisionTreeClassifier(
  1. List<int> childrenLeft,
  2. List<int> childrenRight,
  3. List<double> threshold,
  4. List<int> features,
  5. List<List> values,
  6. List<int> classes,
)

To manually instantiate the DecisionTreeClassifier. The parameters are lifted directly from scikit-learn. See the attributes here: https://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html

Implementation

DecisionTreeClassifier(this.childrenLeft, this.childrenRight, this.threshold,
    this.features, this.values, this.classes);