Closed flaxmans closed 4 months ago
Thanks @flaxmans -- You're right, for dictionaries this should be "del names_dict[name]". names_dict was previously a set, which uses "remove" instead of "del".
Fixed in https://github.com/interpretml/interpret/commit/4d996d56c4ce955b0cdae42ff888a002bbe18aee
Hi, I've fit an explanable boosting classifier (ebc) and I'm trying to use that model object to make predictions. However, I'm getting the following error when trying to call
ebc.predict_proba(my_feature_data_frame)
:This code block in
_clean_x.py
was reached because I did erroneously have a duplicated column inmy_feature_data_frame
. However, as the error message indicates,.remove()
is not a valid method on objects of typedict
.