Skip to content

Conversation

@quentinhaenn
Copy link
Contributor

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).

@qtuantruong qtuantruong merged commit 3abfdaa into PreferredAI:master Jul 5, 2024
@darrylong darrylong added the bug Something isn't working label Jul 22, 2024
qtuantruong added a commit to qtuantruong/cornac that referenced this pull request Oct 25, 2025
* Fix issue PreferredAI#628 with '.A' stuff on csr_matrix

* Modifying requirements.txt for numpy and another .A

---------

Co-authored-by: tqtg <[email protected]>
qtuantruong added a commit to qtuantruong/cornac that referenced this pull request Oct 25, 2025
* Fix issue PreferredAI#628 with '.A' stuff on csr_matrix

* Modifying requirements.txt for numpy and another .A

---------

Co-authored-by: tqtg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Attribute Error with csr_matrix using Recommender based models

3 participants