xaib.explainers.example_selection

class xaib.explainers.example_selection.constant_explainer.ConstantExplainer(train_ds, example, **kwargs)[source]
predict(x, model)[source]

Method to encapsulate inference. May include preprocessing steps to make model self-sufficient.




class xaib.explainers.example_selection.knn_explainer.KNNExplainer(train_ds, **kwargs)[source]
predict(x, model)[source]

Method to encapsulate inference. May include preprocessing steps to make model self-sufficient.




class xaib.explainers.example_selection.random_explainer.RandomExplainer(train_ds, **kwargs)[source]
predict(x, model)[source]

Method to encapsulate inference. May include preprocessing steps to make model self-sufficient.