Skip to content

Commit 5810f30

Browse files
committed
additional export for tidymodels/tune#292 and tidymodels/tune#288
1 parent d843daf commit 5810f30

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

R/predict.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ make_pred_call <- function(x) {
226226
cl
227227
}
228228

229-
229+
#' Prepare data based on parsnip encoding information
230+
#' @param object A parsnip model object
231+
#' @param new_data A data frame
232+
#' @return A data frame or matrix
233+
#' @keywords internal
230234
prepare_data <- function(object, new_data) {
231235
fit_interface <- object$spec$method$fit$interface
232236

man/prepare_data.Rd

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)