# CP Decompositions

The Tensor Toolbox provides the following CP-like decompositions:

- `cp_als` - Alternating least squares (ALS) method, the gold standard
- `cp_arls` - Alternating randomized least squares (ALS) method, randomizing the least squares solves
- `cp_opt` - Direct optimization (OPT) method
- `cp_wopt` - Weighted direct optimization (WOPT) method for handling missing data
- `cp_apr` - Alternating Poisson regression (APR) using KL-divergence fitting function for Poisson tensor decomposition
- `cp_sym` - Direct optimization for symmetric CP decomposition (to be documented)
- `cp_rals` - Randomized ALS method that uses matrix sketching
- `gcp_opt` - Generalized CP with alternative loss functions