Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/20/13 16:17:52 (11 years ago)
Author:
gkronber
Message:

#2109 implemented a wrapper for evaluators that transforms genotypes to phenotypes for symbolic regression (deleted obsolete evaluators)

Location:
branches/GrammaticalEvolution/HeuristicLab.Problems.GrammaticalEvolution
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GrammaticalEvolution/HeuristicLab.Problems.GrammaticalEvolution

    • Property svn:ignore
      •  

        old new  
        22*.Settings
        33Plugin.cs
         4*.user
         5bin
  • branches/GrammaticalEvolution/HeuristicLab.Problems.GrammaticalEvolution/Symbolic/GESymbolicRegressionSingleObjectiveProblem.cs

    r10226 r10263  
    6161
    6262    public GESymbolicRegressionSingleObjectiveProblem()
    63       : base(new RegressionProblemData(), new GESymbolicRegressionSingleObjectivePearsonRSquaredEvaluator(), new UniformRandomIntegerVectorCreator()) {
     63      : base(new RegressionProblemData(), new GESymbolicRegressionSingleObjectiveEvaluator(), new UniformRandomIntegerVectorCreator()) {
    6464      Parameters.Add(new FixedValueParameter<DoubleLimit>(EstimationLimitsParameterName, EstimationLimitsParameterDescription));
    6565
     
    8181    private void AfterDeserialization() {
    8282      RegisterEventHandlers();
    83       // compatibility
    84       bool changed = false;
    85       if (!Operators.OfType<SymbolicRegressionSingleObjectiveTrainingParetoBestSolutionAnalyzer>().Any()) {
    86         Operators.Add(new SymbolicRegressionSingleObjectiveTrainingParetoBestSolutionAnalyzer());
    87         changed = true;
    88       }
    89       if (!Operators.OfType<SymbolicRegressionSingleObjectiveValidationParetoBestSolutionAnalyzer>().Any()) {
    90         Operators.Add(new SymbolicRegressionSingleObjectiveValidationParetoBestSolutionAnalyzer());
    91         changed = true;
    92       }
    93       if (changed) {
    94         ParameterizeOperators();
    95       }
    9683    }
    9784
Note: See TracChangeset for help on using the changeset viewer.