man-roxygen/args_experiment_wrap.R

#' @param object 
#'    The machine learning model. Different types are allowed. Recommended are
#'    mlr WrappedModel and caret train objects. The object can also be a
#'    function that predicts the outcome given features or anything with an S3
#'    predict function, like an object from class `lm`.
#' @param X
#'    data.frame with the data for the prediction model
#' @param class In case of classification, class specifies the class for which
#'   to predict the probability. By default the multiclass classification is
#'   done.
#' @param ... Further arguments  for the prediction method.
christophM/iml documentation built on April 23, 2024, 1:25 a.m.