Changeset 8139 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 06/27/12 17:34:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveProblem.cs
r8130 r8139 102 102 103 103 private void UpdateEstimationLimits() { 104 if (ProblemData.TrainingIndi zes.Any()) {105 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndi zes).ToList();104 if (ProblemData.TrainingIndices.Any()) { 105 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndices).ToList(); 106 106 var mean = targetValues.Average(); 107 107 var range = targetValues.Max() - targetValues.Min();
Note: See TracChangeset
for help on using the changeset viewer.