PRTools contents |
TESTR
E = TESTR(X,W,TYPE)
E = TESTR(X*W,TYPE)
E = X*W*TESTR([],TYPE)
Input | |
X | Regression dataset |
W | Regression mapping |
TYPE | Type of error measure, default: mean squared error |
Output | |
E | Mean squared error |
Compute the error of regression W on dataset X. The following error measures have been defined for TYPE
'mse' | mean squared error |
'mad' | mean absolute deviation |
PRTools contents |