ASUS-AICS / LibMultiLabel

A library for multi-class and multi-label classification
MIT License
152 stars 30 forks source link

Fixed deprecated/removed scipy API #360

Closed Sinacam closed 8 months ago

Sinacam commented 8 months ago

What does this PR do?

For newer scipy versions, there is no scipy.frombuffer. scipy used to contain all numpy functions, but this has since been deprecated and removed.

Test CLI & API (bash tests/autotest.sh)

Test APIs used by main.py.

Check API Document

If any new APIs are added, please check if the description of the APIs is added to API document.

Test quickstart & API (bash tests/docs/test_changed_document.sh)

If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.