Skip to content

Commit

Permalink
changed amount of recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchernykh committed Feb 1, 2021
1 parent ea15a3b commit 1efbec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recommendation.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def recommend_subjects(subject_user: pd.DataFrame,
return sorted_similar_subjects


def process_user(user_query: Dict[str, List[int]], df: pd.DataFrame, amount_to_recommend: int = 5) -> None:
def process_user(user_query: Dict[str, List[int]], df: pd.DataFrame, amount_to_recommend: int = 6) -> None:
"""
This function creates a recommendation based on the user_query.
1. Select only the fields basde on which will be created the consin similarity
Expand Down

0 comments on commit 1efbec3

Please sign in to comment.