craffel / mir_eval

Evaluation functions for music/audio information retrieval/signal processing algorithms.
MIT License
604 stars 112 forks source link

Use toarray instead of todense for sparse matrices #305

Closed craffel closed 5 years ago

craffel commented 5 years ago

todense returns a numpy matrix object, whereas toarray returns a numpy ndarray. The former causes a DeprecationWarning. The flood of DeprecationWarnings in our tests eventually causes Travis to fail.

bmcfee commented 5 years ago

LGTM -- tests are still failing, but it's because of something wrong in chords, which I expect is an independent failure.

craffel commented 5 years ago