Changeset 12798
- Timestamp:
- 07/22/15 10:44:48 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GaussianProcessRegressionSampleTest.cs
r12012 r12798 50 50 gpr.Seed = 1618551877; 51 51 SamplesUtils.RunAlgorithm(gpr); 52 Assert.AreEqual(-940. 39914958616748, SamplesUtils.GetDoubleResult(gpr, "NegativeLogLikelihood"));53 Assert.AreEqual(0.995 614091354263, 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); 54 54 } 55 55 -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchRFClassificationScriptTest.cs
r12012 r12798 58 58 var bestSolution = ScriptingUtils.GetVariable<IClassificationSolution>(script, BestSolutionVariableName); 59 59 Assert.AreEqual(0.85179407176287, bestSolution.TrainingAccuracy, 1E-8); 60 Assert.AreEqual(0.8 1875, bestSolution.TestAccuracy, 1E-8);60 Assert.AreEqual(0.825, bestSolution.TestAccuracy, 1E-8); 61 61 } 62 62 -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/GridSearchRFRegressionScriptTest.cs
r12012 r12798 57 57 58 58 var bestSolution = ScriptingUtils.GetVariable<IRegressionSolution>(script, BestSolutionVariableName); 59 Assert.AreEqual(0.96 8329534139836, bestSolution.TrainingRSquared, 1E-8);60 Assert.AreEqual(0.98 2380790563445, bestSolution.TestRSquared, 1E-8);59 Assert.AreEqual(0.964863318788504, bestSolution.TrainingRSquared, 1E-8); 60 Assert.AreEqual(0.984757886306994, bestSolution.TestRSquared, 1E-8); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.