Changeset 6636 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
- Timestamp:
- 08/04/11 17:57:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs
r6566 r6636 446 446 // clone models 447 447 var ensembleSolution = new ClassificationEnsembleSolution( 448 solutions.Value.Select(x => cloner.Clone(x.Model)), 448 solutions.Value.Select(x => cloner.Clone(x.Model)), 449 449 problemDataClone, 450 450 solutions.Value.Select(x => cloner.Clone(x.ProblemData.TrainingPartition)), … … 543 543 throw new ArgumentException("A cross validation algorithm can only contain DataAnalysisProblems."); 544 544 } 545 algorithm.Problem.Reset += (x,y) => OnProblemChanged(); 545 546 problem = (IDataAnalysisProblem)algorithm.Problem; 546 547 OnProblemChanged(); … … 553 554 SamplesStart.Value = 0; 554 555 if (Problem != null) { 555 Problem.ProblemDataChanged += (object sender, EventArgs e) => OnProblemChanged();556 556 SamplesEnd.Value = Problem.ProblemData.Dataset.Rows; 557 557
Note: See TracChangeset
for help on using the changeset viewer.