Explainers

Additional explainers for specific packages and frameworks

explain_scikitlearn()

Wrapper for Python Scikit-Learn Models

explain_h2o()

Create explainer from your h2o model

explain_keras()

Wrapper for Python Keras Models

explain_mlr()

Create explainer from your mlr model

explain_mlr3()

Create explainer from your mlr model

explain_xgboost()

Create explainer from your xgboost model

explain_tidymodels()

Create explainer from your tidymodels workflow.

Yhats

Specific versions of the generic yhat function

yhat(<WrappedModel>) yhat(<H2ORegressionModel>) yhat(<H2OBinomialModel>) yhat(<H2OMultinomialModel>) yhat(<scikitlearn_model>) yhat(<keras>) yhat(<LearnerRegr>) yhat(<LearnerClassif>) yhat(<GraphLearner>) yhat(<xgb.Booster>) yhat(<workflow>) yhat(<model_stack>)

Wrapper over the predict function

Model info

Specific versions of the generic model_info function

model_info(<WrappedModel>) model_info(<H2ORegressionModel>) model_info(<H2OBinomialModel>) model_info(<H2OMultinomialModel>) model_info(<scikitlearn_model>) model_info(<keras>) model_info(<LearnerRegr>) model_info(<LearnerClassif>) model_info(<GraphLearner>) model_info(<xgb.Booster>) model_info(<workflow>) model_info(<model_stack>)

Exract info from model

Champion Challenger

Functions used for the Champion Challenger analysis

champion_challenger()

Compare machine learning models

funnel_measure()

Caluculate difference in performance in models across different categories

print(<funnel_measure>)

Print funnel_measure object

plot(<funnel_measure>)

Funnel plot for difference in measures

overall_comparison()

Compare champion with challengers globally

print(<overall_comparison>)

Print overall_comparison object

plot(<overall_comparison>)

Plot function for overall_comparison

training_test_comparison()

Compare performance of model between training and test set

print(<training_test_comparison>)

Print funnel_measure object

plot(<training_test_comparison>)

Plot and compare performance of model between training and test set

Predict surrogate (LIME)

Additional functions for the LIME method https://ema.drwhy.ai/LIME.html

predict_surrogate() predict_surrogate_local_model() predict_model.dalex_explainer() model_type.dalex_explainer() predict_surrogate_lime() plot(<predict_surrogate_lime>) predict_surrogate_iml()

Instance Level Surrogate Models

Misc

dalex_load_explainer()

DALEX load explainer

print(<scikitlearn_set>)

Prints scikitlearn_set class

create_env()

Create your conda virtual env with DALEX