DiCE
Getting Started:
Diverse Counterfactual Explanations (DiCE) for ML
Notebooks:
Quick introduction to generating counterfactual explanations using DiCE
Generating Diverse Counterfactual Explanations without accessing training data
Advanced options to customize Counterfactual Explanations
Generate feasible counterfactual explanations using a VAE
Adding feasibility constraints
Package:
dice_ml package
DiCE
Docs
»
Index
Index
B
|
C
|
D
|
E
|
F
|
G
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
B
BaseModel (class in dice_ml.model_interfaces.base_model)
C
check_features_range() (dice_ml.data_interfaces.public_data_interface.PublicData method)
compute_dist() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
compute_diversity_loss() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
compute_loss() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
(dice_ml.explainer_interfaces.feasible_base_vae.FeasibleBaseVAE method)
compute_proximity_loss() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
compute_regularization_loss() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
compute_yloss() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
convert_to_dataframe() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)
convert_to_dataframe_sparse() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)
CounterfactualExamples (class in dice_ml.diverse_counterfactuals)
D
Data (class in dice_ml.data)
de_normalize_data() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
decide() (in module dice_ml.data)
(in module dice_ml.dice)
(in module dice_ml.model)
decide_implementation_type() (dice_ml.data.Data method)
(dice_ml.dice.Dice method)
(dice_ml.model.Model method)
Dice (class in dice_ml.dice)
dice_ml
module
dice_ml.data
module
dice_ml.data_interfaces
module
dice_ml.data_interfaces.private_data_interface
module
dice_ml.data_interfaces.public_data_interface
module
dice_ml.dice
module
dice_ml.diverse_counterfactuals
module
dice_ml.explainer_interfaces
module
dice_ml.explainer_interfaces.dice_pytorch
module
dice_ml.explainer_interfaces.dice_tensorflow1
module
dice_ml.explainer_interfaces.dice_tensorflow2
module
dice_ml.explainer_interfaces.explainer_base
module
dice_ml.explainer_interfaces.feasible_base_vae
module
dice_ml.explainer_interfaces.feasible_model_approx
module
dice_ml.model
module
dice_ml.model_interfaces
module
dice_ml.model_interfaces.base_model
module
dice_ml.model_interfaces.keras_tensorflow_model
module
dice_ml.model_interfaces.pytorch_model
module
dice_ml.utils
module
dice_ml.utils.helpers
module
dice_ml.utils.sample_architecture
module
dice_ml.utils.sample_architecture.vae_model
module
DicePyTorch (class in dice_ml.explainer_interfaces.dice_pytorch)
DiceTensorFlow1 (class in dice_ml.explainer_interfaces.dice_tensorflow1)
DiceTensorFlow2 (class in dice_ml.explainer_interfaces.dice_tensorflow2)
display_df() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)
do_binary_search() (in module dice_ml.explainer_interfaces.explainer_base)
do_cf_initializations() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
do_linear_search() (in module dice_ml.explainer_interfaces.explainer_base)
do_loss_initializations() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
do_optimizer_initializations() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
do_posthoc_sparsity_enhancement() (dice_ml.explainer_interfaces.explainer_base.ExplainerBase method)
dpp_style() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
E
ExplainerBase (class in dice_ml.explainer_interfaces.explainer_base)
F
FeasibleBaseVAE (class in dice_ml.explainer_interfaces.feasible_base_vae)
FeasibleModelApprox (class in dice_ml.explainer_interfaces.feasible_model_approx)
find_counterfactuals() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
from_dummies() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
G
generate_counterfactuals() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
(dice_ml.explainer_interfaces.explainer_base.ExplainerBase method)
(dice_ml.explainer_interfaces.feasible_base_vae.FeasibleBaseVAE method)
get_adult_data_info() (in module dice_ml.utils.helpers)
get_adult_income_modelpath() (in module dice_ml.utils.helpers)
get_base_gen_cf_initialization() (in module dice_ml.utils.helpers)
get_data_params() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_data_type() (dice_ml.data_interfaces.public_data_interface.PublicData method)
get_decimal_precisions() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_decoded_data() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_dev_data() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_encoded_categorical_feature_indexes() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_features_range() (dice_ml.data_interfaces.public_data_interface.PublicData method)
get_gradient() (dice_ml.model_interfaces.base_model.BaseModel method)
(dice_ml.model_interfaces.keras_tensorflow_model.KerasTensorFlowModel method)
(dice_ml.model_interfaces.pytorch_model.PyTorchModel method)
get_indexes_of_features_to_vary() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_mads() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_minx_maxx() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
get_model_output() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
get_output() (dice_ml.model_interfaces.base_model.BaseModel method)
(dice_ml.model_interfaces.keras_tensorflow_model.KerasTensorFlowModel method)
(dice_ml.model_interfaces.pytorch_model.PyTorchModel method)
get_quantiles_from_training_data() (dice_ml.data_interfaces.public_data_interface.PublicData method)
get_valid_mads() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
I
initialize_CFs() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
K
KerasTensorFlowModel (class in dice_ml.model_interfaces.keras_tensorflow_model)
L
load_adult_income_dataset() (in module dice_ml.utils.helpers)
load_model() (dice_ml.model_interfaces.base_model.BaseModel method)
(dice_ml.model_interfaces.keras_tensorflow_model.KerasTensorFlowModel method)
(dice_ml.model_interfaces.pytorch_model.PyTorchModel method)
M
Model (class in dice_ml.model)
module
dice_ml
dice_ml.data
dice_ml.data_interfaces
dice_ml.data_interfaces.private_data_interface
dice_ml.data_interfaces.public_data_interface
dice_ml.dice
dice_ml.diverse_counterfactuals
dice_ml.explainer_interfaces
dice_ml.explainer_interfaces.dice_pytorch
dice_ml.explainer_interfaces.dice_tensorflow1
dice_ml.explainer_interfaces.dice_tensorflow2
dice_ml.explainer_interfaces.explainer_base
dice_ml.explainer_interfaces.feasible_base_vae
dice_ml.explainer_interfaces.feasible_model_approx
dice_ml.model
dice_ml.model_interfaces
dice_ml.model_interfaces.base_model
dice_ml.model_interfaces.keras_tensorflow_model
dice_ml.model_interfaces.pytorch_model
dice_ml.utils
dice_ml.utils.helpers
dice_ml.utils.sample_architecture
dice_ml.utils.sample_architecture.vae_model
N
normalize_data() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
O
one_hot_encode_data() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
P
predict_fn() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
prepare_df_for_encoding() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
prepare_query_instance() (dice_ml.data_interfaces.private_data_interface.PrivateData method)
(dice_ml.data_interfaces.public_data_interface.PublicData method)
print_list() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)
PrivateData (class in dice_ml.data_interfaces.private_data_interface)
PublicData (class in dice_ml.data_interfaces.public_data_interface)
PyTorchModel (class in dice_ml.model_interfaces.pytorch_model)
R
round_off_cfs() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
S
scipy_optimizers() (dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
set_eval_mode() (dice_ml.model_interfaces.pytorch_model.PyTorchModel method)
split_data() (dice_ml.data_interfaces.public_data_interface.PublicData method)
stop_loop() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
T
tensorflow_optimizers() (dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
train() (dice_ml.explainer_interfaces.feasible_base_vae.FeasibleBaseVAE method)
(dice_ml.explainer_interfaces.feasible_model_approx.FeasibleModelApprox method)
U
update_hyperparameters() (dice_ml.explainer_interfaces.dice_pytorch.DicePyTorch method)
(dice_ml.explainer_interfaces.dice_tensorflow1.DiceTensorFlow1 method)
(dice_ml.explainer_interfaces.dice_tensorflow2.DiceTensorFlow2 method)
V
visualize_as_dataframe() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)
visualize_as_list() (dice_ml.diverse_counterfactuals.CounterfactualExamples method)