cornac
cornac copied to clipboard
Fix issue #628 with '.A' stuff on csr_matrix
Description
Fix the issue concerning '.A' alias deprecated with latest Scipy version (from 1.11). Change '.A' to '.toarray()' in scoring functions in knn models. Also fixing upper bound on numpy version until compatibility is done in requirements
Related Issues
Fix #629
Checklist:
- [ ] I have added tests.
- [ ] I have updated the documentation accordingly.
- [ ] I have updated
README.md(if you are adding a new model). - [ ] I have updated
examples/README.md(if you are adding a new example). - [ ] I have updated
datasets/README.md(if you are adding a new dataset).