Skip to content

Commit

Permalink
Standardize statements that report the results of running the software
Browse files Browse the repository at this point in the history
  • Loading branch information
statwangz committed Oct 28, 2023
1 parent 01513d0 commit bf1ef2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/mfairBackfitting.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fitBack <- function(object,

if (verbose_bf_inner) {
cat(
"Backfitting for ", k, "-th factor finished!\n",
"Backfitting for Factor ", k, " finished!\n",
sep = ""
)
}
Expand Down
4 changes: 2 additions & 2 deletions R/mfairGreedy.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ fitGreedy <- function(object, K_max = NULL,
# Initialize
if (need_init[k]) {
if (verbose_greedy) {
message("Initialize the parameters of factor ", k, "......")
message("Initialize the parameters of Factor ", k, "......")
}
init <- initSF(R, object@Y_missing, object@Y_sparse, object@n_obs)
} else {
if (verbose_greedy) {
message("Use the user-specific initialization for factor ", k, "......")
message("Use the user-specific initialization for Factor ", k, "......")
}
init <- object@initialization[[k]]
}
Expand Down

0 comments on commit bf1ef2e

Please sign in to comment.