Description Usage Arguments Author(s)
Fits a rank-1 tensor mean model with a homoscedastic error term. It does this via a variational Bayesian approach with a unimodal prior on the components of the mean tensor.
1 2 3 4 5 |
Y |
An array of numerics. The data. |
var_type |
A string. What variance model should we assume?
Options are homoscedastic noise ( |
tol |
A positive numeric. The stopping criterion for the VEM. |
itermax |
A positive integer. The maximum number of iterations to run the VEM |
alpha |
A non-negative numeric. The prior shape parameter for the variance. Defaults to zero. |
beta |
A non-negative numeric. The prior rate parameter for the variance. Defaults to zero. |
mixcompdist |
The mixing distribution to assume. Defaults to
normal. Options are those available in the |
sig_start_itermax |
A positive integer. The number of iterations to run in initializing the precision before starting the VEM. Defaults to 10. |
nullweight |
A numeric greater than or equal to 1. The penalty term on the probability of zero. |
print_update |
A logical. Should we print notifications on how far along the optimization is? |
start |
How should we choose the starting values? Either using
the first singular vector along each mode ( |
known_factors |
A list of known factors for the modes
indicated in |
known_modes |
A vector of integers. The modes that are
known. Should be the same length as |
homo_modes |
A vector of integers. If |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.