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

UserWarning and RuntimeWarning when running align and couplings #306

Open
joelmeyerson opened this issue Jul 3, 2024 · 3 comments
Open
Assignees

Comments

@joelmeyerson
Copy link

I'm running align and couplings and the job seems to complete successfully but gives multiple warnings. Can you suggest how to avoid these warnings?

/home/joel/micromamba/envs/evc/lib/python3.7/site-packages/sklearn/base.py:444: UserWarning: X has feature names, but LogisticRegression was fitted without feature names
  f"X has feature names, but {self.__class__.__name__} was fitted without"
/home/joel/micromamba/envs/evc/lib/python3.7/site-packages/sklearn/base.py:444: UserWarning: X has feature names, but LogisticRegression was fitted without feature names
  f"X has feature names, but {self.__class__.__name__} was fitted without"
/home/joel/git/EVcouplings/evcouplings/visualize/parameters.py:137: RuntimeWarning: divide by zero encountered in log2
  B = -fi * np.log2(fi)
/home/joel/git/EVcouplings/evcouplings/visualize/parameters.py:137: RuntimeWarning: invalid value encountered in multiply
  B = -fi * np.log2(fi)
@thomashopf thomashopf self-assigned this Jul 4, 2024
@thomashopf
Copy link
Contributor

Thanks for letting me know about these - will have a look when working on the next round of fixes

thomashopf added a commit that referenced this issue Jul 7, 2024
thomashopf added a commit that referenced this issue Jul 7, 2024
@thomashopf
Copy link
Contributor

This should be fixed now on the develop branch (alongside the very big recent issue #307 ) - please let me know if this works on your end!

@joelmeyerson
Copy link
Author

I can confirm the warnings no longer appear on my end.

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

2 participants