Free cookie consent management tool by TermsFeed Policy Generator

Changeset 130


Ignore:
Timestamp:
04/18/08 15:05:53 (16 years ago)
Author:
gkronber
Message:

fixed the return value for early stops (estimated final MSE)
(ticket #29)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Evaluation/EarlyStoppingMeanSquaredErrorEvaluator.cs

    r129 r130  
    6666          if(qualityLimit < errorsSquaredSum / dataset.Rows ||
    6767            double.IsNaN(errorsSquaredSum) ||
    68             double.IsInfinity(errorsSquaredSum)) return errorsSquaredSum;
     68            double.IsInfinity(errorsSquaredSum))
     69            return errorsSquaredSum / sample; // return estimated MSE (when the remaining errors are on average the same)
    6970      }
    7071      errorsSquaredSum /= dataset.Rows;
Note: See TracChangeset for help on using the changeset viewer.