Skip to content

Commit

Permalink
change convergence criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
saracoco committed Dec 18, 2024
1 parent 4fd5faa commit c1d9d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fit_variational_h.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#'
#' @export

fit_variational_h <- function(input_data, max_attempts = 2, initialization = NULL, INIT = TRUE, initial_iter = 100, grad_samples = 100, elbo_samples = 100, tolerance = 0.01) {
fit_variational_h <- function(input_data, max_attempts = 2, initialization = NULL, INIT = TRUE, initial_iter = 100, grad_samples = 200, elbo_samples = 200, tolerance = 0.01) {
# Load the Stan model
model <- get_model("hierarchical")
# cmdstanr::cmdstan_model("../models/timing_mixed_simple.stan")
Expand Down

0 comments on commit c1d9d6c

Please sign in to comment.