How to use random forest in MATLAB?

376 次查看(过去 30 天)
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?

回答(1 个)

Drew
Drew 2022-11-9
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.

Community Treasure Hunt

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

Start Hunting!

Translated by