mprod base module¶
The mprod module includes tensor decomposition utilities
and algorithms, such as TCAM, MeanDeviationForm.
Standardize the data by subtracting the mean (or empiric mean) sample The mean deviation form of a tensor \(X \in \mathbb{R}^{m \times p \times n}\) is calculated as: |
|
Returns the \(\star_{\mathbf{M}}\) product of tensors A and B where |
|
|
|
Creates a picklable tensor transformation forming the mod3 tensor-matrix multiplication required in the M product definition. |
|
Reshapes a nm x p ((samples x reps) x features) multi-indexed datafram to form a m x p x n tensor (subjects, features, reps) |