Changeset 9466
- Timestamp:
- 05/08/13 10:40:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r9463 r9466 345 345 ga.SetSeedRandomly.Value = false; 346 346 RunAlgorithm(ga); 347 Assert.AreEqual(0.14 458636369766503, 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); 349 349 Assert.AreEqual(100.62175156249987, GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 350 350 Assert.AreEqual(100900, GetIntResult(ga, "EvaluatedSolutions")); 351 351 var bestTrainingSolution = (IClassificationSolution)ga.Results["Best training solution"].Value; 352 Assert.AreEqual(0.80 625, bestTrainingSolution.TrainingAccuracy, 1E-8);353 Assert.AreEqual(0.7 82608695652174, bestTrainingSolution.TestAccuracy, 1E-8);352 Assert.AreEqual(0.80875, bestTrainingSolution.TrainingAccuracy, 1E-8); 353 Assert.AreEqual(0.795031055900621, bestTrainingSolution.TestAccuracy, 1E-8); 354 354 } 355 355
Note: See TracChangeset
for help on using the changeset viewer.