Changeset 8430 for branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionNine.cs
- Timestamp:
- 08/08/12 14:04:17 (12 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab.TimeSeries-3.3
-
- Property svn:ignore
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis (added) merged: 7892,7965,7988,8084,8180,8182,8192,8199,8210-8211,8224-8226,8238,8240-8241,8245-8246,8254
- Property svn:mergeinfo changed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionNine.cs
r7860 r8430 27 27 public class KeijzerFunctionNine : ArtificialRegressionDataDescriptor { 28 28 29 public override string Name { get { return "Keijzer 9 f(x) = sqrt(x)"; } }29 public override string Name { get { return "Keijzer 9 f(x) = arcsinh(x) i.e. ln(x + sqrt(x² + 1))"; } } 30 30 public override string Description { 31 31 get { 32 32 return "Paper: Improving Symbolic Regression with Interval Arithmetic and Linear Scaling" + Environment.NewLine 33 33 + "Authors: Maarten Keijzer" + Environment.NewLine 34 + "Function: f(x) = sqrt(x)" + Environment.NewLine34 + "Function: f(x) = arcsinh(x) i.e. ln(x + sqrt(x² + 1))" + Environment.NewLine 35 35 + "range(train): x = [0:1:100]" + Environment.NewLine 36 36 + "range(test): x = [0:0.1:100]" + Environment.NewLine … … 42 42 protected override string[] AllowedInputVariables { get { return new string[] { "X" }; } } 43 43 protected override int TrainingPartitionStart { get { return 0; } } 44 protected override int TrainingPartitionEnd { get { return 10 1; } }45 protected override int TestPartitionStart { get { return 10 1; } }46 protected override int TestPartitionEnd { get { return 110 2; } }44 protected override int TrainingPartitionEnd { get { return 100; } } 45 protected override int TestPartitionStart { get { return 100; } } 46 protected override int TestPartitionEnd { get { return 1100; } } 47 47 48 48 protected override List<List<double>> GenerateValues() { … … 55 55 for (int i = 0; i < data[0].Count; i++) { 56 56 x = data[0][i]; 57 results.Add(Math. Sqrt(x));57 results.Add(Math.Log(x + Math.Sqrt(x*x + 1))); 58 58 } 59 59 data.Add(results);
Note: See TracChangeset
for help on using the changeset viewer.