- Timestamp:
- 10/22/15 19:01:31 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12816
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis merged: 12816
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs
r12708 r13049 50 50 } 51 51 52 [Storable] 52 53 private readonly ItemCollection<IRegressionSolution> regressionSolutions; 53 54 public IItemCollection<IRegressionSolution> RegressionSolutions { … … 67 68 [StorableHook(HookType.AfterDeserialization)] 68 69 private void AfterDeserialization() { 69 foreach (var model in Model.Models) { 70 IRegressionProblemData problemData = (IRegressionProblemData)ProblemData.Clone(); 71 problemData.TrainingPartition.Start = trainingPartitions[model].Start; 72 problemData.TrainingPartition.End = trainingPartitions[model].End; 73 problemData.TestPartition.Start = testPartitions[model].Start; 74 problemData.TestPartition.End = testPartitions[model].End; 75 76 regressionSolutions.Add(model.CreateRegressionSolution(problemData)); 70 if (!regressionSolutions.Any()) { 71 foreach (var model in Model.Models) { 72 IRegressionProblemData problemData = (IRegressionProblemData)ProblemData.Clone(); 73 problemData.TrainingPartition.Start = trainingPartitions[model].Start; 74 problemData.TrainingPartition.End = trainingPartitions[model].End; 75 problemData.TestPartition.Start = testPartitions[model].Start; 76 problemData.TestPartition.End = testPartitions[model].End; 77 78 regressionSolutions.Add(model.CreateRegressionSolution(problemData)); 79 } 77 80 } 78 81 RegisterRegressionSolutionsEventHandler();
Note: See TracChangeset
for help on using the changeset viewer.