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
Trying to use ALS for real-time recommendations. however seeing differences in recommended items between the model trained on full data vs trained on new incremental data. Steps followed,
Train the model on entire data (last 30 days of user-item interactions) and save the model as pickle file.
For real-time, load the saved(pickle) model, get the latest interactions in the last 5 mins, use partial_fit_users and partial_fit_items method to incrementally train on the new data.
Get the recommendations for the latest active users.
However, for validation, I again trained the model with (last 30 days + last 5 mins) and got the recommendations.
The results from incremental training and retraining are quite different.
How can we get the same recommendations from both model? Idea is to save few mins of entire retraining.
Not able to see any (real-life) examples of partial_fit_users or partial_fit_items except on doc and als_test.py
The text was updated successfully, but these errors were encountered:
For real-time, load the saved(pickle) model, get the latest interactions in the last 5 mins, use partial_fit_users and partial_fit_items method to incrementally train on the new data.
For the partial_fit_items/users - are you just including the results from the last 5 minutes? If so - I don't think that will work. The partial fit functions allow you to only calculate factors for a subset of users/items - but for the users being updated you will need their full history, rather than just the most recently interacted items
Trying to use ALS for real-time recommendations. however seeing differences in recommended items between the model trained on full data vs trained on new incremental data. Steps followed,
However, for validation, I again trained the model with (last 30 days + last 5 mins) and got the recommendations.
The results from incremental training and retraining are quite different.
How can we get the same recommendations from both model? Idea is to save few mins of entire retraining.
Not able to see any (real-life) examples of partial_fit_users or partial_fit_items except on doc and als_test.py
The text was updated successfully, but these errors were encountered: