Multiway API Reference
Functions
ChemometricsTools.MultiCenter — Type.MultiCenter(Z, mode = 1)Acquires the mean of the specified mode in Z and returns a transform that will remove those means from any future data.
ChemometricsTools.MultiCenter — Method.(T::MultiCenter)(Z; inverse = false)Centers data in Tensor Z mode-wise according to learned centers in MultiCenter object T.
ChemometricsTools.MultiScale — Type.MultiScale(Z, mode = 1)Acquires the standard deviations of the specified mode in Z and returns a transform that will scale by those standard deviations from any future data.
ChemometricsTools.MultiScale — Method.(T::MultiScale)(Z; inverse = false)Scales data in Tensor Z mode-wise according to learned standard deviations in MultiScale object T.
ChemometricsTools.MultiNorm — Method.MultiNorm(T)Computes the equivalent of the Froebinius norm on a tensor T. Returns a scalar.
ChemometricsTools.MultiPCA — Method.MultiPCA(X; Factors = 2)Performs multiway PCA aka Higher Order SVD aka Tucker, etc. The number of factors decomposed can be a scalar(repeated across all modes) or a vector/tuple for each mode.
Returns a tuple of (Core Tensor, Basis Tensors)