TreeBagger: Random forest or bagged decision trees?

15 ビュー (過去 30 日間)
CF
CF 2016 年 9 月 28 日
コメント済み: CF 2016 年 9 月 28 日
I'm currently building a model using Matlab's TreeBagger function (R2016a). However, I can not find out whether this function implements Breiman's Random forest algorithm or it is just bagging decision trees. Is there someone who can explain to me what TreeBagger does? If someone can explain, I'm also interested in the exact difference between random forests and bagged decision trees!
Thank you for your time!

採用された回答

michio
michio 2016 年 9 月 28 日
編集済み: michio 2016 年 9 月 28 日
It's Breiman's Random forest algorithm by default.
According to Wikpedia, Breiman's random forest algorithm is "Breiman's 'bagging' idea and random selection of features." That's why there's a comment in a doc page about this being Breiman's algorithm except when 'all' is chosen. If 'all' is chosen, the algorithm is just bagged decision trees (bag = bootstrap aggregation).
  1 件のコメント
CF
CF 2016 年 9 月 28 日
Thank you for your answer!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by