Skip to content

plot_svm_anova.py raises wall of warnings #11565

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

Closed
amueller opened this issue Jul 16, 2018 · 1 comment
Closed

plot_svm_anova.py raises wall of warnings #11565

amueller opened this issue Jul 16, 2018 · 1 comment
Labels
Documentation Easy Well-defined and straightforward way to resolve help wanted
Milestone

Comments

@amueller
Copy link
Member

This example should probably be updated to raise less warnings or explain what's happening.

@amueller amueller added Easy Well-defined and straightforward way to resolve Documentation help wanted labels Jul 16, 2018
@ksasi
Copy link

ksasi commented Jul 17, 2018

Looks like we are seeing the below 2 types of warnings:

/Users/Sasikanth/anaconda3/lib/python3.6/site-packages/sklearn/feature_selection/univariate_selection.py:113: UserWarning: Features [ 0 7 8 15 16 23 24 31 32 39 40 47 48 56 63] are constant.
UserWarning)
/Users/Sasikanth/anaconda3/lib/python3.6/site-packages/sklearn/feature_selection/univariate_selection.py:114: RuntimeWarning: invalid value encountered in true_divide
f = msb / msw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Easy Well-defined and straightforward way to resolve help wanted
Projects
None yet
Development

No branches or pull requests

3 participants