Changeset 13707 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis
- Timestamp:
- 03/15/16 17:36:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs
r13703 r13707 231 231 var problemData = Problem.ProblemData; 232 232 var targetVarName = Problem.ProblemData.TargetVariable; 233 var activeVariables = problemData.AllowedInputVariables.Concat(new string[] { problemData.TargetVariable }); 233 234 var modifiableDataset = new ModifiableDataset( 234 problemData.Dataset.VariableNames,235 problemData.Dataset.VariableNames.Select(v => problemData.Dataset.GetDoubleValues(v).ToList()));235 activeVariables, 236 activeVariables.Select(v => problemData.Dataset.GetDoubleValues(v).ToList())); 236 237 237 238 var trainingRows = problemData.TrainingIndices;
Note: See TracChangeset
for help on using the changeset viewer.