I am learning the collaborative learning algorithm and the sklearn surprise library but I am curious as to what is the use of this parameter in the .predict function.
The documentation states:
We can now predict ratings by directly calling the predict() method. Let’s say you’re interested in user 196 and item 302 (make sure they’re in the trainset!), and you know that the true rating rui=4:
But, the rating is what I am trying to predict. What would be the use of passing it to this function if I already have it?