Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3886


Ignore:
Timestamp:
06/01/10 18:04:37 (14 years ago)
Author:
gkronber
Message:

Improved wiring in LR algorithm. #1012

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.3/LinearRegression.cs

    r3877 r3886  
    119119    }
    120120
     121    protected override void Problem_Reset(object sender, EventArgs e) {
     122      TrainingSamplesStartParameter.ActualValue = Problem.DataAnalysisProblemData.TrainingSamplesStart;
     123      TrainingSamplesEndParameter.ActualValue = Problem.DataAnalysisProblemData.TrainingSamplesEnd;     
     124      base.Problem_Reset(sender, e);
     125    }
     126
    121127    #region Events
    122128    protected override void OnProblemChanged() {
     
    126132      TrainingSamplesStartParameter.ActualValue = Problem.DataAnalysisProblemData.TrainingSamplesStart;
    127133      TrainingSamplesEndParameter.ActualValue = Problem.DataAnalysisProblemData.TrainingSamplesEnd;
     134      Problem.Reset += new EventHandler(Problem_Reset);
    128135      base.OnProblemChanged();
    129136    }
     
    161168        evaluator.RegressionProblemDataParameter.ActualName = Problem.DataAnalysisProblemDataParameter.Name;
    162169        analyzer.ProblemDataParameter.ActualName = Problem.DataAnalysisProblemDataParameter.Name;
     170        Problem.Reset += new EventHandler(Problem_Reset);
    163171      }
    164172    }
Note: See TracChangeset for help on using the changeset viewer.