C2_W4_Lab_02_Tree_Ensemble - Different outputs for same parameters?

I was doing the optional lab on tree ensembles and I am confused about the outputs in 4.1 and 4.2:

4.1


4.2


I feel like I’m missing something obvious, but why are the outputs in the graphs different if the scripts are the same? There should be no difference because the number of estimators has not been applied yet.

HI @Litwi,

If you examine the way the arguments were passed in the classifiers closely, you will notice why they produce different graphs. Additionally, the length of the max_depth list is also different in both sections.