Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9466 for trunk/sources


Ignore:
Timestamp:
05/08/13 10:40:41 (12 years ago)
Author:
mkommend
Message:

#1081: Fixed SGP symbolic classification tests, whose results got updated, due to a change in the grammar in r9459.

File:
1 edited

Legend:

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

    r9463 r9466  
    345345      ga.SetSeedRandomly.Value = false;
    346346      RunAlgorithm(ga);
    347       Assert.AreEqual(0.14458636369766503, GetDoubleResult(ga, "BestQuality"), 1E-8);
    348       Assert.AreEqual(2.5613992769560352, GetDoubleResult(ga, "CurrentAverageQuality"), 1E-8);
     347      Assert.AreEqual(0.141880203907627, GetDoubleResult(ga, "BestQuality"), 1E-8);
     348      Assert.AreEqual(4.3246992327753295, GetDoubleResult(ga, "CurrentAverageQuality"), 1E-8);
    349349      Assert.AreEqual(100.62175156249987, GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8);
    350350      Assert.AreEqual(100900, GetIntResult(ga, "EvaluatedSolutions"));
    351351      var bestTrainingSolution = (IClassificationSolution)ga.Results["Best training solution"].Value;
    352       Assert.AreEqual(0.80625, bestTrainingSolution.TrainingAccuracy, 1E-8);
    353       Assert.AreEqual(0.782608695652174, bestTrainingSolution.TestAccuracy, 1E-8);
     352      Assert.AreEqual(0.80875, bestTrainingSolution.TrainingAccuracy, 1E-8);
     353      Assert.AreEqual(0.795031055900621, bestTrainingSolution.TestAccuracy, 1E-8);
    354354    }
    355355
Note: See TracChangeset for help on using the changeset viewer.