Changeset 8225 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionNine.cs
- Timestamp:
- 07/05/12 11:11:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Korns/KornsFunctionNine.cs
r7849 r8225 27 27 public class KornsFunctionNine : ArtificialRegressionDataDescriptor { 28 28 29 public override string Name { get { return "Korns 9 y = ((sqrt(X0) / log(X1)) * (exp(X2) / square(X3)))"; } }29 public override string Name { get { return "Korns 9 y = ((sqrt(X0) / log(X1)) * (exp(X2) / X3²)"; } } 30 30 public override string Description { 31 31 get { 32 32 return "Paper: Accuracy in Symbolic Regression" + Environment.NewLine 33 33 + "Authors: Michael F. Korns" + Environment.NewLine 34 + "Function: y = ((sqrt(X0) / log(X1)) * (exp(X2) / square(X3)))" + Environment.NewLine 35 + "Real Numbers: 3.45, -.982, 100.389, and all other real constants" + Environment.NewLine 36 + "Row Features: x1, x2, x9, and all other features" + Environment.NewLine 37 + "Binary Operators: +, -, *, /" + Environment.NewLine 38 + "Unary Operators: sqrt, square, cube, cos, sin, tan, tanh, log, exp" + Environment.NewLine 34 + "Function: y = (sqrt(X0) / log(X1)) * (exp(X2) / X3²)" + Environment.NewLine 35 + "Binary Operators: +, -, *, % (protected division)" + Environment.NewLine 36 + "Unary Operators: sqrt, square, cube, cos, sin, tan, tanh, ln(|x|) (protected log), exp" + Environment.NewLine 37 + "Constants: random finit 64-bit IEEE double" + Environment.NewLine 39 38 + "\"Our testing regimen uses only statistical best practices out-of-sample testing techniques. " 40 39 + "We test each of the test cases on matrices of 10000 rows by 1 to 5 columns with no noise. " … … 48 47 protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } } 49 48 protected override int TrainingPartitionStart { get { return 0; } } 50 protected override int TrainingPartitionEnd { get { return 5000; } }51 protected override int TestPartitionStart { get { return 5000; } }52 protected override int TestPartitionEnd { get { return 10000; } }49 protected override int TrainingPartitionEnd { get { return 10000; } } 50 protected override int TestPartitionStart { get { return 10000; } } 51 protected override int TestPartitionEnd { get { return 20000; } } 53 52 54 53 protected override List<List<double>> GenerateValues() { 55 54 List<List<double>> data = new List<List<double>>(); 56 55 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 57 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, 0, 50).ToList());56 data.Add(ValueGenerator.GenerateUniformDistributedValues(TestPartitionEnd, -50, 50).ToList()); 58 57 } 59 58
Note: See TracChangeset
for help on using the changeset viewer.