Changeset 5942 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator.cs
- Timestamp:
- 04/04/11 15:38:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator.cs
r5906 r5942 56 56 IEnumerable<double> originalValues = problemData.Dataset.GetEnumeratedVariableValues(problemData.TargetVariable, rows); 57 57 IEnumerable<double> boundedEstimationValues = estimatedValues.LimitToRange(lowerEstimationLimit, upperEstimationLimit); 58 Online EvaluatorError errorState;59 double mse = OnlineMeanSquaredError Evaluator.Calculate(originalValues, boundedEstimationValues, out errorState);60 if (errorState != Online EvaluatorError.None) return double.NaN;58 OnlineCalculatorError errorState; 59 double mse = OnlineMeanSquaredErrorCalculator.Calculate(originalValues, boundedEstimationValues, out errorState); 60 if (errorState != OnlineCalculatorError.None) return double.NaN; 61 61 else return mse; 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.