seldon-server
seldon-server copied to clipboard
Minor code fix in import_actions_utils.py
action["client_userid"] = f["item_id"]
changed to => action["client_userid"] = f["user_id"]
action["client_itemid"] = f["user_id"]
changed to => action["client_itemid"] = f["item_id"]
It is a minor error and doesn't seem to impact the output, since the model build doesn't seem to be using the client_userid and client_itemid fields. I did verify the first few lines of the actions.json file generated after the fix and it looked correct.
I ran the ml100k example and the recommendations generated after the fix were similar to those before the fix.