BTR_CP | R Documentation |
This code applies the model by Guhaniyogi et. al. (2017)
BTR_CP(
input,
max_rank = 1,
n_iter = 100,
n_burn = 0,
hyperparameters = NULL,
save_dir = NULL,
num_threads = NULL
)
input |
An object of class |
max_rank |
(a scalar) The rank of the CP decomposition to be used |
n_iter |
(a scalar) the number of posterior samples desired |
n_burn |
(a scalar) the number of posterior samples to discard as a burn-in |
hyperparameters |
a list with the (scalar) elements |
save_dir |
(a character) A path to a directory in which the temporary
results will be saved. Defaults to |
num_threads |
the number of threads that can be used to find initial conditions |
A list with the posterior samples
## Not run:
input <- TR_simulated_data()
results <- BTR_CP(input)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.