mims-harvard / nimfa

Nimfa: Nonnegative matrix factorization in Python
http://ai.stanford.edu/~marinka/nimfa/
Other
541 stars 135 forks source link

PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices #53

Open bollard opened 4 years ago

bollard commented 4 years ago

Hi all,

Just started using your package (v1.4.0) and note the following warnings popping up from Numpy:

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.

One place for example is the call to np.asmatrix here, but sure there are more.

Thanks