Changeset 13157 for trunk/sources/HeuristicLab.Tests
- Timestamp:
- 11/14/15 08:10:18 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GradientBoostingTest.cs
r13066 r13157 269 269 problemData.TestPartition.End = nRows; 270 270 var solution = GradientBoostedTreesAlgorithmStatic.TrainGbm(problemData, new SquaredErrorLoss(), maxSize, nu: 1, r: 1, m: 1, maxIterations: 1, randSeed: 31415); 271 var model = (GradientBoostedTreesModel)((GradientBoostedTreesModelSurrogate)solution.Model).Model;271 var model = solution.Model; 272 272 var treeM = model.Models.Skip(1).First() as RegressionTreeModel; 273 273
Note: See TracChangeset
for help on using the changeset viewer.