- 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/Classification/ClassificationEnsembleSolution.cs
r12708 r13049 49 49 } 50 50 51 [Storable] 51 52 private readonly ItemCollection<IClassificationSolution> classificationSolutions; 52 53 public IItemCollection<IClassificationSolution> ClassificationSolutions { … … 66 67 [StorableHook(HookType.AfterDeserialization)] 67 68 private void AfterDeserialization() { 68 foreach (var model in Model.Models) { 69 IClassificationProblemData problemData = (IClassificationProblemData)ProblemData.Clone(); 70 problemData.TrainingPartition.Start = trainingPartitions[model].Start; 71 problemData.TrainingPartition.End = trainingPartitions[model].End; 72 problemData.TestPartition.Start = testPartitions[model].Start; 73 problemData.TestPartition.End = testPartitions[model].End; 74 75 classificationSolutions.Add(model.CreateClassificationSolution(problemData)); 69 if (!classificationSolutions.Any()) { 70 foreach (var model in Model.Models) { 71 IClassificationProblemData problemData = (IClassificationProblemData)ProblemData.Clone(); 72 problemData.TrainingPartition.Start = trainingPartitions[model].Start; 73 problemData.TrainingPartition.End = trainingPartitions[model].End; 74 problemData.TestPartition.Start = testPartitions[model].Start; 75 problemData.TestPartition.End = testPartitions[model].End; 76 77 classificationSolutions.Add(model.CreateClassificationSolution(problemData)); 78 } 76 79 } 77 80 RegisterClassificationSolutionsEventHandler();
Note: See TracChangeset
for help on using the changeset viewer.