Commit 27e36587 authored by Markus Shepherd's avatar Markus Shepherd

enable similarity model for BGA recommendations

parent 71c65033
......@@ -293,7 +293,7 @@ class GameViewSet(PermissionsModelViewSet):
recommendation = recommender.recommend(
users=(user,),
# similarity_model=take_first(params.get('model')) == 'similarity',
similarity_model=request.query_params.get('model') == 'similarity',
# exclude_known=parse_bool(take_first(params.get('exclude_known'))),
# exclude_clusters=parse_bool(take_first(params.get('exclude_clusters'))),
star_percentiles=getattr(settings, 'STAR_PERCENTILES', None),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment