Algorithms
GCPDecompositions.GCPAlgorithms — ModuleAlgorithms for Generalized CP Decomposition.
GCPDecompositions.GCPAlgorithms.AbstractAlgorithm — TypeAbstractAlgorithmAbstract type for GCP algorithms.
Concrete types ConcreteAlgorithm <: AbstractAlgorithm should implement _gcp(X, r, loss, constraints, algorithm::ConcreteAlgorithm) that returns a CPD.
GCPDecompositions.GCPAlgorithms.ALS — TypeALSAlternating Least Squares. Workhorse algorithm for LeastSquares loss with no constraints.
Algorithm parameters:
maxiters::Int: max number of iterations (default:200)
GCPDecompositions.GCPAlgorithms.FastALS — TypeFastALSFast Alternating Least Squares.
Efficient ALS algorithm proposed in:
Fast Alternating LS Algorithms for High Order CANDECOMP/PARAFAC Tensor Factorizations. Anh-Huy Phan, Petr Tichavský, Andrzej Cichocki. IEEE Transactions on Signal Processing, 2013. DOI: 10.1109/TSP.2013.2269903
Algorithm parameters:
maxiters::Int: max number of iterations (default:200)
GCPDecompositions.GCPAlgorithms.LBFGSB — TypeLBFGSBLimited-memory BFGS with Box constraints.
Brief description of algorithm parameters:
m::Int: max number of variable metric corrections (default:10)factr::Float64: function tolerance in units of machine epsilon (default:1e7)pgtol::Float64: (projected) gradient tolerance (default:1e-5)maxfun::Int: max number of function evaluations (default:15000)maxiter::Int: max number of iterations (default:15000)iprint::Int: verbosity (default:-1)iprint < 0means no outputiprint = 0prints only one line at the last iteration0 < iprint < 99printsfand|proj g|everyiprintiterationsiprint = 99prints details of every iteration except n-vectorsiprint = 100also prints the changes of active set and finalxiprint > 100prints details of every iteration includingxandg
See documentation of LBFGSB.jl for more details.
GCPDecompositions.GCPAlgorithms.FastALS_iter! — MethodFastALS_iter!(X, U, λ)
Algorithm for computing MTTKRP sequences is from "Fast Alternating LS Algorithms
for High Order CANDECOMP/PARAFAC Tensor Factorizations" by Phan et al., specifically
section III-C.