man-roxygen/roxlate-ml-decision-trees-type.R

#' @param type The type of model to fit. \code{"regression"} treats the response
#'   as a continuous variable, while \code{"classification"} treats the response
#'   as a categorical variable. When \code{"auto"} is used, the model type is
#'   inferred based on the response variable type -- if it is a numeric type,
#'   then regression is used; classification otherwise.
rstudio/sparklyr documentation built on April 30, 2024, 4:01 p.m.