We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Thank you for fix #676! I updated to version 1.17 and tried the tutorial code with the following results.
The label dtype is '<U1', which appears to be incorrect. I ran movielens.py on my Notebook and got the same result.
Probably an error caused by the numpy specification. I suggest following modifications:
lightfm/lightfm/datasets/movielens.py
Line 75 in 688fede
# new id_feature_labels = np.empty(num_items, dtype=object)
In my Notebook, it works!
The text was updated successfully, but these errors were encountered:
Here is my environment
- OS: Ubuntu 20.04.1 - Python: 3.9.2 - numpy: 1.24.2 - lightfm: 1.17
Sorry, something went wrong.
the same problem, and changing from
id_feature_labels = np.empty(num_items, dtype=str)
to
id_feature_labels = np.empty(num_items, dtype=object)
works
No branches or pull requests
Hi!
Thank you for fix #676!
I updated to version 1.17 and tried the tutorial code with the following results.
The label dtype is '<U1', which appears to be incorrect.
I ran movielens.py on my Notebook and got the same result.
Suggestion
Probably an error caused by the numpy specification.
I suggest following modifications:
lightfm/lightfm/datasets/movielens.py
Line 75 in 688fede
In my Notebook, it works!
The text was updated successfully, but these errors were encountered: