Changeset 7738 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis
- Timestamp:
- 04/17/12 17:40:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs
r7259 r7738 295 295 symbolicProblem.FitnessCalculationPartition.End = SamplesEnd.Value; 296 296 } 297 297 clonedAlgorithm.Prepare(); 298 298 clonedAlgorithms.Add(clonedAlgorithm); 299 299 } … … 416 416 problemDataClone.TestPartition.Start = SamplesStart.Value; problemDataClone.TestPartition.End = SamplesEnd.Value; 417 417 // clone models 418 var ensembleSolution = new RegressionEnsembleSolution( 419 solutions.Value.Select(x => cloner.Clone(x.Model)), 420 problemDataClone, 421 solutions.Value.Select(x => cloner.Clone(x.ProblemData.TrainingPartition)), 422 solutions.Value.Select(x => cloner.Clone(x.ProblemData.TestPartition))); 418 var ensembleSolution = new RegressionEnsembleSolution(problemDataClone); 419 ensembleSolution.AddRegressionSolutions(solutions.Value); 423 420 424 421 aggregatedResults.Add(new Result(solutions.Key + " (ensemble)", ensembleSolution));
Note: See TracChangeset
for help on using the changeset viewer.