The relative squared error is relative to what it would have been if a simple predictor had been used. More specifically, this simple predictor is just the average of the actual values. Thus, the relative squared error takes the total squared error and normalizes it by dividing by the total squared error of the simple predictor.
Mathematically, the relative squared error Ei of an individual program
i is evaluated by the equation:
where P(ij) is the value predicted by
the individual program i for sample case j (out of n
sample cases); Tj is the target value for sample case
j; andis
given by the formula:
For a perfect fit, the numerator is equal to 0 and Ei
= 0. So, the Ei index ranges from 0 to infinity, with 0
corresponding to the ideal.
To evaluate the RSE of your model both on the training and testing
sets, you just have to go to the Results
Panel after a run.
|