Changeset 16057 for branches/2839_HiveProjectManagement/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionThirteen.cs
- Timestamp:
- 08/06/18 18:15:29 (6 years ago)
- Location:
- branches/2839_HiveProjectManagement
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement
- Property svn:mergeinfo changed
-
branches/2839_HiveProjectManagement/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
-
branches/2839_HiveProjectManagement/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Keijzer/KeijzerFunctionThirteen.cs
r14229 r16057 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 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
Note: See TracChangeset
for help on using the changeset viewer.