Skip to content

Commit

Permalink
docs for fit_best() #713
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Aug 23, 2023
1 parent 96fea81 commit f7821c7
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.
#'
#' In comparison to [last_fit()], that function requires a finalized model, fits
#' the model on the training set defined by [rsample::initial_split()], and
#' computes metrics from the test set.
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 f7821c7

Please sign in to comment.