Changeset 7183 for branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis/3.4/SingleObjective/SymbolicTimeSeriesPrognosisSingleObjectiveMeanSquaredErrorEvaluator.cs
- Timestamp:
- 12/13/11 13:52:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis/3.4/SingleObjective/SymbolicTimeSeriesPrognosisSingleObjectiveMeanSquaredErrorEvaluator.cs
r7154 r7183 93 93 meanCalculator.Add(calc.MeanSquaredError); 94 94 } 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 109 96 return meanCalculator.MeanErrorState == OnlineCalculatorError.None ? meanCalculator.Mean : double.MaxValue; 110 97 }
Note: See TracChangeset
for help on using the changeset viewer.