Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/13 22:34:57 (12 years ago)
Author:
gkronber
Message:

#1967: worked on tuned GP model and benchmark instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.Instances.DataAnalysis.GaussianProcessRegression/GaussianProcessSEIsoDependentNoise.cs

    r9099 r9112  
    4141    protected override string[] AllowedInputVariables { get { return new string[] { "X1" }; } }
    4242    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; } }
    4646
    4747    protected override List<List<double>> GenerateValues() {
     
    5656      covarianceFunction.Terms.Add(new CovarianceSquaredExponentialIso());
    5757      var prod = new CovarianceProduct();
    58       prod.Factors.Add(new CovarianceSquaredExponentialIso());
     58      prod.Factors.Add(new CovarianceLinear());
    5959      prod.Factors.Add(new CovarianceNoise());
    6060      covarianceFunction.Terms.Add(prod);
     
    6363        {
    6464          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
    6766          Math.Log(Math.Sqrt(0.01)) // noise
    6867        };
    69       var cov = covarianceFunction.GetParameterizedCovarianceFunction(hyp, Enumerable.Range(0, AllowedInputVariables.Count()));
     68      var cov = covarianceFunction.GetParameterizedCovarianceFunction(hyp, null);
    7069
    7170      var mt = new MersenneTwister(31415);
Note: See TracChangeset for help on using the changeset viewer.