Verify the individual score of a decision trees (Exercise Notebook)

Hi community, I have a doubt in one of the exercises of Decision Trees and Random Forest. I’ve try a for loop over ‘model.estimators_’ and then calculate the score over all individuals estimators, but when I do that got an error.

try fitting the model_estimators_[0] then get the accuracy of it for each in the list

2 Likes