I have a problem with the answer
After final check the code is the same as the explanation and my answer is not the same as you mentioned.
How can i sure that it doesn’t happen in my next questions.
I have a problem with the answer
After final check the code is the same as the explanation and my answer is not the same as you mentioned.
How can i sure that it doesn’t happen in my next questions.
Are you sure you activated early_stopping=True
? Also please notice that the question asks for the average number of trees, meaning you need the average over the cross validated results.
Does exist any difference between early_stopping=True
True and early_stopping='auto'
?
If it’s correct, i already saw my error.
Thanks for your time
You can check on the documentation for sklearn.ensemble.HistGradientBoostingClassifier
early_stopping='auto'
is equivalent to early_stopping='True'
if the sample size is larger than 10000. Otherwise early stopping is disabled.