Regression trees multiple responses
Show older comments
Xtrain = [a,b,c]; %dimension [n,3]
Ytrain = [y1,y2]; %dimension [n,2]
I want to determine the random forest parameter using fivefold cross validation with varying max. forest depths of 5,6,7,8,9,10; varying minimum sample per leaf of 5, 10, 15, 20; and the number of forests is 5. How do I set up the trees and predictions?
Answers (0)
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!