Machine-Learning-for-Asset-Managers
Machine-Learning-for-Asset-Managers copied to clipboard
AttributeError: 'BaggingClassifier' object has no attribute 'enumerators_'
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_.