Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/15 10:44:48 (9 years ago)
Author:
gkronber
Message:

#2435: quick fix for new result values in unit tests because of update to alglib 3.9 (version increment of HeuristicLab.Algorithms.DataAnalysis?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GaussianProcessRegressionSampleTest.cs

    r12012 r12798  
    5050      gpr.Seed = 1618551877;
    5151      SamplesUtils.RunAlgorithm(gpr);
    52       Assert.AreEqual(-940.39914958616748, SamplesUtils.GetDoubleResult(gpr, "NegativeLogLikelihood"));
    53       Assert.AreEqual(0.995614091354263, SamplesUtils.GetDoubleResult(gpr, "Training R²"));
     52      Assert.AreEqual(-940.206256787095, SamplesUtils.GetDoubleResult(gpr, "NegativeLogLikelihood"), 1E-8);
     53      Assert.AreEqual(0.995598837993128, SamplesUtils.GetDoubleResult(gpr, "Training R²"), 1E-8);
    5454    }
    5555
Note: See TracChangeset for help on using the changeset viewer.