View source: R/elbo_convergence.R View source: R/elbo_calculation.R
check_convergence | R Documentation |
Checks if the algorithim has converged with the given threshold
check_convergence(prev_elbo, curr_elbo, convergence_threshold)
prev_elbo |
The elbo value from the previous iteration |
curr_elbo |
The elbo value from the current iteration |
convergence_threshold |
The threshold that determines when the model has converged |
A boolean whether the algorithim has converged
check_convergence(prev_elbo, curr_elbo, convergence_threshold)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.