Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
lthoang committed Nov 24, 2023
1 parent bae4cbd commit c6a349b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cornac/eval_methods/next_basket_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ def ranking_eval(
Parameters
----------
model: :obj:`cornac.models.Recommender`, required
Recommender model to be evaluated.
model: :obj:`cornac.models.BasketRecommender`, required
BasketRecommender model to be evaluated.
metrics: :obj:`iterable`, required
List of rating metrics :obj:`cornac.metrics.RankingMetric`.
train_set: :obj:`cornac.data.Dataset`, required
Dataset to be used for model training. This will be used to exclude
train_set: :obj:`cornac.data.BasketDataset`, required
BasketDataset to be used for model training. This will be used to exclude
observations already appeared during training.
test_set: :obj:`cornac.data.Dataset`, required
Dataset to be used for evaluation.
test_set: :obj:`cornac.data.BasketDataset`, required
BasketDataset to be used for evaluation.
repetition_eval: boolean, optional,
Evaluation on repetition items, appeared in history baskets.
Expand Down

0 comments on commit c6a349b

Please sign in to comment.