Skip to content

Commit 604b4c6

Browse files
authored
Fix iamaresearcher.rst ratiosplit codes (#623)
1 parent cd5c63f commit 604b4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/user/iamaresearcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ experiments using the ``cornac.Experiment`` class.
163163
ml_100k = cornac.datasets.movielens.load_feedback()
164164
165165
# Split the data into training and testing sets
166-
rs = RatioSplit(data=ml_100k, test_size=0.2, rating_threshold=4.0, seed=123)
166+
rs = RatioSplit(data=ml_100k, test_size=0.1, val_size=0.1, rating_threshold=4.0, seed=123)
167167
168168
# Instantiate Recall@100 for evaluation
169169
rec100 = cornac.metrics.Recall(100)

0 commit comments

Comments
 (0)