Skip to content
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] Review LigthFM notebook and do test #1700

Closed
miguelgfierro opened this issue Apr 8, 2022 · 2 comments · Fixed by #1706
Closed

[BUG] Review LigthFM notebook and do test #1700

miguelgfierro opened this issue Apr 8, 2022 · 2 comments · Fixed by #1706
Labels
bug Something isn't working

Comments

@miguelgfierro
Copy link
Collaborator

Description

We don't have tests for LgithFM and there is an issue reported: #1651 (comment)

In which platform does it happen?

How do we replicate the issue?

Expected behavior (i.e. solution)

Other Comments

@miguelgfierro miguelgfierro added the bug Something isn't working label Apr 8, 2022
@SafetyMary
Copy link

In which platform does it happen?
Jupiter lab

How do we replicate the issue?
running the lightFM quick start notebook
https://github.com/microsoft/recommenders/blob/main/examples/02_model_hybrid/lightfm_deep_dive.ipynb

got the error on

with Timer() as test_time:
all_predictions = prepare_all_predictions(data, uid_map, iid_map,
interactions=train_interactions,
model=model1,
num_threads=NO_THREADS)

TypeError: Invalid type passed to user_ids parameter. This must be either int or np.int32 array. Type received: <class 'numpy.int64'>

System version: 3.8.13 (default, Mar 28 2022, 06:59:08) [MSC v.1916 64 bit (AMD64)]
LightFM version: 1.16

@miguelgfierro
Copy link
Collaborator Author

miguelgfierro commented Apr 21, 2022

@SafetyMary I checked and it is working in staging. Please do this in the root folder:

git checkout staging
git pull origin staging
pip install -e .[dev,examples]

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 a pull request may close this issue.

2 participants