The function takes a ctree type model, with only one numerical variable, as argument input and gives a dataframe with the minimum and maximum value of each node. The intervals are open ended at lower limit and closed at upper limit.
ctree class model with one variable
numerical variable name which on which decision tree was run, to be passed as string
The function returns a dataframe giving the lower and upper bound of split values of each node.
Arya Poddar <firstname.lastname@example.org>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.