How can I get MSE and normalized MSE both as performance function when fitting Feed forward neural network?

42 views (last 30 days)
Im fitting a feedforward neural network with 8 input parameters and 1 output parameter.i want to use MSE and normalized MSE both to measure the performance.

Accepted Answer

Greg Heath
Greg Heath on 26 Oct 2018
Divide MSE by the mean variance of the target rows (MSE of the constant output model)
MSEref = mean(var(target',1))
NMSE = mse(target-output)/MSEref
Rsquare = 1 - NMSE
Hope this helps.
Thank you for formally accepting my answer

More Answers (0)


Find more on Deep Learning with Time Series and Sequence Data in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!