Code QuizIntermediate Learning Rate Shrinkage in Boosting
Catching a missing shrinkage factor in a boosting update.
Codepython
def boost_step(pred, tree, X, learning_rate):
# apply shrinkage when adding the new tree's contribution
pred += tree.predict(X)
return predWhat is the bug in this boosting update step?