What is the difference between Loss and RMSE when do regression task using the Deep Learning Tool Box?
68 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Zongwei Yao
el 14 de Oct. de 2019
Comentada: Ilya Kuprov
el 8 de Ag. de 2022
I'm doing a regression task using Deep Learning Tool Box, and the Training Progress showing two classes of curves namely RMSE and Loss.
What is the difference between? I cann't find detailed description In the Help document.
1 comentario
Shreya Bhatia
el 22 de En. de 2020
Hi Zongwei, May I know the nature of your project? I am doing a similar regression project that I am doing to predict the gait cycle % of when a person is climbing stairs. I am using RNN for it. My regression values are linearly continuous between 0 and 100%. Do let me know your approach?
Respuesta aceptada
Deepak Kumar
el 17 de Oct. de 2019
Root Mean Square Error (RMSE) is the standard deviation of the residuals (prediction errors). Residuals are a measure of how far from the regression line data points are; RMSE is a measure of how spread out these residuals are. In other words, it tells you how concentrated the data is around the line of best fit.
A loss function is a measure of how good a prediction model does in terms of being able to predict the expected outcome.
To know more about RMSE and Loss refer to following links:
7 comentarios
Ernst Kloppenburg
el 15 de Mzo. de 2022
Editada: Ernst Kloppenburg
el 15 de Mzo. de 2022
@Deepak Kumar I tried to find an answer for the question "what is RMSE vs. Loss in Matlab DL toolbox" myself and ended up here. For me it is about the output of "trainNetwork" for a regression problem:
|========================================================================================|
| Epoch | Iteration | Time Elapsed | Mini-batch | Mini-batch | Base Learning |
| | | (hh:mm:ss) | RMSE | Loss | Rate |
|========================================================================================|
| 1 | 1 | 00:00:00 | 0.95 | 0.5 | 0.0100 |
Unfortunately none of your answers actually answers the original question. Could you give pointers to relevant sections in the toolbox documentation? Or could you give an answers in terms of formulae?
Specifically, I am puzzled because the documentation says that the training loss for a regression problem is RMSE. Then why do the two "Mini-batch..." columns in the output show different values?
Ilya Kuprov
el 8 de Ag. de 2022
Same problem here. What exactly (as in, please provide the equation) is "loss"?
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!