How to obtain indicies of training data samples in regression tree leaves ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Regression Trees finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!