Fit decision tree
method in class DecisionTreeClassifier used to build a Decision Tree
## S4 method for signature 'DecisionTreeClassifier' fit_decision_tree( object, X, y, min_samples_split = 20, min_samples_leaf = ceiling(min_samples_split/3), w = 0.5 )
object |
A DecisionTreeClassifier object |
X |
A object that can be coerced as data.frame. Training instances |
y |
A vector with the labels of the training instances. In this vector
the unlabeled instances are specified with the value |
min_samples_split |
the minimum number of observations to do split |
min_samples_leaf |
the minimum number of any terminal leaf node |
w |
weight parameter ranging from 0 to 1 |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.