In ml.tree.impl.GradientBoostedTrees.boost(), predErrorCheckpointer and input are unpersisted at last. Actually, they can be unpersisted before the if(validate) block, so it can save memory for the computation in if block.
In ml.tree.impl.GradientBoostedTrees.boost(), predErrorCheckpointer and input are unpersisted at last. Actually, they can be unpersisted before the if(validate) block, so it can save memory for the computation in if block.