Regression tree -details of the terminal nodes

1 次查看(过去 30 天)
I am making a Tree regression using "classtreereg". My tree has 20 terminal nodes and I named my tree as "t2". How do I get the list of observations or points in each terminal node and save it to individual matrix, may be. I tried
details(t2(node(1)) and t2.node(1)
didn't really work. Any ideas? I am trying to build another regression model for those observation in each terminal node. Any thoughts on how it can be done.
Thanks

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by