Changeset 6377 for branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification
- Timestamp:
- 06/07/11 12:49:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.cs
r6254 r6377 54 54 trainingPartitions = new Dictionary<IClassificationModel, IntRange>(); 55 55 testPartitions = new Dictionary<IClassificationModel, IntRange>(); 56 foreach (var model in Model.Models) { 57 trainingPartitions[model] = (IntRange)ProblemData.TrainingPartition.Clone(); 58 testPartitions[model] = (IntRange)ProblemData.TestPartition.Clone(); 56 foreach (var pair in original.trainingPartitions) { 57 trainingPartitions[cloner.Clone(pair.Key)] = cloner.Clone(pair.Value); 58 } 59 foreach (var pair in original.testPartitions) { 60 testPartitions[cloner.Clone(pair.Key)] = cloner.Clone(pair.Value); 59 61 } 60 62 RecalculateResults();
Note: See TracChangeset
for help on using the changeset viewer.