Changeset 11202 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4
- Timestamp:
- 07/18/14 12:01:13 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 1 deleted
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessFunctionsTest.cs
r9360 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using Microsoft.VisualStudio.TestTools.UnitTesting; 25 25 26 namespace HeuristicLab.Algorithms.DataAnalysis _34.Tests {26 namespace HeuristicLab.Algorithms.DataAnalysis.Tests { 27 27 [TestClass] 28 28 … … 30 30 public class GaussianProcessFunctionsTest { 31 31 [TestMethod] 32 [TestCategory("Algorithms.DataAnalysis")] 33 [TestProperty("Time", "short")] 32 34 public void MeanConstTest() { 33 35 TestMeanFunction(new MeanConst(), 0, … … 42 44 43 45 [TestMethod] 46 [TestCategory("Algorithms.DataAnalysis")] 47 [TestProperty("Time", "short")] 44 48 public void MeanZeroTest() { 45 49 TestMeanFunction(new MeanZero(), 0, … … 54 58 55 59 [TestMethod] 60 [TestCategory("Algorithms.DataAnalysis")] 61 [TestProperty("Time", "short")] 56 62 public void MeanSumTest() { 57 63 var sum = new MeanSum(); … … 79 85 } 80 86 [TestMethod] 87 [TestCategory("Algorithms.DataAnalysis")] 88 [TestProperty("Time", "short")] 81 89 public void MeanProdTest() { 82 90 var prod = new MeanProduct(); … … 150 158 151 159 [TestMethod] 160 [TestCategory("Algorithms.DataAnalysis")] 161 [TestProperty("Time", "short")] 152 162 public void MeanLinear() { 153 163 TestMeanFunction(new MeanLinear(), 0, … … 176 186 177 187 [TestMethod] 188 [TestCategory("Algorithms.DataAnalysis")] 189 [TestProperty("Time", "short")] 178 190 public void CovSeIsoTest() { 179 191 TestCovarianceFunction(new CovarianceSquaredExponentialIso(), 0, … … 264 276 265 277 [TestMethod] 278 [TestCategory("Algorithms.DataAnalysis")] 279 [TestProperty("Time", "short")] 266 280 public void CovNnTest() { 267 281 TestCovarianceFunction(new CovarianceNeuralNetwork(), 0, … … 353 367 354 368 [TestMethod] 369 [TestCategory("Algorithms.DataAnalysis")] 370 [TestProperty("Time", "short")] 355 371 public void CovRQIsoTest() { 356 372 TestCovarianceFunction(new CovarianceRationalQuadraticIso(), 0, … … 466 482 467 483 [TestMethod] 484 [TestCategory("Algorithms.DataAnalysis")] 485 [TestProperty("Time", "short")] 468 486 public void CovRQArdTest() { 469 487 TestCovarianceFunction(new CovarianceRationalQuadraticArd(), 0, … … 690 708 691 709 [TestMethod] 710 [TestCategory("Algorithms.DataAnalysis")] 711 [TestProperty("Time", "short")] 692 712 public void CovMaternIsoTest() { 693 713 var cov = new CovarianceMaternIso(); … … 875 895 876 896 [TestMethod] 897 [TestCategory("Algorithms.DataAnalysis")] 898 [TestProperty("Time", "short")] 877 899 public void CovLinearTest() { 878 900 TestCovarianceFunction(new CovarianceLinear(), 0, … … 897 919 898 920 [TestMethod] 921 [TestCategory("Algorithms.DataAnalysis")] 922 [TestProperty("Time", "short")] 899 923 public void CovLinearArdTest() { 900 924 TestCovarianceFunction(new CovarianceLinearArd(), 0, … … 1069 1093 1070 1094 [TestMethod] 1095 [TestCategory("Algorithms.DataAnalysis")] 1096 [TestProperty("Time", "short")] 1071 1097 public void CovPeriodicTest() { 1072 1098 TestCovarianceFunction(new CovariancePeriodic(), 0, … … 1187 1213 1188 1214 [TestMethod] 1215 [TestCategory("Algorithms.DataAnalysis")] 1216 [TestProperty("Time", "short")] 1189 1217 public void CovSEardTest() { 1190 1218 TestCovarianceFunction(new CovarianceSquaredExponentialArd(), 0, … … 1384 1412 1385 1413 [TestMethod] 1414 [TestCategory("Algorithms.DataAnalysis")] 1415 [TestProperty("Time", "short")] 1386 1416 public void CovSumTest() { 1387 1417 var cov = new CovarianceSum(); … … 1482 1512 1483 1513 [TestMethod] 1514 [TestCategory("Algorithms.DataAnalysis")] 1515 [TestProperty("Time", "short")] 1484 1516 public void CovScaleTest() { 1485 1517 var cov = new CovarianceScale(); … … 1604 1636 1605 1637 [TestMethod] 1638 [TestCategory("Algorithms.DataAnalysis")] 1639 [TestProperty("Time", "short")] 1606 1640 public void CovProdTest() { 1607 1641 var cov = new CovarianceProduct(); -
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessModelTest.cs
r8620 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System.Linq; 23 using HeuristicLab.Algorithms.DataAnalysis;24 23 using HeuristicLab.Problems.Instances.DataAnalysis; 25 24 using Microsoft.VisualStudio.TestTools.UnitTesting; 26 25 27 namespace HeuristicLab.Algorithms.DataAnalysis _34.Tests {26 namespace HeuristicLab.Algorithms.DataAnalysis.Tests { 28 27 [TestClass] 29 28 … … 31 30 public class GaussianProcessModelTest { 32 31 [TestMethod] 33 [DeploymentItem(@"HeuristicLab.Algorithms.DataAnalysis-3.4/co2.txt")] 32 [TestCategory("General")] 33 [TestProperty("Time", "medium")] 34 34 public void GaussianProcessModelOutputTest() { 35 35 var provider = new RegressionCSVInstanceProvider(); 36 var problemData = provider.ImportData( "co2.txt");36 var problemData = provider.ImportData(@"Test Resources\co2.txt"); 37 37 38 38 var targetVariable = "interpolated"; -
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessRegressionTest.cs
r8463 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Linq; 24 24 using System.Threading; 25 using HeuristicLab.Algorithms.DataAnalysis;26 25 using HeuristicLab.Common; 27 26 using HeuristicLab.Problems.DataAnalysis; … … 29 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 30 29 31 namespace HeuristicLab.Algorithms.DataAnalysis _34.Tests {30 namespace HeuristicLab.Algorithms.DataAnalysis.Tests { 32 31 [TestClass] 33 [DeploymentItem(@"HeuristicLab.Algorithms.DataAnalysis-3.4/co2.txt")]34 32 public class GaussianProcessRegressionTest { 35 33 public GaussianProcessRegressionTest() { } 36 34 37 35 private TestContext testContextInstance; 38 39 /// <summary>40 ///Gets or sets the test context which provides41 ///information about and functionality for the current test run.42 ///</summary>43 36 public TestContext TestContext { 44 get { 45 return testContextInstance; 46 } 47 set { 48 testContextInstance = value; 49 } 37 get { return testContextInstance; } 38 set { testContextInstance = value; } 50 39 } 51 40 … … 54 43 55 44 [TestMethod] 45 [TestCategory("Algorithms.DataAnalysis")] 46 [TestProperty("Time", "long")] 56 47 public void GaussianProcessRegressionPerformanceTest() { 57 48 ex = null; … … 62 53 alg.Problem = new RegressionProblem(); 63 54 var provider = new RegressionCSVInstanceProvider(); 64 var problemData = (RegressionProblemData)provider.ImportData( "co2.txt");55 var problemData = (RegressionProblemData)provider.ImportData(@"Test Resources\co2.txt"); 65 56 problemData.TargetVariableParameter.ActualValue = problemData.TargetVariableParameter.ValidValues.First(x => x.Value == "interpolated"); 66 57 problemData.InputVariables.SetItemCheckedState(problemData.InputVariables.First(x => x.Value == "year"), false);
Note: See TracChangeset
for help on using the changeset viewer.