prior_update_arma_ptr_parallel {qch} | R Documentation |
Update of the prior estimate in EM algo parallelized version
Description
Update of the prior estimate in EM algo parallelized version
Usage
prior_update_arma_ptr_parallel(
Hconfig,
fHconfig_sum,
OldPrior,
Logf0Mat,
Logf1Mat,
threads_nb = 0L
)
Arguments
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 |
Value
a double vector containing the new estimate of prior w_c
[Package qch version 2.0.0 Index]