Description Usage Arguments Value
Produces a single decision tree.
1 2 | create_tree(data, response, evaluation_criterion = sum_of_squares,
min_obs = 5, max_depth = 8)
|
data |
Input data.frame dimension n x p for training decision tree |
response |
Response vector of size nx1 corresponding to the training data |
evaluation_criterion |
Function that calculates error criterion for fitting, defaults to sum of squares |
min_obs |
Minimum observations allowed to end up in a single node, defaults to 5 |
max_depth |
Maximum number of successive splits allowed to happen in the tree, defaults to 8 |
Single decision tree in list format of class aml_tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.