C2 Flashcards
1
Q
Matrix factorization with gradient descent
A
- initialize all variables at random
- iterate over all records (user, item, rating):
- calculate the direction of the steepest descend of function f()
- make a step of size L_rate in this direction
till convergence or a stop criterion is met
2
Q
regularization
A
extra mechanism that controls the complexity of the model (lambda): prevent overfitting
eg. punish the polynomial for having too high values of coefficients