Changeset 8238 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
- Timestamp:
- 07/05/12 16:55:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
r8226 r8238 25 25 26 26 namespace HeuristicLab.Problems.Instances.DataAnalysis { 27 public class KeijzerFunction Twelve: ArtificialRegressionDataDescriptor {27 public class KeijzerFunctionEleven : ArtificialRegressionDataDescriptor { 28 28 29 public override string Name { get { return "Keijzer 1 2f(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))"; } } 30 30 public override string Description { 31 31 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"; 40 41 } 41 42 } … … 46 47 protected override int TrainingPartitionEnd { get { return 20; } } 47 48 protected override int TestPartitionStart { get { return 2500; } } 48 protected override int TestPartitionEnd { get { return 5000; } }49 protected override int TestPartitionEnd { get { return 2600; } } 49 50 50 51 protected override List<List<double>> GenerateValues() { 51 52 List<List<double>> data = new List<List<double>>(); 52 53 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 53 data.Add(ValueGenerator.GenerateUniformDistributedValues(50 00, -3, 3).ToList());54 data.Add(ValueGenerator.GenerateUniformDistributedValues(5020, -3, 3).ToList()); 54 55 } 55 56
Note: See TracChangeset
for help on using the changeset viewer.