Changeset 10592 for stable/HeuristicLab.Tests/HeuristicLab-3.3
- Timestamp:
- 03/12/14 21:03:01 (10 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10576,10578
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 10578
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r9979 r10592 265 265 Assert.AreEqual(0, GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 266 266 Assert.AreEqual(50950, GetIntResult(ga, "EvaluatedSolutions")); 267 var bestTrainingSolution = (IRegressionSolution)ga.Results["Best training solution"].Value; 268 Assert.AreEqual(0.85504801557844745, bestTrainingSolution.TrainingRSquared, 1E-8); 269 Assert.AreEqual(0.86259381948647817, bestTrainingSolution.TestRSquared, 1E-8); 270 var bestValidationSolution = (IRegressionSolution)ga.Results["Best validation solution"].Value; 271 Assert.AreEqual(0.84854338315539746, bestValidationSolution.TrainingRSquared, 1E-8); 272 Assert.AreEqual(0.8662813452656678, bestValidationSolution.TestRSquared, 1E-8); 267 273 } 268 274 … … 377 383 Assert.AreEqual(0.80875, bestTrainingSolution.TrainingAccuracy, 1E-8); 378 384 Assert.AreEqual(0.795031055900621, bestTrainingSolution.TestAccuracy, 1E-8); 385 var bestValidationSolution = (IClassificationSolution)ga.Results["Best validation solution"].Value; 386 Assert.AreEqual(0.81375, bestValidationSolution.TrainingAccuracy, 1E-8); 387 Assert.AreEqual(0.788819875776398, bestValidationSolution.TestAccuracy, 1E-8); 379 388 } 380 389
Note: See TracChangeset
for help on using the changeset viewer.