Changeset 7682 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Vladislavleva/SineCosineFunction.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/Vladislavleva/SineCosineFunction.cs
r7664 r7682 39 39 } 40 40 protected override string TargetVariable { get { return "Y"; } } 41 protected override IEnumerable<string> InputVariables { get { return new List<string>(){ "X1", "X2", "Y" }; } }42 protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>(){ "X1", "X2" }; } }41 protected override string[] InputVariables { get { return new string[] { "X1", "X2", "Y" }; } } 42 protected override string[] AllowedInputVariables { get { return new string[] { "X1", "X2" }; } } 43 43 protected override int TrainingPartitionStart { get { return 0; } } 44 44 protected override int TrainingPartitionEnd { get { return 30; } } … … 46 46 protected override int TestPartitionEnd { get { return 1461; } } 47 47 48 protected override double[,]GenerateValues() {48 protected override List<List<double>> GenerateValues() { 49 49 List<List<double>> data = new List<List<double>>(); 50 50 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-0.05, 6.05, 0.02); … … 66 66 data.Add(results); 67 67 68 return ValueGenerator.Transformation(data);68 return data; 69 69 } 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.