Changeset 7610 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
- Timestamp:
- 03/13/12 15:33:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
r7603 r7610 29 29 [Item("Regression Problem", "A general regression problem.")] 30 30 [Creatable("Problems")] 31 public class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent { 31 public class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent, 32 IProblemInstanceConsumer<RegressionData> { 32 33 public string Filename { get; set; } 33 34 … … 52 53 Dataset dataset = new Dataset(data.InputVariables, data.Values); 53 54 ProblemData = new RegressionProblemData(dataset, data.AllowedInputVariables, data.TargetVariable); 55 ProblemData.TrainingPartition.Start = data.TrainingPartitionStart; 56 ProblemData.TrainingPartition.End = data.TrainingPartitionEnd; 57 ProblemData.TestPartition.Start = data.TestPartitionStart; 58 ProblemData.TestPartition.End = data.TestPartitionEnd; 54 59 OnReset(); 55 60 }
Note: See TracChangeset
for help on using the changeset viewer.