Changeset 7682 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Nguyen/NguyenFunctionTwelve.cs
- Timestamp:
- 04/02/12 10:55:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Nguyen/NguyenFunctionTwelve.cs
r7664 r7682 38 38 } 39 39 protected override string TargetVariable { get { return "Z"; } } 40 protected override IEnumerable<string> InputVariables { get { return new List<string>(){ "X", "Y", "Z" }; } }41 protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>(){ "X", "Y" }; } }40 protected override string[] InputVariables { get { return new string[] { "X", "Y", "Z" }; } } 41 protected override string[] AllowedInputVariables { get { return new string[] { "X", "Y" }; } } 42 42 protected override int TrainingPartitionStart { get { return 0; } } 43 43 protected override int TrainingPartitionEnd { get { return 100; } } … … 45 45 protected override int TestPartitionEnd { get { return 1000; } } 46 46 47 protected override double[,]GenerateValues() {47 protected override List<List<double>> GenerateValues() { 48 48 List<List<double>> data = new List<List<double>>(); 49 49 data.Add(ValueGenerator.GenerateUniformDistributedValues(1000, 0, 1)); … … 59 59 data.Add(results); 60 60 61 return ValueGenerator.Transformation(data);61 return data; 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.