C2 Flashcards

1
Q

Matrix factorization with gradient descent

A
  1. initialize all variables at random
  2. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly