Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/04/12 20:04:44 (11 years ago)
Author:
gkronber
Message:

#1979 adapted Vladislavleva instances to match the definition from the GP Benchmarks paper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Vladislavleva/RippleFunction.cs

    r8825 r8999  
    2727  public class RippleFunction : ArtificialRegressionDataDescriptor {
    2828
    29     public override string Name { get { return "Vladislavleva-7  F7(X1, X2) = (X1 - 3)(X2 - 3) + 2 * sin((X1 - 4)(X2 - 4))"; } }
     29    public override string Name { get { return "Vladislavleva-7 F7(X1, X2) = (X1 - 3)(X2 - 3) + 2 * sin((X1 - 4)(X2 - 4))"; } }
    3030    public override string Description {
    3131      get {
     
    4444    protected override int TrainingPartitionEnd { get { return 300; } }
    4545    protected override int TestPartitionStart { get { return 300; } }
    46     protected override int TestPartitionEnd { get { return 1300; } }
     46    protected override int TestPartitionEnd { get { return 300 + 1000; } }
    4747
    4848    protected override List<List<double>> GenerateValues() {
    4949      List<List<double>> data = new List<List<double>>();
    5050      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
    51         data.Add(ValueGenerator.GenerateUniformDistributedValues(TrainingPartitionEnd, 0.05, 6.05).ToList());
     51        data.Add(ValueGenerator.GenerateUniformDistributedValues(300, 0.05, 6.05).ToList());
    5252      }
    5353
    5454      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
    55         data[i].AddRange(ValueGenerator.GenerateUniformDistributedValues(TrainingPartitionEnd, -0.25, 6.35));
     55        data[i].AddRange(ValueGenerator.GenerateUniformDistributedValues(1000, -0.25, 6.35));
    5656      }
    5757
Note: See TracChangeset for help on using the changeset viewer.