Changeset 8416 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegressionSolutionCreator.cs
- Timestamp:
- 08/06/12 15:02:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegressionSolutionCreator.cs
r8401 r8416 83 83 var results = ResultsParameter.ActualValue; 84 84 if (!results.ContainsKey(SolutionParameterName)) { 85 results.Add(new Result( ResultsParameterName, "The Gaussian process regression solution", s));85 results.Add(new Result(SolutionParameterName, "The Gaussian process regression solution", s)); 86 86 results.Add(new Result(TrainingRSquaredResultName, "The Pearson's R² of the Gaussian process solution on the training partition.", new DoubleValue(s.TrainingRSquared))); 87 87 results.Add(new Result(TestRSquaredResultName, "The Pearson's R² of the Gaussian process solution on the test partition.", new DoubleValue(s.TestRSquared))); 88 88 } else { 89 results[ ResultsParameterName].Value = s;89 results[SolutionParameterName].Value = s; 90 90 results[TrainingRSquaredResultName].Value = new DoubleValue(s.TrainingRSquared); 91 91 results[TestRSquaredResultName].Value = new DoubleValue(s.TestRSquared);
Note: See TracChangeset
for help on using the changeset viewer.