Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13980


Ignore:
Timestamp:
07/02/16 14:05:12 (8 years ago)
Author:
gkronber
Message:

#1795: merged r13978 from trunk to stable

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Algorithms.DataAnalysis

  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs

    r13977 r13980  
    181181    public GradientBoostingRegressionAlgorithm() {
    182182      Problem = new RegressionProblem(); // default problem
    183       var mctsSymbReg = new MctsSymbolicRegressionAlgorithm();
    184       mctsSymbReg.Iterations = 10000;
    185       mctsSymbReg.StoreAlgorithmInEachRun = false;
    186       var sgp = CreateOSGP();
     183      var osgp = CreateOSGP();
    187184      var regressionAlgs = new ItemSet<IAlgorithm>(new IAlgorithm[] {
    188185        new RandomForestRegression(),
    189         sgp,
    190         mctsSymbReg
     186        osgp,
    191187      });
    192188      foreach (var alg in regressionAlgs) alg.Prepare();
     
    208204        new DoubleValue(0.5)));
    209205      Parameters.Add(new ConstrainedValueParameter<IAlgorithm>(RegressionAlgorithmParameterName,
    210         "The regression algorithm to use as a base learner", regressionAlgs, mctsSymbReg));
     206        "The regression algorithm to use as a base learner", regressionAlgs, osgp));
    211207      Parameters.Add(new FixedValueParameter<StringValue>(RegressionAlgorithmSolutionResultParameterName,
    212208        "The name of the solution produced by the regression algorithm", new StringValue("Solution")));
Note: See TracChangeset for help on using the changeset viewer.