Changeset 7682 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Keijzer/KeijzerFunctionThirteen.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/Keijzer/KeijzerFunctionThirteen.cs
r7664 r7682 41 41 } 42 42 protected override string TargetVariable { get { return "F"; } } 43 protected override IEnumerable<string> InputVariables { get { return new List<string>(){ "X", "Y", "F" }; } }44 protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>(){ "X", "Y" }; } }43 protected override string[] InputVariables { get { return new string[] { "X", "Y", "F" }; } } 44 protected override string[] AllowedInputVariables { get { return new string[] { "X", "Y" }; } } 45 45 protected override int TrainingPartitionStart { get { return 0; } } 46 46 protected override int TrainingPartitionEnd { get { return 20; } } … … 48 48 protected override int TestPartitionEnd { get { return 5000; } } 49 49 50 protected override double[,]GenerateValues() {50 protected override List<List<double>> GenerateValues() { 51 51 List<List<double>> data = new List<List<double>>(); 52 52 for (int i = 0; i < AllowedInputVariables.Count(); i++) { … … 63 63 data.Add(results); 64 64 65 return ValueGenerator.Transformation(data);65 return data; 66 66 } 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.