Why is my resubLoss so high?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tania
el 9 de Jul. de 2014
Comentada: Tania
el 10 de Jul. de 2014
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 :)
0 comentarios
Respuesta aceptada
Shashank Prasanna
el 9 de Jul. de 2014
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 comentarios
Shashank Prasanna
el 9 de Jul. de 2014
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:
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!