You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue traceback seems to indicate an issue in the source code, where ui_mat is defined with csr_matrix, and using ui_mat.A.ravel() in file cornac/models/knn/recom_knn.py
Expected behavior (i.e. solution)
Expect the models to recommend as the SVD does, without throwing any internal error.
The text was updated successfully, but these errors were encountered:
Description
Using any of the model based on Recommender abstract class causes an Attribute Error Exception: csr_matrix object has no attribute A.
Tested with ItemKNN and UserKnn so far. SVD model works well with same dataset.
In which platform does it happen?
MacOS 14.5 with arm platform (M1)
Python3.12
How do we replicate the issue?
MWE:
Issue traceback seems to indicate an issue in the source code, where ui_mat is defined with csr_matrix, and using ui_mat.A.ravel() in file
cornac/models/knn/recom_knn.py
Expected behavior (i.e. solution)
Expect the models to recommend as the SVD does, without throwing any internal error.
The text was updated successfully, but these errors were encountered: