Model Level Explanations

Functions that generate model level explanations

feature_importance()

Feature Importance

partial_dependency()

Partial Dependency Profiles

accumulated_dependency()

Accumulated Local Effects Profiles aka ALEPlots

conditional_dependency() local_dependency()

Conditional Dependency Profiles

aggregate_profiles()

Aggregates Ceteris Paribus Profiles

cluster_profiles()

Cluster Ceteris Paribus Profiles

Instance Level Explanations

Functions that generate instance level explanations

ceteris_paribus()

Ceteris Paribus Profiles aka Individual Variable Profiles

ceteris_paribus_2d()

Ceteris Paribus 2D Plot

calculate_oscillations()

Calculate Oscillations for Ceteris Paribus Explainer

Generics

Generic functions for explanations

describe()

Natural language description of feature importance explainer

print(<aggregated_profiles_explainer>)

Prints Aggregated Profiles

print(<ceteris_paribus_explainer>)

Prints Individual Variable Explainer Summary

Plots

Plotting functions for explanations

plot(<aggregated_profiles_explainer>)

Plots Aggregated Profiles

plot(<ceteris_paribus_2d_explainer>)

Plot Ceteris Paribus 2D Explanations

plot(<ceteris_paribus_explainer>)

Plots Ceteris Paribus Profiles

plot(<ceteris_paribus_oscillations>)

Plot Ceteris Paribus Oscillations

plot(<feature_importance_explainer>)

Plots Feature Importance

show_aggregated_profiles()

Adds a Layer with Aggregated Profiles

show_observations()

Adds a Layer with Observations to a Profile Plot

show_profiles()

Adds a Layer with Profiles

show_residuals()

Adds a Layer with Residuals to a Profile Plot

show_rugs()

Adds a Layer with Rugs to a Profile Plot

plotD3()

Plots Ceteris Paribus Profiles in D3 with r2d3 Package.

plotD3(<aggregated_profiles_explainer>)

Plots Aggregated Ceteris Paribus Profiles in D3 with r2d3 Package.

plotD3(<feature_importance_explainer>)

Plot Feature Importance Objects in D3 with r2d3 Package.

Utils

Utils for explanations

select_neighbours()

Select Subset of Rows Closest to a Specified Observation

select_sample()

Select Subset of Rows