From a495d93b1031c0df332fb81399f10fd5d0e29c97 Mon Sep 17 00:00:00 2001 From: Hannah Frick Date: Fri, 4 Oct 2024 14:07:58 +0100 Subject: [PATCH] fix set For the bootstrap, the analysis set has the replications, the assessment set are the out-of-bag samples thus no duplicates. --- R/post-action-tailor.R | 2 +- man/add_tailor.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/post-action-tailor.R b/R/post-action-tailor.R index f8d9787..c04075e 100644 --- a/R/post-action-tailor.R +++ b/R/post-action-tailor.R @@ -50,7 +50,7 @@ #' ``` #' boots <- rsample::bootstraps(some_other_data) #' split <- rsample::get_rsplit(boots, 1) -#' data <- rsample::assessment(split) +#' data <- rsample::analysis(split) #' ``` #' #' In this case, some of the rows in `data` will be duplicated. Thus, randomly diff --git a/man/add_tailor.Rd b/man/add_tailor.Rd index 85450f1..76b07bb 100644 --- a/man/add_tailor.Rd +++ b/man/add_tailor.Rd @@ -68,7 +68,7 @@ leakage. However, \code{fit.workflow(data)} could also have arisen as: \if{html}{\out{
}}\preformatted{boots <- rsample::bootstraps(some_other_data) split <- rsample::get_rsplit(boots, 1) -data <- rsample::assessment(split) +data <- rsample::analysis(split) }\if{html}{\out{
}} In this case, some of the rows in \code{data} will be duplicated. Thus, randomly