Changeset 7603 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Timestamp:
- 03/13/12 10:49:31 (13 years ago)
- Location:
- branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
r7259 r7603 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Problems.Instances; 25 26 26 27 namespace HeuristicLab.Problems.DataAnalysis { … … 45 46 ProblemData = problemData; 46 47 } 48 49 public void Load(RegressionData data) { 50 Name = data.Name; 51 Description = data.Description; 52 Dataset dataset = new Dataset(data.InputVariables, data.Values); 53 ProblemData = new RegressionProblemData(dataset, data.AllowedInputVariables, data.TargetVariable); 54 OnReset(); 55 } 47 56 } 48 57 } -
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r7259 r7603 29 29 using HeuristicLab.Parameters; 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 using HeuristicLab.Problems.Instances; 31 32 32 33 namespace HeuristicLab.Problems.DataAnalysis {
Note: See TracChangeset
for help on using the changeset viewer.