Skip to content
Snippets Groups Projects
Unverified Commit 604b4c6e authored by darrylong's avatar darrylong Committed by GitHub
Browse files

Fix iamaresearcher.rst ratiosplit codes (#623)

parent cd5c63f8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment