Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/17 12:35:43 (8 years ago)
Author:
jkarder
Message:

#2751: fixed unit test

This unit test produces slightly different results in VS 2017.

File:
1 edited

Legend:

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

    r14185 r14773  
    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.60591737780555, SamplesUtils.GetDoubleResult(gpr, "NegativeLogLikelihood"));
     53      Assert.AreEqual(0.99560909041069334, SamplesUtils.GetDoubleResult(gpr, "Training R²"));
    5454    }
    5555
Note: See TracChangeset for help on using the changeset viewer.