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/RationalPolynomialTwoDimensional.cs

    r8825 r8999  
    3434        + "Function: F8(X1, X2) = ((X1 - 3)^4 + (X2 - 3)³ - (X2 -3)) / ((X2 - 2)^4 + 10)" + Environment.NewLine
    3535        + "Training Data: 50 points X1, X2 = Rand(0.05, 6.05)" + Environment.NewLine
    36         + "Test Data: 1157 points X1, X2 = (-0.25:0.2:6.35)" + Environment.NewLine
     36        + "Test Data: 34*34 points X1, X2 = (-0.25:0.2:6.35)" + Environment.NewLine
    3737        + "Function Set: +, -, *, /, square, x^eps, x + eps, x * eps";
    3838      }
     
    4343    protected override int TrainingPartitionStart { get { return 0; } }
    4444    protected override int TrainingPartitionEnd { get { return 50; } }
    45     protected override int TestPartitionStart { get { return 1000; } }
    46     protected override int TestPartitionEnd { get { return 2157; } }
     45    protected override int TestPartitionStart { get { return 50; } }
     46    protected override int TestPartitionEnd { get { return 50 + (34 * 34); } }
    4747
    4848    protected override List<List<double>> GenerateValues() {
     
    5050
    5151      List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-0.25, 6.35, 0.2).ToList();
     52
    5253      List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };
     54      var combinations = ValueGenerator.GenerateAllCombinationsOfValuesInLists(testData).ToList<IEnumerable<double>>();
    5355
    54       var combinations = ValueGenerator.GenerateAllCombinationsOfValuesInLists(testData).ToList<IEnumerable<double>>();
    5556      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
    56         data.Add(ValueGenerator.GenerateUniformDistributedValues(1000, 0.05, 6.05).ToList());
     57        data.Add(ValueGenerator.GenerateUniformDistributedValues(50, 0.05, 6.05).ToList());
    5758        data[i].AddRange(combinations[i]);
    5859      }
Note: See TracChangeset for help on using the changeset viewer.