Changeset 9112 for branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.Instances.DataAnalysis.GaussianProcessRegression/GaussianProcessSEIsoDependentNoise.cs
- Timestamp:
- 01/04/13 22:34:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.Instances.DataAnalysis.GaussianProcessRegression/GaussianProcessSEIsoDependentNoise.cs
r9099 r9112 41 41 protected override string[] AllowedInputVariables { get { return new string[] { "X1" }; } } 42 42 protected override int TrainingPartitionStart { get { return 0; } } 43 protected override int TrainingPartitionEnd { get { return 100; } }44 protected override int TestPartitionStart { get { return 100; } }45 protected override int TestPartitionEnd { get { return 200; } }43 protected override int TrainingPartitionEnd { get { return 250; } } 44 protected override int TestPartitionStart { get { return 250; } } 45 protected override int TestPartitionEnd { get { return 500; } } 46 46 47 47 protected override List<List<double>> GenerateValues() { … … 56 56 covarianceFunction.Terms.Add(new CovarianceSquaredExponentialIso()); 57 57 var prod = new CovarianceProduct(); 58 prod.Factors.Add(new Covariance SquaredExponentialIso());58 prod.Factors.Add(new CovarianceLinear()); 59 59 prod.Factors.Add(new CovarianceNoise()); 60 60 covarianceFunction.Terms.Add(prod); … … 63 63 { 64 64 Math.Log(0.1), Math.Log(Math.Sqrt(1)), // SE iso 65 Math.Log(0.5), Math.Log(Math.Sqrt(1)), // SE iso for noise 66 Math.Log(Math.Sqrt(0.1)), // dependent noise 65 Math.Log(Math.Sqrt(0.5)), // dependent noise 67 66 Math.Log(Math.Sqrt(0.01)) // noise 68 67 }; 69 var cov = covarianceFunction.GetParameterizedCovarianceFunction(hyp, Enumerable.Range(0, AllowedInputVariables.Count()));68 var cov = covarianceFunction.GetParameterizedCovarianceFunction(hyp, null); 70 69 71 70 var mt = new MersenneTwister(31415);
Note: See TracChangeset
for help on using the changeset viewer.