Ignore:
Timestamp:
11/15/17 14:37:01 (2 years ago)
Author:
mkommend
Message:

#2853: Merged r15461 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.Instances.DataAnalysis

  • stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionTwelve.cs

    r14305 r15475  
    3636               + "Function: f(x, y) = x^4 - x³ + y² / 2 - y" + Environment.NewLine
    3737               + "range(train): 20 Training cases x,y = rnd(-3, 3)" + Environment.NewLine
    38                + "range(test): x,y = [-3:0.01:3]" + Environment.NewLine
    39                + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)";
     38               + "range(test): x,y = [-3:0.1:3]" + Environment.NewLine
     39               + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)" + Environment.NewLine
     40               + "Comments: Reduced test set compared to original publication!";
    4041      }
    4142    }
     
    4647    protected override int TrainingPartitionEnd { get { return 20; } }
    4748    protected override int TestPartitionStart { get { return 20; } }
    48     protected override int TestPartitionEnd { get { return 20 + (601 * 601); } }
     49    protected override int TestPartitionEnd { get { return 20 + (61 * 61); } }
    4950    public int Seed { get; private set; }
    5051
     
    5657    protected override List<List<double>> GenerateValues() {
    5758      List<List<double>> data = new List<List<double>>();
    58       List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.01m).Select(v => (double)v).ToList();
     59      List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.1m).Select(v => (double)v).ToList();
    5960      List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };
    6061
Note: See TracChangeset for help on using the changeset viewer.