r-lib / generics
1
#' Determine the minimum set of model fits
2
#'
3
#' `min_grid()` determines exactly what models should be fit in order to
4
#'  evaluate the entire set of tuning parameter combinations. This is for
5
#'  internal use only and the API may change in the near future.
6
#' @param x A model specification.
7
#' @param grid A tibble with tuning parameter combinations.
8
#' @param ... Not currently used.
9
#' @return A tibble with the minimum tuning parameters to fit and an additional
10
#' list column with the parameter combinations used for prediction.
11
#' @section Methods:
12
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("min_grid")}
13
#' @export
14
min_grid <- function(x, grid, ...) {
15 0
  UseMethod("min_grid")
16
}

Read our documentation on viewing source code .

Loading