Changeset 13066 for trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GradientBoostingTest.cs
- Timestamp:
- 10/27/15 08:49:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GradientBoostingTest.cs
r12710 r13066 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) solution.Model;271 var model = (GradientBoostedTreesModel)((GradientBoostedTreesModelSurrogate)solution.Model).Model; 272 272 var treeM = model.Models.Skip(1).First() as RegressionTreeModel; 273 273
Note: See TracChangeset
for help on using the changeset viewer.