apaDecisionTree.Regression.Structure(Y, X, maxDepth, minSamplesSplit)
Excel
=apaDecisionTree.Regression.Structure(Y, X, maxDepth, minSamplesSplit)Result
Decision tree regression: returns a flat representation of the tree structure.
Syntax
Y: r x 1 vector of the dependent variable
X: r x c matrix of explanatory variables
maxDepth: maximum depth of the tree (determines the number of branches)
minSamplesSplit: minimum number of samples required to split a node
