Changeset 4801


Ignore:
Timestamp:
11/15/10 17:33:30 (9 years ago)
Author:
mkommend
Message:

Corrected SymbolicRegressionProblemBase to not use the PruningOperator (ticket #125).

File:
1 edited

Legend:

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

    r4722 r4801  
    324324          varFreqAnalyzer.ProblemDataParameter.ActualName = DataAnalysisProblemDataParameter.Name;
    325325        }
    326         var pruningOperator = analyzer as SymbolicRegressionTournamentPruning;
    327         if (pruningOperator != null) {
    328           pruningOperator.SamplesStartParameter.Value = TrainingSamplesStart;
    329           pruningOperator.SamplesEndParameter.Value = TrainingSamplesEnd;
    330           pruningOperator.DataAnalysisProblemDataParameter.ActualName = DataAnalysisProblemDataParameter.Name;
    331           pruningOperator.SymbolicExpressionTreeParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;
    332           pruningOperator.SymbolicExpressionTreeInterpreterParameter.ActualName = SymbolicExpressionTreeInterpreterParameter.Name;
    333           pruningOperator.LowerEstimationLimitParameter.ActualName = LowerEstimationLimitParameter.Name;
    334           pruningOperator.UpperEstimationLimitParameter.ActualName = UpperEstimationLimitParameter.Name;
    335         }
    336326      }
    337327      foreach (ISymbolicExpressionTreeAnalyzer analyzer in Operators.OfType<ISymbolicExpressionTreeAnalyzer>()) {
Note: See TracChangeset for help on using the changeset viewer.