Changeset 17137
- Timestamp:
- 07/15/19 16:17:24 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesModelSurrogate.cs
r17044 r17137 75 75 : base(original, cloner) { 76 76 IGradientBoostedTreesModel clonedModel = null; 77 if (original. ActualModel != null) clonedModel = cloner.Clone(original.ActualModel);77 if (original.actualModel.IsValueCreated) clonedModel = cloner.Clone(original.ActualModel); 78 78 actualModel = new Lazy<IGradientBoostedTreesModel>(CreateLazyInitFunc(clonedModel)); // only capture clonedModel in the closure 79 79
Note: See TracChangeset
for help on using the changeset viewer.