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
[BUG] sar_movielens.ipynb - top_k = model.recommend_k_items(test, top_k=TOP_K, remove_seen=True) error #2015
Comments
Faced the same problem. I think it's For example, the new version of def jaccard(cooccurrence):
"""<docstring>"""
diag_rows, diag_cols = _get_row_and_column_matrix(cooccurrence.diagonal())
with np.errstate(invalid="ignore", divide="ignore"):
result = cooccurrence / (diag_rows + diag_cols - cooccurrence)
# return np.array(result) # not this
return result.toarray() |
@lordaouy I am not sure, but it might be problem with scipy itself |
See scipy/scipy#18796 and #1954 |
Resolved in PR #2083 |
Description
I got error when running sar_movielens.ipynb notebooks from azure machine learning compute instance
In which platform does it happen?
It happen on Azure ML compute instance
How do we replicate the issue?
This is setup script I use in AzureML :
this is my compute instance setting:
Expected behavior (i.e. solution)
Cell below should run without throwing error
Other Comments
The text was updated successfully, but these errors were encountered: