Is this MSE or Half MSE?

조회 수: 13 (최근 30일)
Joan M. Maura
Joan M. Maura 2023년 5월 8일
답변: Sarthak 2023년 5월 18일
Hello, I'm running a neural network and I'm trying to evaluate the performance. When i get the performance plot it is shown Mean Squared Error in the Y axis
but when I seach about it I get the Half Mean Squared Error, is this the same thing just divided by 2? What about M and N?
Is different the loss function from the MSE?
I need to identify what is the formula from the mse shown in the y axis. Should I put the standard MSE formula or this half mean squared error?
Thank you

채택된 답변

Sarthak
Sarthak 2023년 5월 18일
Hi Joan,
As per my understanding, we use half mean squared error only because we need to because when you take the derivative of the cost function, the multiplier is cancelled, and the derivation is cleaner. It makes the math easier to handle and adding a half or not shouldn't matter since minimizing is unaffected by constants.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by