# Alternating Least Square


Derivation of formula

Walkthough:
- randomly initialize u and v matrix
- keep V fixed and solve for U
- Keep U fixed and solve for V
- compute gradients
- repeat step 2 - 4









ALS may not converge, or it may get stuck in a flat region colloquially called “The Swamp”. A way to fight this is through regularization.
Formula with regularization

derivative of formula with regularization
