Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/14/15 08:10:18 (8 years ago)
Author:
gkronber
Message:

#2450 made the changes suggested by mkommend in the review. This is definitely a big improvement, thx!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesAlgorithmStatic.cs

    r13100 r13157  
    130130
    131131    // simple interface
    132     public static IRegressionSolution TrainGbm(IRegressionProblemData problemData, ILossFunction lossFunction, int maxSize, double nu, double r, double m, int maxIterations, uint randSeed = 31415) {
     132    public static GradientBoostedTreesSolution TrainGbm(IRegressionProblemData problemData, ILossFunction lossFunction, int maxSize, double nu, double r, double m, int maxIterations, uint randSeed = 31415) {
    133133      Contract.Assert(r > 0);
    134134      Contract.Assert(r <= 1.0);
     
    143143
    144144      var model = state.GetModel();
    145       return new RegressionSolution(model, (IRegressionProblemData)problemData.Clone());
     145      return new GradientBoostedTreesSolution(model, (IRegressionProblemData)problemData.Clone());
    146146    }
    147147
Note: See TracChangeset for help on using the changeset viewer.