Why is my resubLoss so high?

4 ビュー (過去 30 日間)
Tania
Tania 2014 年 7 月 9 日
コメント済み: Tania 2014 年 7 月 10 日
Hi, I have used the function rtree =RegressionTree.fit(X,Y), afterwards I have used the function resubLoss(rtree). I got a really resubLoss (or MSE). I have read that sometimes it is better to use th RMSE in order to have the result in the same dimension as the data. Might this be the problem? How would I change resubLoss in order to calculate the root of it?
Thank you :)

採用された回答

Shashank Prasanna
Shashank Prasanna 2014 年 7 月 9 日
Maybe a single regression tree is not sufficient to model your data. You may want to try using an ensemble of bagged trees.
To answer your original question, you can simply take the square root of the output
sqrt(resubLoss(tree))
Alternatively, you can specify your own loss function:
  3 件のコメント
Shashank Prasanna
Shashank Prasanna 2014 年 7 月 9 日
Tania, you have several good questions. Have you tried contacting technical support? You will be able to get all of these addressed on the phone or by a quick email:
Tania
Tania 2014 年 7 月 10 日
Thanks, I have done it now (but did it before and it took really long to get an answer). If you have any idea for any of the above questions i would really appreciate it. Thank you!:))

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by