- Timestamp:
- 03/15/16 15:49:52 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleModel.cs
r13704 r13705 155 155 public IEnumerable<IEnumerable<double>> GetEstimatedValueVectors(IDataset dataset, IEnumerable<int> rows) { 156 156 var estimatedValuesEnumerators = (from model in models 157 select model.GetEstimatedValues(dataset, rows).GetEnumerator()) 158 .ToList(); 157 let weight = GetModelWeight(model) 158 select model.GetEstimatedValues(dataset, rows).Select(e => weight * e) 159 .GetEnumerator()).ToList(); 159 160 160 161 while (estimatedValuesEnumerators.All(en => en.MoveNext())) {
Note: See TracChangeset
for help on using the changeset viewer.