Skip to content

Commit

Permalink
Merge pull request #713 from tidymodels/doc-fit-best-validation-set
Browse files Browse the repository at this point in the history
docs for `fit_best()`
  • Loading branch information
hfrick authored Aug 23, 2023
2 parents 1e04c48 + 2ac5393 commit 0dda348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions R/fit_best.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @param verbose A logical for printing logging.
#' @param add_validation_set When the resamples embedded in `x` are a split into
#' training set and validation set, should the validation set be included in the
#' data set used to train the model. If not, only the training set is used. If
#' data set used to train the model? If not, only the training set is used. If
#' `NULL`, the validation set is not used for resamples originating from
#' [rsample::validation_set()] while it is used for resamples originating
#' from [rsample::validation_split()].
Expand All @@ -30,10 +30,6 @@
#' wflow_fit <- fit(wflow, data_set)
#' }
#'
#' The data used for the fit are taken from the `splits` column. If the split
#' column was from a validation split, the combined training and validation sets
#' are used.
#'
#' @inheritSection last_fit See also
#'
#' @examplesIf tune:::should_run_examples()
Expand Down
6 changes: 1 addition & 5 deletions man/fit_best.Rd

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

0 comments on commit 0dda348

Please sign in to comment.