Changeset 8583
- Timestamp:
- 09/05/12 23:06:39 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceMaternIso.cs
r8582 r8583 83 83 validDValues.Add((IntValue)new IntValue(5).AsReadOnly()); 84 84 dParameter = new ConstrainedValueParameter<IntValue>("D", "The d parameter (allowed values: 1, 3, or 5) of the isometric Matern covariance function.", validDValues, validDValues.First()); 85 d = dParameter.Value.Value; 85 86 86 87 Parameters.Add(inverseLengthParameter); -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessFunctionsTest.cs
r8565 r8583 594 594 public void CovMaternIsoTest() { 595 595 var cov = new CovarianceMaternIso(); 596 cov.D = 1;596 cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 1); 597 597 TestCovarianceFunction(cov, 0, 598 598 new double[,] … … 639 639 640 640 cov = new CovarianceMaternIso(); 641 cov.D = 1;641 cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 1); 642 642 TestCovarianceFunction(cov, 1, 643 643 new double[,] … … 684 684 685 685 cov = new CovarianceMaternIso(); 686 cov.D = 5;686 cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 5); 687 687 TestCovarianceFunction(cov, 0, 688 688 new double[,] … … 729 729 730 730 cov = new CovarianceMaternIso(); 731 cov.D = 5;731 cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 5); 732 732 TestCovarianceFunction(cov, 1, 733 733 new double[,]
Note: See TracChangeset
for help on using the changeset viewer.