Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/11 11:32:25 (14 years ago)
Author:
mkommend
Message:

#1418: Fixed compilation errors in Problems.DataAnalysis.*.

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectiveMeanSquaredErrorTreeSizeEvaluator.cs

    r5505 r5514  
    4242    public SymbolicClassificationMultiObjectiveMeanSquaredErrorTreeSizeEvaluator() : base() { }
    4343
     44    public override IEnumerable<bool> Maximization { get { return new bool[2] { false, false }; } }
     45
    4446    public override IOperation Apply() {
    4547      IEnumerable<int> rows = GenerateRowsToEvaluate();
    46       double[] qualities = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     48      double[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    4749      QualitiesParameter.ActualValue = new DoubleArray(qualities);
    4850      return base.Apply();
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectivePearsonRSquaredTreeSizeEvaluator.cs

    r5505 r5514  
    2121    public SymbolicClassificationMultiObjectivePearsonRSquaredTreeSizeEvaluator() : base() { }
    2222
     23    public override IEnumerable<bool> Maximization { get { return new bool[2] { true, false }; } }
     24
    2325    public override IOperation Apply() {
    2426      IEnumerable<int> rows = GenerateRowsToEvaluate();
    25       double[] qualities = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     27      double[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    2628      QualitiesParameter.ActualValue = new DoubleArray(qualities);
    2729      return base.Apply();
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator.cs

    r5505 r5514  
    4242    public SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator() : base() { }
    4343
     44    public override bool Maximization { get { return false; } }
     45
    4446    public override IOperation Apply() {
    4547      IEnumerable<int> rows = GenerateRowsToEvaluate();
    46       double quality = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     48      double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    4749      QualityParameter.ActualValue = new DoubleValue(quality);
    4850      return base.Apply();
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectivePearsonRSquaredEvaluator.cs

    r5505 r5514  
    4242    public SymbolicClassificationSingleObjectivePearsonRSquaredEvaluator() : base() { }
    4343
     44    public override bool Maximization { get { return true; } }
     45
    4446    public override IOperation Apply() {
    4547      IEnumerable<int> rows = GenerateRowsToEvaluate();
    46       double quality = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     48      double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    4749      QualityParameter.ActualValue = new DoubleValue(quality);
    4850      return base.Apply();
Note: See TracChangeset for help on using the changeset viewer.