"Cell \u001b[0;32mIn[62], line 9\u001b[0m, in \u001b[0;36mgenerate_split_predictions\u001b[0;34m(algo, ratings_dataset, eval_config)\u001b[0m\n\u001b[1;32m 6\u001b[0m trainset, testset \u001b[38;5;241m=\u001b[39m train_test_split(ratings_dataset, test_size\u001b[38;5;241m=\u001b[39meval_config\u001b[38;5;241m.\u001b[39mtest_size)\n\u001b[1;32m 8\u001b[0m \u001b[38;5;66;03m# Training the algorithm on the train data set\u001b[39;00m\n\u001b[0;32m----> 9\u001b[0m \u001b[43malgo\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mfit\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtrainset\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 11\u001b[0m \u001b[38;5;66;03m# Predict ratings for the testset\u001b[39;00m\n\u001b[1;32m 12\u001b[0m predictions \u001b[38;5;241m=\u001b[39m algo\u001b[38;5;241m.\u001b[39mtest(testset)\n",