Changeset 8999 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Vladislavleva/RippleFunction.cs
- Timestamp:
- 12/04/12 20:04:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Vladislavleva/RippleFunction.cs
r8825 r8999 27 27 public class RippleFunction : ArtificialRegressionDataDescriptor { 28 28 29 public override string Name { get { return "Vladislavleva-7 29 public override string Name { get { return "Vladislavleva-7 F7(X1, X2) = (X1 - 3)(X2 - 3) + 2 * sin((X1 - 4)(X2 - 4))"; } } 30 30 public override string Description { 31 31 get { … … 44 44 protected override int TrainingPartitionEnd { get { return 300; } } 45 45 protected override int TestPartitionStart { get { return 300; } } 46 protected override int TestPartitionEnd { get { return 1300; } }46 protected override int TestPartitionEnd { get { return 300 + 1000; } } 47 47 48 48 protected override List<List<double>> GenerateValues() { 49 49 List<List<double>> data = new List<List<double>>(); 50 50 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 51 data.Add(ValueGenerator.GenerateUniformDistributedValues( TrainingPartitionEnd, 0.05, 6.05).ToList());51 data.Add(ValueGenerator.GenerateUniformDistributedValues(300, 0.05, 6.05).ToList()); 52 52 } 53 53 54 54 for (int i = 0; i < AllowedInputVariables.Count(); i++) { 55 data[i].AddRange(ValueGenerator.GenerateUniformDistributedValues( TrainingPartitionEnd, -0.25, 6.35));55 data[i].AddRange(ValueGenerator.GenerateUniformDistributedValues(1000, -0.25, 6.35)); 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.