Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13978


Ignore:
Timestamp:
07/02/16 13:56:35 (8 years ago)
Author:
gkronber
Message:

#1795: removed MCTS symb reg as algorithm in GBM to cut the dependency between GBM and MCTS symb reg (MCTS symb reg not ready for release yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs

    r13941 r13978  
    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.