Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/05/12 16:55:26 (12 years ago)
Author:
gkronber
Message:

#1784 adapted Keijzer instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs

    r8226 r8238  
    2525
    2626namespace HeuristicLab.Problems.Instances.DataAnalysis {
    27   public class KeijzerFunctionTwelve : ArtificialRegressionDataDescriptor {
     27  public class KeijzerFunctionEleven : ArtificialRegressionDataDescriptor {
    2828
    29     public override string Name { get { return "Keijzer 12 f(x, y) = xy + sin((x - 1)(y - 1))"; } }
     29    public override string Name { get { return "Keijzer 11 f(x, y) = xy + sin((x - 1)(y - 1))"; } }
    3030    public override string Description {
    3131      get {
    32         return "Paper: Improving Symbolic Regression with Interval Arithmetic and Linear Scaling" + Environment.NewLine
    33         + "Authors: Maarten Keijzer" + Environment.NewLine
    34         + "Function: f(x, y) = xy + sin((x - 1)(y - 1))" + Environment.NewLine
    35         + "range(train): 20 Training cases x,y = rnd(-3, 3)" + Environment.NewLine
    36         + "range(test): x,y = [-3:0.01:3]" + Environment.NewLine
    37         + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)" + Environment.NewLine + Environment.NewLine
    38         + "Note: Test partition has been adjusted to only 100 random uniformly distributed test cases in the intercal [-3, 3] (not ca. 360000 as described) "
    39         + ", but 5000 cases are created";
     32        return
     33          "Paper: Improving Symbolic Regression with Interval Arithmetic and Linear Scaling" + Environment.NewLine
     34          + "Authors: Maarten Keijzer" + Environment.NewLine
     35          + "Function: f(x, y) = xy + sin((x - 1)(y - 1))" + Environment.NewLine
     36          + "range(train): 20 Training cases x,y = rnd(-3, 3)" + Environment.NewLine
     37          + "range(test): x,y = [-3:0.01:3]" + Environment.NewLine
     38          + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)" + Environment.NewLine + Environment.NewLine
     39          + "Note: Test partition has been adjusted to only 100 random uniformly distributed test cases in the interval [-3, 3] (not ca. 360000 as described) "
     40          + ", but 5000 cases are created";
    4041      }
    4142    }
     
    4647    protected override int TrainingPartitionEnd { get { return 20; } }
    4748    protected override int TestPartitionStart { get { return 2500; } }
    48     protected override int TestPartitionEnd { get { return 5000; } }
     49    protected override int TestPartitionEnd { get { return 2600; } }
    4950
    5051    protected override List<List<double>> GenerateValues() {
    5152      List<List<double>> data = new List<List<double>>();
    5253      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
    53         data.Add(ValueGenerator.GenerateUniformDistributedValues(5000, -3, 3).ToList());
     54        data.Add(ValueGenerator.GenerateUniformDistributedValues(5020, -3, 3).ToList());
    5455      }
    5556
Note: See TracChangeset for help on using the changeset viewer.