code: def u1_ml100k():
      """Return a Dataset object that contains 10% of the u1 fold from movielens
      100k. Trainset has 8000 ratings and testset has 2000.
      """
      train_file = os.path.join(
          os.path.dirname(__file__), "./u1_ml100k_train"
      )
      test_file = os.path.join(
          os.path.dirname(__file__), "./u1_ml100k_test"
      )
      data = Dataset.load_from_folds(
          [(train_file, test_file)], Reader("ml-100k")
      )
  
      return data
  
file_path: Surprise/tests/conftest.py
imports: import os
  import pytest
  from surprise import Dataset, Reader
  from surprise.model_selection import PredefinedKFold
label_desc: Use image node_id 3 for calling a global function with example usage: u1_ml100k() and returns: data