boruta_py icon indicating copy to clipboard operation
boruta_py copied to clipboard

AttributeError: module 'numpy' has no attribute 'int'.

Open Sameerpython opened this issue 1 year ago • 4 comments

Hi, While fitting the model, i get the following error: dec_reg = np.zeros(n_feat, dtype=np.int) AttributeError: module 'numpy' has no attribute 'int'. Thanks!

Sameerpython avatar Jul 11 '24 12:07 Sameerpython

I solved the issue by np.int to int. Thanks!

Sameerpython avatar Jul 11 '24 14:07 Sameerpython

see https://github.com/scikit-learn-contrib/boruta_py/issues/122#issuecomment-1842417297

QuantHao avatar Aug 05 '24 07:08 QuantHao

Does it work w the new version on pypi?

danielhomola avatar Aug 13 '24 19:08 danielhomola

Does it work with the new version on pypi?

I have not try with new version of pypi. As mentioned earlier I got it working by changing np.int to int.

Is the new version differing in performance compared to older version?

Sameerpython avatar Aug 15 '24 07:08 Sameerpython