# Import statement
from hottbox.algorithms.decomposition import HOSVD
HOSVD
(process=(), verbose=False)[source]¶Higher Order Singular Value Decomposition.
Specifies the order of modes to be processed. The factor matrices for the missing modes will be set to identity. If empty, then all modes are processed in the consecutive ascending order.
If True, enable verbose output
Attributes
Name of the decomposition |
converged |
Methods
|
Copy of the HOSVD algorithm as a new object |
|
Performs tucker decomposition via Higher Order Singular Value Decomposition (HOSVD) |
plot |
decompose
(self, tensor, rank, keep_meta=0)[source]¶Performs tucker decomposition via Higher Order Singular Value Decomposition (HOSVD)
Multidimensional data to be decomposed
Desired multilinear rank for the given tensor
Keep meta information about modes of the given tensor. 0 - the output will have default values for the meta data 1 - keep only mode names 2 - keep mode names and indices
Tucker representation of the tensor
name
¶Name of the decomposition