Changeset 15475 for stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
- Timestamp:
- 11/15/17 14:37:01 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 15461
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 15461
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionEleven.cs
r14305 r15475 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
Note: See TracChangeset
for help on using the changeset viewer.