How to use random forest in MATLAB?

317 次查看(过去 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.

类别

Help CenterFile Exchange 中查找有关 Classification Ensembles 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by