Changeset 6387 for branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Timestamp:
- 06/08/11 10:42:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolution.cs
r6377 r6387 118 118 119 119 protected override void OnProblemDataChanged(EventArgs e) { 120 RecalculateResults(); 120 121 base.OnProblemDataChanged(e); 121 RecalculateResults();122 122 } 123 123 protected override void OnModelChanged(EventArgs e) { 124 RecalculateResults(); 124 125 base.OnModelChanged(e); 125 RecalculateResults();126 126 } 127 127 128 protected v irtual void RecalculateResults() {128 protected void RecalculateResults() { 129 129 double[] estimatedTrainingValues = EstimatedTrainingValues.ToArray(); // cache values 130 130 IEnumerable<double> originalTrainingValues = ProblemData.Dataset.GetEnumeratedVariableValues(ProblemData.TargetVariable, ProblemData.TrainingIndizes);
Note: See TracChangeset
for help on using the changeset viewer.