Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
myui committed Jan 31, 2025
1 parent 57c7249 commit de695ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtrec/recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def generate_evaluation_pairs() -> Iterable[Tuple[List[Any], List[Any]]]:
batch_user_tags = [user_tags.get(user, []) for user in batch_users] if user_tags else None

# Get recommended items for the batch of users
batch_results = self.recommend_batch(batch_users, user_tags = batch_user_tags, top_k=recommend_size, filter_interacted=filter_interacted)
batch_results = self.recommend_batch(batch_users, users_tags=batch_user_tags, top_k=recommend_size, filter_interacted=filter_interacted)

# Yield recommendations and ground truth for each user in the batch
for user, recommended_items in zip(batch_users, batch_results):
Expand Down

0 comments on commit de695ba

Please sign in to comment.