Changeset 14941


Ignore:
Timestamp:
05/05/17 20:07:38 (5 years ago)
Author:
gkronber
Message:

#2529: merged r14529 from trunk to stable

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs

    r14186 r14941  
    5050      SamplesUtils.RunAlgorithm(osga);
    5151
    52       Assert.AreEqual(0.020952753415199643, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8);
    53       Assert.AreEqual(0.023220938866319357, SamplesUtils.GetDoubleResult(osga, "CurrentAverageQuality"), 1E-8);
    54       Assert.AreEqual(0.023716788824595391, SamplesUtils.GetDoubleResult(osga, "CurrentWorstQuality"), 1E-8);
    55       Assert.AreEqual(48200, SamplesUtils.GetIntResult(osga, "EvaluatedSolutions"));
     52      Assert.AreEqual(0.015441526903606416, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8);
     53      Assert.AreEqual(0.017420834241279298, SamplesUtils.GetDoubleResult(osga, "CurrentAverageQuality"), 1E-8);
     54      Assert.AreEqual(0.065195703753298972, SamplesUtils.GetDoubleResult(osga, "CurrentWorstQuality"), 1E-8);
     55      Assert.AreEqual(92000, SamplesUtils.GetIntResult(osga, "EvaluatedSolutions"));
    5656    }
    5757
     
    6363      problem.MaximumSymbolicExpressionTreeDepth.Value = 12;
    6464      problem.EvaluatorParameter.Value.HorizonParameter.Value.Value = 10;
     65      problem.ApplyLinearScaling.Value = true;
    6566
    6667      foreach (var symbol in problem.SymbolicExpressionTreeGrammar.Symbols) {
Note: See TracChangeset for help on using the changeset viewer.