Changeset 13980
- Timestamp:
- 07/02/16 14:05:12 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13978
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Algorithms.DataAnalysis merged: 13978
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs
r13977 r13980 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.