-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting this error in my code output #132
Labels
Comments
Hey @maickhenriquesantos -- to help debug this, can you give me the following information: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "C:/Users/Maick Henrique/PycharmProjects/recsys-experiments/codes/testeTensor.py", line 118, in
test_recom()
File "C:/Users/Maick Henrique/PycharmProjects/recsys-experiments/codes/testeTensor.py", line 102, in test_recom
recall_k=10, precision_k=10, ndcg_k=10)
File "C:\Users\Maick Henrique\AppData\Roaming\Python\Python36\site-packages\tensorrec\eval.py", line 158, in fit_and_eval
p_at_k = precision_at_k(predicted_ranks, test_interactions, k=precision_k)
File "C:\Users\Maick Henrique\AppData\Roaming\Python\Python36\site-packages\tensorrec\eval.py", line 22, in precision_at_k
ranks = sp.csr_matrix(predicted_ranks * positive_test_interactions.A)
ValueError: operands could not be broadcast together with shapes (84658,2460) (17454,3)
The text was updated successfully, but these errors were encountered: