dianna
Contents:
How to use DIANNA
Why DIANNA?
Current and planned DIANNA developments
Contributing guidelines
Developer documentation for the DIANNA project
Contributor Covenant Code of Conduct
Examples
General overview of using dianna
Interpreting a leaf identification model with LIME
Model Interpretation using LIME for penguin dataset classifier
Interpreting a weather classification model with LIME
Model Interpretation for Pretrained Binary MNIST Model using KernelSHAP
Model Interpretation for Pretrained Model to Recognize Geometric Shapes using KernelSHAP
Model Interpretation using KernelSHAP for weather prediction regressor
Interpreting a movie review sentiment model with RISE
Model Interpretation for Pretrained ImageNet Model using RISE
Model interpretation using RISE for astronomical timeseries data
Interpreting the sentence classification of legal texts using LIME
Model Interpretation using LIME for penguin dataset classifier
API Reference
dianna
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
W
_
__author__ (in module dianna)
__call__() (_model_utils.StatementClassifierEUlaw method)
(_movie_model.MovieReviewsModelRunner method)
(dianna.utils.onnx_runner.SimpleModelRunner method)
(dianna.utils.SimpleModelRunner method)
__email__ (in module dianna)
__enter__() (dianna._logging_utils.LoggingContext method)
__exit__() (dianna._logging_utils.LoggingContext method)
__version__ (in module dianna)
_calculate_distance() (lime_timeseries.LIMETimeseries method)
_calculate_max_class_std() (rise_image.RISEImage method)
_calculate_mean_class_std() (rise_text.RISEText method)
_convert_to_segments() (in module _ts_utils)
_create_heatemaps() (in module kernelshap_image)
_create_masked_sentences() (rise_text.RISEText method)
_determine_number_masked() (in module dianna.utils.maskers)
_determine_p_keep() (rise_image.RISEImage method)
(rise_text.RISEText method)
_determine_vmax() (in module dianna.visualization.image)
_draw_segments() (in module dianna.visualization.timeseries)
_dtw_distance() (lime_timeseries.LIMETimeseries method)
_fix_whitespace() (dianna.utils.tokenizers.SpacyTokenizer method)
_generate_masks() (rise_text.RISEText method)
_get_explainer() (in module dianna)
_get_explanation_values() (lime_image.LIMEImage method)
_get_full_preprocess_function() (lime_image.LIMEImage method)
(rise_image.RISEImage method)
_get_mask_value() (in module dianna.utils.maskers)
_get_params() (in module _shared)
_get_saliencies() (rise_text.RISEText method)
_get_text_color() (in module dianna.visualization.text)
_get_top_indices() (in module _shared)
_get_top_indices_and_labels() (in module _shared)
_image_utils
module
_is_multivariate (lime_timeseries.LIMETimeseries attribute)
_mask_bottom_ratio() (in module dianna.utils.maskers)
_mask_image() (kernelshap_image.KERNELSHAPImage method)
_methods_checkboxes() (in module _shared)
_model_utils
module
_models_image
module
_models_tabular
module
_models_text
module
_models_ts
module
_movie_model
module
_prepare_image_data() (kernelshap_image.KERNELSHAPImage method)
(lime_image.LIMEImage method)
(rise_image.RISEImage method)
_prepare_input_data_and_model() (rise_image.RISEImage method)
_process_plotting_parameters() (in module dianna.visualization.timeseries)
_project_grids_to_masks() (in module dianna.utils.maskers)
_reshape_result() (rise_text.RISEText static method)
_reshape_result_for_single_label() (lime_text.LIMEText static method)
_run_kernelshap_image() (in module _models_image)
_run_kernelshap_tabular() (in module _models_tabular)
_run_lime_image() (in module _models_image)
_run_lime_tabular() (in module _models_tabular)
_run_lime_text() (in module _models_text)
_run_lime_timeseries() (in module _models_ts)
_run_rise_image() (in module _models_image)
_run_rise_tabular() (in module _models_tabular)
_run_rise_text() (in module _models_text)
_run_rise_timeseries() (in module _models_ts)
_runner() (kernelshap_image.KERNELSHAPImage method)
_segment_image() (kernelshap_image.KERNELSHAPImage static method)
_set_axis_labels() (rise_image.RISEImage method)
_shared
module
_ts_utils
module
_upscale() (in module dianna.utils.maskers)
A
add_sidebar_goddess_logo() (in module _shared)
add_sidebar_logo() (in module _shared)
axis_labels (in module Images)
(kernelshap_image.KERNELSHAPImage attribute)
(lime_image.LIMEImage attribute)
(rise_image.RISEImage attribute)
B
build_markup_for_logo() (in module _shared)
C
choices (in module Images)
(in module Tabular)
(in module Time_series)
classify_texts_eulaw() (in module _model_utils)
close (dianna._logging_utils.LoggingContext attribute)
colormap (in module Images)
(in module Text)
(in module Time_series)
colormap_path (in module Images)
(in module Text)
(in module Time_series)
column_spec (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)
convert_tokens_to_string() (dianna.utils.tokenizers.SpacyTokenizer method)
(dianna.utils.tokenizers.Tokenizer method)
D
dashboard() (in module dianna.cli)
data_directory (in module _shared)
(in module Images)
(in module Text)
(in module Time_series)
description_explainer() (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)
dianna
module
dianna._logging_utils
module
dianna.cli
module
dianna.utils
module
dianna.utils.downloader
module
dianna.utils.maskers
module
dianna.utils.misc
module
dianna.utils.onnx_runner
module
dianna.utils.predict
module
dianna.utils.rise_utils
module
dianna.utils.tokenizers
module
dianna.visualization
module
dianna.visualization.image
module
dianna.visualization.tabular
module
dianna.visualization.text
module
dianna.visualization.timeseries
module
domain_mapper (lime_timeseries.LIMETimeseries attribute)
download() (in module dianna.utils.downloader)
E
explain() (kernelshap_image.KERNELSHAPImage method)
(kernelshap_tabular.KERNELSHAPTabular method)
(lime_image.LIMEImage method)
(lime_tabular.LIMETabular method)
(lime_text.LIMEText method)
(lime_timeseries.LIMETimeseries method)
(rise_image.RISEImage method)
(rise_tabular.RISETabular method)
(rise_text.RISEText method)
(rise_timeseries.RISETimeseries method)
explain_image() (in module dianna)
explain_image_dispatcher (in module _models_image)
explain_tabular() (in module dianna)
explain_tabular_dispatcher (in module _models_tabular)
explain_text() (in module dianna)
explain_text_dispatcher (in module _models_text)
explain_timeseries() (in module dianna)
explain_ts_dispatcher (in module _models_ts)
explainer (kernelshap_tabular.KERNELSHAPTabular attribute)
(lime_image.LIMEImage attribute)
(lime_tabular.LIMETabular attribute)
(lime_text.LIMEText attribute)
(lime_timeseries.LIMETimeseries attribute)
F
feature_names (kernelshap_tabular.KERNELSHAPTabular attribute)
feature_res (rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
feature_selection (lime_timeseries.LIMETimeseries attribute)
features_eulaw() (in module _model_utils)
filename (dianna.utils.onnx_runner.SimpleModelRunner attribute)
(dianna.utils.SimpleModelRunner attribute)
fill_segmentation() (in module _model_utils)
G
gb (in module Tabular)
generate_channel_masks() (in module dianna.utils.maskers)
generate_interpolated_float_masks_for_image() (in module dianna.utils.maskers)
generate_interpolated_float_masks_for_timeseries() (in module dianna.utils.maskers)
generate_tabular_masks() (in module dianna.utils.maskers)
generate_time_series_masks() (in module dianna.utils.maskers)
generate_time_step_masks() (in module dianna.utils.maskers)
get_base64_of_bin_file() (in module _shared)
get_function() (in module dianna.utils)
(in module dianna.utils.misc)
get_kwargs_applicable_to_function() (in module dianna.utils)
(in module dianna.utils.misc)
get_tokenizer() (in module dianna.utils.tokenizers)
grid_options (in module Tabular)
grid_response (in module Tabular)
H
handler (dianna._logging_utils.LoggingContext attribute)
highlight_text() (in module dianna.visualization)
(in module dianna.visualization.text)
Home
module
I
Images
module
input_type (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)
K
keep_masked (rise_tabular.RISETabular attribute)
keep_masked_data (rise_timeseries.RISETimeseries attribute)
keep_masks (rise_tabular.RISETabular attribute)
(rise_timeseries.RISETimeseries attribute)
keep_predictions (rise_tabular.RISETabular attribute)
(rise_timeseries.RISETimeseries attribute)
kernelshap_image
module
kernelshap_tabular
module
KERNELSHAPImage (class in kernelshap_image)
KERNELSHAPTabular (class in kernelshap_tabular)
keys (_movie_model.MovieReviewsModelRunner attribute)
kwargs (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)
L
label_directory (in module _shared)
labels (in module Images)
(in module Text)
(in module Time_series)
level (dianna._logging_utils.LoggingContext attribute)
lime_image
module
lime_tabular
module
lime_text
module
lime_timeseries
module
LIMEImage (class in lime_image)
LIMETabular (class in lime_tabular)
LIMEText (class in lime_text)
LIMETimeseries (class in lime_timeseries)
list_available_files() (in module dianna.utils.downloader)
load_data() (in module _model_utils)
load_example (in module Images)
,
[1]
(in module Tabular)
(in module Text)
(in module Time_series)
,
[1]
load_labels() (in module _model_utils)
load_model() (in module _model_utils)
load_penguins() (in module _model_utils)
load_sunshine() (in module _model_utils)
load_training_data() (in module _model_utils)
locate_channels_axis() (in module dianna.utils)
(in module dianna.utils.misc)
logger (dianna._logging_utils.LoggingContext attribute)
LoggingContext (class in dianna._logging_utils)
M
make_predictions() (in module dianna.utils.predict)
mask_data() (in module dianna.utils.maskers)
mask_data_tabular() (in module dianna.utils.maskers)
mask_token (dianna.utils.tokenizers.Tokenizer attribute)
masked (rise_tabular.RISETabular attribute)
(rise_timeseries.RISETimeseries attribute)
masks (rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
MATCH_token_unk_token (dianna.utils.tokenizers.SpacyTokenizer attribute)
MATCH_token_unk_white (dianna.utils.tokenizers.SpacyTokenizer attribute)
MATCH_white_unk_token (dianna.utils.tokenizers.SpacyTokenizer attribute)
max_filter_size (_movie_model.MovieReviewsModelRunner attribute)
mode (kernelshap_tabular.KERNELSHAPTabular attribute)
(lime_tabular.LIMETabular attribute)
(rise_tabular.RISETabular attribute)
model (in module Images)
(in module Tabular)
(in module Time_series)
model_directory (in module _shared)
model_path (_model_utils.StatementClassifierEUlaw attribute)
module
_image_utils
_model_utils
_models_image
_models_tabular
_models_text
_models_ts
_movie_model
_shared
_ts_utils
dianna
dianna._logging_utils
dianna.cli
dianna.utils
dianna.utils.downloader
dianna.utils.maskers
dianna.utils.misc
dianna.utils.onnx_runner
dianna.utils.predict
dianna.utils.rise_utils
dianna.utils.tokenizers
dianna.visualization
dianna.visualization.image
dianna.visualization.tabular
dianna.visualization.text
dianna.visualization.timeseries
Home
Images
kernelshap_image
kernelshap_tabular
lime_image
lime_tabular
lime_text
lime_timeseries
rise_image
rise_tabular
rise_text
rise_timeseries
Tabular
Text
Time_series
move_axis() (in module dianna.utils)
(in module dianna.utils.misc)
MovieReviewsModelRunner (class in _movie_model)
N
n_masks (rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
normalize() (in module dianna.utils.rise_utils)
num_features (lime_tabular.LIMETabular attribute)
O
onnx_model_node_loader() (in module dianna.utils)
(in module dianna.utils.misc)
onnx_to_tf (kernelshap_image.KERNELSHAPImage attribute)
open_image() (in module _image_utils)
open_timeseries() (in module _ts_utils)
original_data (in module Images)
P
p_keep (rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
page_module (in module Home)
pages (in module Home)
plot_image() (in module dianna.visualization)
(in module dianna.visualization.image)
plot_tabular() (in module dianna.visualization)
(in module dianna.visualization.tabular)
plot_timeseries() (in module dianna.visualization)
(in module dianna.visualization.timeseries)
predict() (in module _models_image)
(in module _models_tabular)
(in module _models_text)
(in module _models_ts)
prediction_placeholder (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)
predictions (rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
preprocess_function (dianna.utils.onnx_runner.SimpleModelRunner attribute)
(dianna.utils.SimpleModelRunner attribute)
(kernelshap_image.KERNELSHAPImage attribute)
(lime_image.LIMEImage attribute)
(lime_text.LIMEText attribute)
(lime_timeseries.LIMETimeseries attribute)
(rise_image.RISEImage attribute)
(rise_tabular.RISETabular attribute)
(rise_text.RISEText attribute)
(rise_timeseries.RISETimeseries attribute)
preprocess_function() (in module _model_utils)
preprocess_img_resnet() (in module _image_utils)
R
reset_example() (in module _shared)
reset_method() (in module _shared)
rise_image
module
rise_tabular
module
rise_text
module
rise_timeseries
module
RISEImage (class in rise_image)
RISETabular (class in rise_tabular)
RISEText (class in rise_text)
RISETimeseries (class in rise_timeseries)
run_model (_movie_model.MovieReviewsModelRunner attribute)
S
selected (in module Home)
selected_row (in module Tabular)
serialized_model (in module Images)
(in module Tabular)
(in module Time_series)
silent (kernelshap_tabular.KERNELSHAPTabular attribute)
SimpleModelRunner (class in dianna.utils)
(class in dianna.utils.onnx_runner)
spacy_tokenizer (dianna.utils.tokenizers.SpacyTokenizer attribute)
SpacyTokenizer (class in dianna.utils.tokenizers)
StatementClassifierEUlaw (class in _model_utils)
T
Tabular
module
tabular_data_file (in module Tabular)
Text
module
text_input (in module Text)
Time_series
module
to_xarray() (in module dianna.utils)
(in module dianna.utils.misc)
tokenize() (_movie_model.MovieReviewsModelRunner method)
(dianna.utils.tokenizers.SpacyTokenizer method)
(dianna.utils.tokenizers.Tokenizer method)
tokenizer (_model_utils.StatementClassifierEUlaw attribute)
(_movie_model.MovieReviewsModelRunner attribute)
Tokenizer (class in dianna.utils.tokenizers)
tokenizer (in module _models_text)
training_data (rise_tabular.RISETabular attribute)
W
weight (in module Images)
(in module Tabular)
(in module Text)
(in module Time_series)