Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sameerpython opened this issue Jul 11, 2024 · 4 comments
Open

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

Sameerpython opened this issue Jul 11, 2024 · 4 comments

Comments

@Sameerpython
Copy link

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
Copy link
Author

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

@QuantHao
Copy link

QuantHao commented Aug 5, 2024

see #122 (comment)

@danielhomola
Copy link
Collaborator

Does it work w the new version on pypi?

@Sameerpython
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants