
Last chance! 50% off unlimited learning
Sale ends in
The function checks whether the model given by x
is supported.
If x
is not a supported model the function will return an error message, otherwise it return NULL
(meaning all types of models with this class is supported)
model_checker(x)# S3 method for default
model_checker(x)
# S3 method for ar
model_checker(x)
# S3 method for Arima
model_checker(x)
# S3 method for forecast_ARIMA
model_checker(x)
# S3 method for glm
model_checker(x)
# S3 method for lm
model_checker(x)
# S3 method for gam
model_checker(x)
# S3 method for ranger
model_checker(x)
# S3 method for workflow
model_checker(x)
# S3 method for xgb.Booster
model_checker(x)
Error or NULL
Model object for the model to be explained.
See predict_model()
for more information about what type of models shapr
currently support.