Changeset 15679 for branches/2883_GBTModelStorage/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesAlgorithm.cs
- Timestamp:
- 01/30/18 17:28:46 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2883_GBTModelStorage/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesAlgorithm.cs
r15678 r15679 286 286 // produce solution 287 287 if (CreateSolution == ModelStorage.Parameter || CreateSolution == ModelStorage.Complete) { 288 IRegressionModel model = null;288 IRegressionModel model = state.GetModel(); 289 289 290 290 if (CreateSolution == ModelStorage.Parameter) { 291 model = state.GetModel(); 292 } else if (CreateSolution == ModelStorage.Complete) { 293 //If "Complete", a deep-copy is required, so no lazy lists 294 model = state.GetModel(false); 295 (model as GradientBoostedTreesModel).IsCompatibilityLoaded = true; 291 model = new GradientBoostedTreesModelSurrogate(problemData, (uint)Seed, lossFunction, Iterations, MaxSize, R, M, Nu, (GradientBoostedTreesModel)model); 296 292 } 297 293
Note: See TracChangeset
for help on using the changeset viewer.