Changeset 15461 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer
- Timestamp:
- 11/08/17 12:16:22 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
r14229 r15461 37 37 + "Function: f(x, y) = xy + sin((x - 1)(y - 1))" + Environment.NewLine 38 38 + "range(train): 20 Training cases x,y = rnd(-3, 3)" + Environment.NewLine 39 + "range(test): x,y = [-3:0.01:3]" + Environment.NewLine 40 + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)"; 39 + "range(test): x,y = [-3:0.1:3]" + Environment.NewLine 40 + "Function Set: x + y, x * y, 1/x, -x, sqrt(x)" + Environment.NewLine 41 + "Comments: Reduced test set compared to original publication!"; 41 42 } 42 43 } … … 47 48 protected override int TrainingPartitionEnd { get { return 20; } } 48 49 protected override int TestPartitionStart { get { return 20; } } 49 protected override int TestPartitionEnd { get { return 20 + (6 01 * 601); } }50 protected override int TestPartitionEnd { get { return 20 + (61 * 61); } } 50 51 public int Seed { get; private set; } 51 52 … … 57 58 protected override List<List<double>> GenerateValues() { 58 59 List<List<double>> data = new List<List<double>>(); 59 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0. 01m).Select(v => (double)v).ToList();60 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.1m).Select(v => (double)v).ToList(); 60 61 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 61 62 -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionFifteen.cs
r14229 r15461 36 36 + "Function: f(x, y) = x³ / 5 + y³ / 2 - y - x" + Environment.NewLine 37 37 + "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!"; 40 41 } 41 42 } … … 46 47 protected override int TrainingPartitionEnd { get { return 20; } } 47 48 protected override int TestPartitionStart { get { return 20; } } 48 protected override int TestPartitionEnd { get { return 20 + (6 01 * 601); } }49 protected override int TestPartitionEnd { get { return 20 + (61 * 61); } } 49 50 public int Seed { get; private set; } 50 51 … … 56 57 protected override List<List<double>> GenerateValues() { 57 58 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(); 59 60 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 60 61 -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionFourteen.cs
r14229 r15461 36 36 + "Function: f(x, y) = 8 / (2 + x² + y²)" + Environment.NewLine 37 37 + "range(train): 20 Train 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!"; 40 41 } 41 42 } … … 46 47 protected override int TrainingPartitionEnd { get { return 20; } } 47 48 protected override int TestPartitionStart { get { return 20; } } 48 protected override int TestPartitionEnd { get { return 20 + (6 01 * 601); } }49 protected override int TestPartitionEnd { get { return 20 + (61 * 61); } } 49 50 public int Seed { get; private set; } 50 51 … … 58 59 protected override List<List<double>> GenerateValues() { 59 60 List<List<double>> data = new List<List<double>>(); 60 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0. 01m).Select(v => (double)v).ToList();61 List<double> oneVariableTestData = SequenceGenerator.GenerateSteps(-3, 3, 0.1m).Select(v => (double)v).ToList(); 61 62 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 62 63 -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionThirteen.cs
r14229 r15461 36 36 + "Function: f(x, y) = 6 * sin(x) * cos(y)" + Environment.NewLine 37 37 + "range(train): 20 Train 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!"; 40 41 } 41 42 } … … 46 47 protected override int TrainingPartitionEnd { get { return 20; } } 47 48 protected override int TestPartitionStart { get { return 20; } } 48 protected override int TestPartitionEnd { get { return 20 + (6 01 * 601); } }49 protected override int TestPartitionEnd { get { return 20 + (61 * 61); } } 49 50 public int Seed { get; private set; } 50 51 … … 56 57 protected override List<List<double>> GenerateValues() { 57 58 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(); 59 60 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 60 61 -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionTwelve.cs
r14229 r15461 36 36 + "Function: f(x, y) = x^4 - x³ + y² / 2 - y" + Environment.NewLine 37 37 + "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!"; 40 41 } 41 42 } … … 46 47 protected override int TrainingPartitionEnd { get { return 20; } } 47 48 protected override int TestPartitionStart { get { return 20; } } 48 protected override int TestPartitionEnd { get { return 20 + (6 01 * 601); } }49 protected override int TestPartitionEnd { get { return 20 + (61 * 61); } } 49 50 public int Seed { get; private set; } 50 51 … … 56 57 protected override List<List<double>> GenerateValues() { 57 58 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(); 59 60 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 60 61
Note: See TracChangeset
for help on using the changeset viewer.