Skip to content

Commit

Permalink
Change the default setting for the convergence criterion
Browse files Browse the repository at this point in the history
  • Loading branch information
statwangz committed Oct 15, 2023
1 parent c55b920 commit e70ed46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/mfairSingleFactor.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fitSFSparse <- function(Y, X, init,
obs_indices,
learning_rate, tree_parameters,
stage1 = TRUE,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-5,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-6,
verbose_sf = TRUE, verbose_loop = TRUE,
save_tree_list = TRUE) {
N <- nrow(Y)
Expand Down Expand Up @@ -188,7 +188,7 @@ fitSFMissing <- function(Y, X, init,
obs_indices,
learning_rate, tree_parameters,
stage1 = TRUE,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-5,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-6,
verbose_sf = TRUE, verbose_loop = TRUE,
save_tree_list = TRUE) {
N <- nrow(Y)
Expand Down Expand Up @@ -357,7 +357,7 @@ fitSFMissing <- function(Y, X, init,
fitSFFully <- function(Y, X, init,
learning_rate, tree_parameters,
stage1 = TRUE,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-5,
iter_max = 5e+3, tol_stage1 = 0.1, tol_stage2 = 1e-6,
verbose_sf = TRUE, verbose_loop = TRUE,
save_tree_list = TRUE) {
N <- nrow(Y)
Expand Down
2 changes: 1 addition & 1 deletion man/fitSFFully.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fitSFMissing.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fitSFSparse.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e70ed46

Please sign in to comment.