Collarborative filtering is used to learn both parameter and input from at the same time.
Cost Function
Note: returns whether the exists
Mean Normalization
To let the model predict mean for new users, we normalize all by mean, then the regualrization will make zero.