Skip to content

Commit

Permalink
verbose => verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
egenn committed Nov 18, 2024
1 parent 0c406c8 commit eb7c679
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/resample.R
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ print.resample <- function(x, ...) {

#' @export

print1.resample <- function(x, verbosity = TRUE, ...) {
print1.resample <- function(x, verbosity = 0, ...) {
resampler <- attr(x, "resampler")
if (resampler == "loocv") {
.text <- "Leave-one-out crossvalidation"
Expand Down
4 changes: 2 additions & 2 deletions R/rtMod.R
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@ rtModCV <- R6::R6Class(
# cat(" N of repeats:", self$n.repeats, "\n")
cat(
" Outer resampling: ",
print1(self$resamples[[1]], verbose = FALSE),
print1(self$resamples[[1]], verbosity = 0),
" (", singorplu(self$n.repeats, "repeat"),
")\n",
sep = ""
Expand All @@ -1641,7 +1641,7 @@ rtModCV <- R6::R6Class(
cat(
"Mean Balanced Accuracy:",
self$error.test.repeats.mean$Balanced.Accuracy,
"\nMean AUC:", self$error.test.repeats.mean$AUC, "\n"
"\n Mean AUC:", self$error.test.repeats.mean$AUC, "\n"
)
} else {
cat(
Expand Down

0 comments on commit eb7c679

Please sign in to comment.