predict-idlab / powershap

A power-full Shapley feature selection method.
Other
186 stars 18 forks source link

AttributeError: module 'numpy' has no attribute 'bool'. #50

Open apavlo89 opened 3 months ago

apavlo89 commented 3 months ago

AttributeError: module 'numpy' has no attribute 'bool'. np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

jonasvdd commented 2 months ago

Hi @apavlo89,

Could you specify where this occurs? PS. we released a new version today 0.0.10 which may solve your encountered issue?

Kind regards, Jonas