utils

Useful functions.

Functions

get_viewed_item_ids(user_items, user_id)

Return indices of items that user has interacted with.

recommend_from_scores(scores, k[, ...])

Prepare top-k recommendations for a user.