MATLAB: Help using MSE or MAE

Deep Learning Toolboxmseneural networkperformance

Hi, I am using NNtoolbox of MatlabR2008a.
In my code,i am using the commands:
[net, tr] = train (net, p, t);
plotperform (tr)
And then, view the graph from the mistakes of training, validation and testing of the network. At the top of the chart is displayed at a time when the value was the best network performance.
I need help to know the best performance of the Network Test. I could confirm correct using the following commands:
y = sim (net, p)
e =t-y
perf = mse (e)
perf = mae (e)
I understand that the MAE would be the absolute error of the network implementation and MSE would be the ratio of the square error. I will display in my work a chart with many configurations used and the erro founded.(MAE)
In the code, the performance function used is MSE.
Thank you and waiting for help.

Best Answer

mae is the mean of the absolute values of the errors.
If you use mae for learning, then tabulate mae.
mse is the mean of the squares of the errors.
If you use mse for learning, the tabulate one or more of
1. Root-mean-square-error rmse =sqrt(mse)
2. Normalized mean-square-error nmse = mse/mse00
3. Coefficient of determination R^2 = 1 - nmse
where mse00 is the mse of the naive constant model that
always outputs the mean of the target, regardless of the input.
When the NNet model is better than the naive constant model,
0 < 100*R^2 <= 1 is often viewed as the % of target variance
that is "explained" by the net and R is considered the nonlinear
correlation coefficient between input and output.
Note that mae and rmse have the dimensions of the target and
are dependent on how the output is scaled; whereas nmse
and R are normalized and scale independent.
I favor using R^2. Search wikipedia for "coefficient of determination".
Also search comp.ai.neural-nets and comp.soft-sys.matlabin in Google Groups for
greg heath MSE00 R2
Hope this helps.
Greg