How to obtain indicies of training data samples in regression tree leaves ?

1 次查看(过去 30 天)
In Matlab, upon running the function fitrtree, a regression tree is returned. When the tree is constructed it partitions the sample space in small hyper-rectangles using binary decision rules. When the tree stops growing, each leaf in the tree will be satisfied by at-least the MinLeaf number of samples from the training data. I want to obtain which samples of my training data belong to which leaf (or node) of the tree.
  1 个评论
Greg
Greg 2015-3-4
编辑:Greg 2015-3-4
I also have the same question, did you happen to find the answer? I would like to be able to fit an appropriate distribution to the errors at each node, or at least sample from the errors at each node.
Thank you,
Greg

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Regression Trees 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by