Conventions for MLModels Implementation"

  collapse = TRUE,
  comment = "#>"

Model Constructor Components

Constructor Arguments

name Slot

packages Slot

response_types Slot

params Slot

nvars Function

fit Function

if(!all(weights == 1)) warning("weights are not supported and will be ignored")

predict Function

varimp Function

Documenting an MLModel

Model Parameters

Details Section

Default values for the \code{NULL} arguments and further model details can be found in the source link below.

Return (Value) Section

MLModel class object.

See Also Section

\code{\link[<source package>]{<fit function>}}, \code{\link{fit}},
\code{\link{resample}}, \code{\link{tune}}

Package Extensions

Try the MachineShop package in your browser

Any scripts or data that you put into this service are public.

MachineShop documentation built on June 18, 2021, 9:06 a.m.