Skip to content

Minor code fix in import_actions_utils.py#43

Open
mmulchandani wants to merge 1 commit intoSeldonIO:masterfrom
mmulchandani:cli_userid_itemid_swap_fit
Open

Minor code fix in import_actions_utils.py#43
mmulchandani wants to merge 1 commit intoSeldonIO:masterfrom
mmulchandani:cli_userid_itemid_swap_fit

Conversation

@mmulchandani
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant