Changeset 13978
- Timestamp:
- 07/02/16 13:56:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs
r13941 r13978 181 181 public GradientBoostingRegressionAlgorithm() { 182 182 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(); 187 184 var regressionAlgs = new ItemSet<IAlgorithm>(new IAlgorithm[] { 188 185 new RandomForestRegression(), 189 sgp, 190 mctsSymbReg 186 osgp, 191 187 }); 192 188 foreach (var alg in regressionAlgs) alg.Prepare(); … … 208 204 new DoubleValue(0.5))); 209 205 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)); 211 207 Parameters.Add(new FixedValueParameter<StringValue>(RegressionAlgorithmSolutionResultParameterName, 212 208 "The name of the solution produced by the regression algorithm", new StringValue("Solution")));
Note: See TracChangeset
for help on using the changeset viewer.