Defines functions dalex_load_explainer

Documented in dalex_load_explainer

#' DALEX load explainer
#' Load DALEX explainer created with Python library into the R environment.
#' @param path Path to the pickle file with explainer saved.
#' @details 
#' Function uses the \code{reticulate} package to load Python object saved
#' in a pickle and make it accessible within R session. It also adds explainer
#' class to the object so it can be used with DALEX R functions.
#' @export
dalex_load_explainer <- function(path) {
  dalex_load_object(path, "explainer")

Try the DALEXtra package in your browser

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

DALEXtra documentation built on May 31, 2023, 5:30 p.m.