Changeset 6982 for trunk/sources/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 11/10/11 13:04:09 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.cs
r6666 r6982 201 201 202 202 public IEnumerable<IEnumerable<double>> GetEstimatedClassValueVectors(Dataset dataset, IEnumerable<int> rows) { 203 if (!Model.Models.Any()) yield break; 203 204 var estimatedValuesEnumerators = (from model in Model.Models 204 205 select model.GetEstimatedClassValues(dataset, rows).GetEnumerator()) -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs
r6666 r6982 64 64 private void AfterDeserialization() { 65 65 foreach (var model in Model.Models) { 66 IRegressionProblemData problemData = (IRegressionProblemData) 66 IRegressionProblemData problemData = (IRegressionProblemData)ProblemData.Clone(); 67 67 problemData.TrainingPartition.Start = trainingPartitions[model].Start; 68 68 problemData.TrainingPartition.End = trainingPartitions[model].End; … … 202 202 203 203 public IEnumerable<IEnumerable<double>> GetEstimatedValueVectors(Dataset dataset, IEnumerable<int> rows) { 204 if (!Model.Models.Any()) yield break; 204 205 var estimatedValuesEnumerators = (from model in Model.Models 205 206 select model.GetEstimatedValues(dataset, rows).GetEnumerator())
Note: See TracChangeset
for help on using the changeset viewer.