From 604b4c6e3e684c0c2461902b6c6aa447382e831c Mon Sep 17 00:00:00 2001
From: darrylong <darrylong@users.noreply.github.com>
Date: Thu, 23 May 2024 16:33:53 +0800
Subject: [PATCH] Fix iamaresearcher.rst ratiosplit codes (#623)

---
 docs/source/user/iamaresearcher.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/source/user/iamaresearcher.rst b/docs/source/user/iamaresearcher.rst
index c3647eb9..fbbad530 100644
--- a/docs/source/user/iamaresearcher.rst
+++ b/docs/source/user/iamaresearcher.rst
@@ -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)
-- 
GitLab