What is the difference between Loss and RMSE when do regression task using the Deep Learning Tool Box?

65 views (last 30 days)
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 Comment
Shreya Bhatia
Shreya Bhatia on 22 Jan 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?

Sign in to comment.

Accepted Answer

Deepak Kumar
Deepak Kumar on 17 Oct 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 Comments
Ernst Kloppenburg
Ernst Kloppenburg on 15 Mar 2022
Edited: Ernst Kloppenburg on 15 Mar 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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!