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

deprecation warning from sklearn.utils.validation.py #12

Open
pwin opened this issue Nov 8, 2015 · 0 comments
Open

deprecation warning from sklearn.utils.validation.py #12

pwin opened this issue Nov 8, 2015 · 0 comments

Comments

@pwin
Copy link

pwin commented Nov 8, 2015

Clustering with multi-threaded pyxmeans (starting k at 20)
/usr/local/lib/python2.7/dist-packages/pyxmeans/xmeans.py:135: FutureWarning: elementwise comparison failed; returning s calar instead, but in the future will perform elementwise comparison
if centroids in ('kmeans++', 'random'):
/usr/local/lib/python2.7/dist-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.
DeprecationWarning)

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

1 participant