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

[pyclustering.cluster.kmeans] PendingDeprecationWarning from numpy #466

Closed
annoviko opened this issue Oct 13, 2018 · 0 comments
Closed

[pyclustering.cluster.kmeans] PendingDeprecationWarning from numpy #466

annoviko opened this issue Oct 13, 2018 · 0 comments
Assignees
Labels
Good First Issue Tasks that can be easily done by contributors Refactoring Tasks related to code refactoring

Comments

@annoviko
Copy link
Owner

Introduction
numpy warning:

D:\Workspace\pyclustering\pyclustering\cluster\kmeans.py:331: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
  self.__pointer_data = numpy.matrix(data)

Warning should be corrected.

@annoviko annoviko added Refactoring Tasks related to code refactoring Good First Issue Tasks that can be easily done by contributors labels Oct 13, 2018
annoviko added a commit that referenced this issue Nov 7, 2018
…t work. [pyclustering.cluster.kmeans] PendingDeprecationWarning from numpy.
@annoviko annoviko self-assigned this Nov 7, 2018
@annoviko annoviko closed this as completed Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Tasks that can be easily done by contributors Refactoring Tasks related to code refactoring
Projects
None yet
Development

No branches or pull requests

1 participant