Ignore:
Timestamp:
07/04/16 23:40:44 (5 years ago)
Author:
bburlacu
Message:

#2597: Merged trunk changes.

Location:
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Algorithms.DataAnalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Algorithms.DataAnalysis

  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs

    r13948 r13994  
    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.