Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/27/15 08:49:57 (8 years ago)
Author:
gkronber
Message:

#2450: adapted unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GradientBoostingTest.cs

    r12710 r13066  
    269269      problemData.TestPartition.End = nRows;
    270270      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;
    272272      var treeM = model.Models.Skip(1).First() as RegressionTreeModel;
    273273
Note: See TracChangeset for help on using the changeset viewer.