Skip to content

Commit

Permalink
Fix iamaresearcher.rst ratiosplit codes (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylong committed May 23, 2024
1 parent cd5c63f commit 604b4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/user/iamaresearcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ experiments using the ``cornac.Experiment`` class.
ml_100k = cornac.datasets.movielens.load_feedback()
# Split the data into training and testing sets
rs = RatioSplit(data=ml_100k, test_size=0.2, rating_threshold=4.0, seed=123)
rs = RatioSplit(data=ml_100k, test_size=0.1, val_size=0.1, rating_threshold=4.0, seed=123)
# Instantiate Recall@100 for evaluation
rec100 = cornac.metrics.Recall(100)
Expand Down

0 comments on commit 604b4c6

Please sign in to comment.