AlgorithmsΒΆ

cp_als(X, rank[, random_state, init]) Fits CP Decomposition using the Alternating Least Squares (ALS).
ncp_bcd(X, rank[, random_state, init]) Fits nonnegative CP Decomposition using the Block Coordinate Descent (BCD) Method.
ncp_hals(X, rank[, random_state, init]) Fits nonnegtaive CP Decomposition using the Hierarcial Alternating Least Squares (HALS) Method.