prior_update_arma_ptr_parallel | R Documentation |
Update of the prior estimate in EM algo parallelized version
prior_update_arma_ptr_parallel(
Hconfig,
fHconfig_sum,
OldPrior,
Logf0Mat,
Logf1Mat,
threads_nb = 0L
)
Hconfig |
list of vector of 0 and 1, corresponding to the configurations |
fHconfig_sum |
a double vector containing sum_c(w_c*psi_c), obtained by fHconfig_sum_update_ptr_parallel() |
OldPrior |
a double vector containing the prior w_c |
Logf0Mat |
a double matrix containing the log(f0(xi_q)) |
Logf1Mat |
a double matrix containing the log(f1(xi_q)) |
threads_nb |
an int the number of threads |
a double vector containing the new estimate of prior w_c
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.