Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/13/11 13:52:22 (12 years ago)
Author:
gkronber
Message:

#1081 implemented remaining metrics for time series prognosis solutions, added estimation limits fixed training and validation best solution analyzers, implemented overfitting analyzer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis/3.4/SingleObjective/SymbolicTimeSeriesPrognosisSingleObjectiveMeanSquaredErrorEvaluator.cs

    r7154 r7183  
    9393        meanCalculator.Add(calc.MeanSquaredError);
    9494      }
    95       //int i = 0;
    96       //foreach (var targetVariable in problemData.TargetVariables) {
    97       //  var predictedContinuations = allPredictedContinuations.Select(v => v.ElementAt(i));
    98       //  for (int h = 0; h < horizon; h++) {
    99       //    OnlineCalculatorError errorState;
    100       //    meanCalculator.Add(OnlineMeanSquaredErrorCalculator.Calculate(predictedContinuations
    101       //                                                                    .Select(x => x.ElementAt(h))
    102       //                                                                    .LimitToRange(lowerEstimationLimit,
    103       //                                                                                  upperEstimationLimit),
    104       //                                                                  actualContinuations.Select(x => x.ElementAt(h)),
    105       //                                                                  out errorState));
    106       //    if (errorState != OnlineCalculatorError.None) return double.NaN;
    107       //  }
    108       //}
     95
    10996      return meanCalculator.MeanErrorState == OnlineCalculatorError.None ? meanCalculator.Mean : double.MaxValue;
    11097    }
Note: See TracChangeset for help on using the changeset viewer.