interpret_community.common package
Common infrastructure, class hierarchy and utilities for model explanations.
- class interpret_community.common.ModelSummary
Bases:
object
A structure for gathering and storing the parts of an explanation asset.
- add_from_get_model_summary(name, artifact_metadata_tuple)
Update artifacts and metadata with new information.
Subpackages
Submodules
- interpret_community.common.aggregate module
- interpret_community.common.base_explainer module
- interpret_community.common.blackbox_explainer module
- interpret_community.common.chained_identity module
- interpret_community.common.constants module
Attributes
DNNFramework
Defaults
Dynamic
ExplainParams
ExplainParams.BATCH_SIZE
ExplainParams.CHECK_ADDITIVITY
ExplainParams.CLASSES
ExplainParams.CLASSIFICATION
ExplainParams.EVAL_DATA
ExplainParams.EVAL_Y_PRED
ExplainParams.EVAL_Y_PRED_PROBA
ExplainParams.EXPECTED_VALUES
ExplainParams.EXPLAIN_SUBSET
ExplainParams.EXPLANATION_ID
ExplainParams.FEATURES
ExplainParams.GLOBAL_IMPORTANCE_NAMES
ExplainParams.GLOBAL_IMPORTANCE_RANK
ExplainParams.GLOBAL_IMPORTANCE_VALUES
ExplainParams.GLOBAL_NAMES
ExplainParams.GLOBAL_RANK
ExplainParams.GLOBAL_VALUES
ExplainParams.ID
ExplainParams.INCLUDE_LOCAL
ExplainParams.INIT_DATA
ExplainParams.IS_ENG
ExplainParams.IS_LOCAL_SPARSE
ExplainParams.IS_RAW
ExplainParams.LOCAL_EXPLANATION
ExplainParams.LOCAL_IMPORTANCE_VALUES
ExplainParams.METHOD
ExplainParams.MODEL_ID
ExplainParams.MODEL_TASK
ExplainParams.MODEL_TYPE
ExplainParams.NUM_CLASSES
ExplainParams.NUM_EXAMPLES
ExplainParams.NUM_FEATURES
ExplainParams.PER_CLASS_NAMES
ExplainParams.PER_CLASS_RANK
ExplainParams.PER_CLASS_VALUES
ExplainParams.PROBABILITIES
ExplainParams.SAMPLING_POLICY
ExplainParams.SHAP_VALUES_OUTPUT
ExplainParams.get_private()
ExplainParams.get_serializable()
ExplainType
ExplainType.CLASSIFICATION
ExplainType.DATA
ExplainType.EXPLAIN
ExplainType.EXPLAINER
ExplainType.FUNCTION
ExplainType.GLOBAL
ExplainType.HAN
ExplainType.IS_ENG
ExplainType.IS_RAW
ExplainType.LIME
ExplainType.LOCAL
ExplainType.METHOD
ExplainType.MIMIC
ExplainType.MODEL
ExplainType.MODEL_CLASS
ExplainType.MODEL_TASK
ExplainType.PFI
ExplainType.REGRESSION
ExplainType.SHAP
ExplainType.SHAP_DEEP
ExplainType.SHAP_GPU_KERNEL
ExplainType.SHAP_KERNEL
ExplainType.SHAP_LINEAR
ExplainType.SHAP_TREE
ExplainType.TABULAR
ExplainableModelType
ExplanationParams
Extension
InterpretData
InterpretData.BASE_VALUE
InterpretData.EXPLANATION_CLASS_DIMENSION
InterpretData.EXPLANATION_TYPE
InterpretData.EXTRA
InterpretData.FEATURE_LIST
InterpretData.GLOBAL_FEATURE_IMPORTANCE
InterpretData.INTERCEPT
InterpretData.LOCAL_FEATURE_IMPORTANCE
InterpretData.MLI
InterpretData.MULTICLASS
InterpretData.NAMES
InterpretData.OVERALL
InterpretData.PERF
InterpretData.SCORES
InterpretData.SINGLE
InterpretData.SPECIFIC
InterpretData.TYPE
InterpretData.UNIVARIATE
InterpretData.VALUE
InterpretData.VALUES
LightGBMParams
LightGBMSerializationConstants
LightGBMSerializationConstants.IDENTITY
LightGBMSerializationConstants.LOGGER
LightGBMSerializationConstants.MODEL_STR
LightGBMSerializationConstants.MULTICLASS
LightGBMSerializationConstants.OBJECTIVE
LightGBMSerializationConstants.REGRESSION
LightGBMSerializationConstants.TREE_EXPLAINER
LightGBMSerializationConstants.enum_properties
LightGBMSerializationConstants.nonify_properties
LightGBMSerializationConstants.save_properties
MimicSerializationConstants
MimicSerializationConstants.ALLOW_ALL_TRANSFORMATIONS
MimicSerializationConstants.FUNCTION
MimicSerializationConstants.IDENTITY
MimicSerializationConstants.INITIALIZATION_EXAMPLES
MimicSerializationConstants.LOGGER
MimicSerializationConstants.MODEL
MimicSerializationConstants.ORIGINAL_EVAL_EXAMPLES
MimicSerializationConstants.PREDICT_PROBA_FLAG
MimicSerializationConstants.RESET_INDEX
MimicSerializationConstants.TIMESTAMP_FEATURIZER
MimicSerializationConstants.enum_properties
MimicSerializationConstants.nonify_properties
MimicSerializationConstants.save_properties
ModelTask
ResetIndex
SHAPDefaults
SKLearn
Scipy
ShapValuesOutput
Spacy
Tensorflow
- interpret_community.common.error_handling module
- interpret_community.common.exception module
- interpret_community.common.explanation_utils module
- interpret_community.common.gpu_kmeans module
- interpret_community.common.metrics module
- interpret_community.common.model_summary module
- interpret_community.common.policy module
- interpret_community.common.progress module
- interpret_community.common.serialization_utils module
- interpret_community.common.structured_model_explainer module
- interpret_community.common.warnings_suppressor module