1
$\begingroup$

In sklearn, the feature_importances_ attribute exists for both RandomForestClassifier and GradientBoostingClassifier.

Would like to know what are the fundamental differences in how this attribute is calculated for both algorithms and the pros and cons between both approaches.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.