Fix "most_common_interests_with" function in introduction
luizfsf2 opened this issue · 0 comments
luizfsf2 commented
def most_common_interests_with(user_id):
return Counter([interested_user_id
for interest in interests_by_user_id[user_id]
for interested_user_id in user_ids_by_interest[interest]
if interested_user_id != user_id])