R/additive_load.R

Defines functions .onLoad

# The functions below define the model information. These access the model
# environment inside of parsnip so they have to be executed once parsnip has
# been loaded.

.onLoad <- function(libname, pkgname) {
  # This defines additive model function in the parsnip model database
  additive_make(modes = c("classification", "regression")) # nolint
}

Try the additive package in your browser

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

additive documentation built on June 17, 2022, 1:05 a.m.