How to use random forest in MATLAB?
Show older comments
I'm new to matlab.
Does "Bagged Trees" classifier in classification learner toolbax use a ranfom forest algorithm?
If not how can i use random forest in matlab?
Answers (1)
Drew
on 9 Nov 2022
0 votes
The short answer to your question is yes. That is, the "Bagged Trees" classifier in the classification learner app uses a random forest algorithm. On the doc page https://www.mathworks.com/help/stats/choose-a-classifier.html, see the table on ensemble classifiers (direct link https://www.mathworks.com/help/stats/choose-a-classifier.html#bunt0rb-1). One of the rows of that table shows that the "Bagged Trees" classifier type uses a "Random Forest" ensemble method.
Categories
Find more on Classification 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!