Machine-Learning-for-Asset-Managers icon indicating copy to clipboard operation
Machine-Learning-for-Asset-Managers copied to clipboard

AttributeError: 'BaggingClassifier' object has no attribute 'enumerators_'

Open Y-Saki26 opened this issue 2 years ago • 0 comments

The description fit.enumerators_ in l33 of "ch6_feature_importance_analysis.py" does not work correctly because the attribute name is wrong, causing the error "AttributeError: 'BaggingClassifier' object has no attribute 'enumerators_'". The correct attribute is fit.estimators_.

Y-Saki26 avatar Aug 04 '23 10:08 Y-Saki26