Changeset 13992 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/RegressionTreeBuilder.cs
- Timestamp:
- 07/04/16 22:29:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/RegressionTreeBuilder.cs
r13895 r13992 137 137 int nRows = idx.Count(); 138 138 139 // shuffle variable idx139 // shuffle variable names 140 140 HeuristicLab.Random.ListExtensions.ShuffleInPlace(allowedVariables, random); 141 141 … … 176 176 CreateRegressionTreeFromQueue(maxSize, lossFunction); 177 177 178 return new RegressionTreeModel(tree.ToArray() );178 return new RegressionTreeModel(tree.ToArray(), problemData.TargetVariable, ); 179 179 } 180 180
Note: See TracChangeset
for help on using the changeset viewer.