Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/21/10 15:21:34 (14 years ago)
Author:
gkronber
Message:

Refactored symbolic expression tree encoding and problem classes for symbolic regression. #937 , #938

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionProblem.cs

    r3452 r3462  
    3434using HeuristicLab.Problems.DataAnalysis.Regression;
    3535using HeuristicLab.Problems.DataAnalysis.Symbolic;
     36using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ArchitectureAlteringOperators;
     37using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Manipulators;
     38using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Crossovers;
     39using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Creators;
    3640
    3741namespace HeuristicLab.Problems.DataAnalysis.Regression.Symbolic {
     
    144148      var globalGrammar = new GlobalSymbolicExpressionGrammar(grammar);
    145149      var visualizer = new BestValidationSymbolicRegressionSolutionVisualizer();
     150      var interpreter = new SimpleArithmeticExpressionInterpreter();
    146151      Parameters.Add(new ValueParameter<BoolValue>("Maximization", "Set to false as the error of the regression model should be minimized.", new BoolValue(false)));
    147152      Parameters.Add(new ValueParameter<SymbolicExpressionTreeCreator>("SolutionCreator", "The operator which should be used to create new symbolic regression solutions.", creator));
     153      Parameters.Add(new ValueParameter<ISymbolicExpressionTreeInterpreter>("SymbolicExpressionTreeInterpreter", "The interpreter that should be used to evaluate the symbolic expression tree.", interpreter));
    148154      Parameters.Add(new ValueParameter<ISymbolicRegressionEvaluator>("Evaluator", "The operator which should be used to evaluate symbolic regression solutions.", evaluator));
    149155      Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The minimal error value that reached by symbolic regression solutions for the problem."));
Note: See TracChangeset for help on using the changeset viewer.