SuperLearner wrapper for ml_model

SL(
  formula = ~.,
  ...,
  SL.library = c("SL.mean", "SL.glm"),
  binomial = FALSE,
  data = NULL,
  info = "SuperLearner"
)

Arguments

formula

Model design

...

Additional arguments for SuperLearner::SuperLearner

SL.library

character vector of prediction algorithms

binomial

boolean specifying binomial or gaussian family (default FALSE)

data

Optional data.frame

info

model information (optional)

Value

ml_model object

Author

Klaus Kähler Holst