seldon-server icon indicating copy to clipboard operation
seldon-server copied to clipboard

Minor code fix in import_actions_utils.py

Open mmulchandani opened this issue 7 years ago • 0 comments

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.

mmulchandani avatar Feb 17 '17 14:02 mmulchandani