This generic function let user extract base information about model. The function returns a named list of class model_info that
contain about package of model, version and task type. For wrappers like mlr or caret both, package and wrapper inforamtion
are stored
# S3 method for WrappedModel
model_info(model, ...)# S3 method for H2ORegressionModel
model_info(model, ...)
# S3 method for H2OBinomialModel
model_info(model, ...)
# S3 method for scikitlearn_model
model_info(model, ...)
# S3 method for keras
model_info(model, ...)
# S3 method for LearnerRegr
model_info(model, ...)
# S3 method for LearnerClassif
model_info(model, ...)
- model object
- another arguments
Currently supported packages are:
mlr models created with mlr package
h2o models created with h2o package
scikit-learn models created with scikit-learn pyhton library and accesed via reticulate
keras models created with keras pyhton library and accesed via reticulate
mlr3 models created with mlr3 package
A named list of class model_info