dowhy.interpreters 包#
子模块#
dowhy.interpreters.confounder_distribution_interpreter 模块#
- class dowhy.interpreters.confounder_distribution_interpreter.ConfounderDistributionInterpreter(estimate, fig_size, font_size, var_name, var_type, **kwargs)[source]#
-
- 参数:
estimate – 因果估计
fig_size – 图形大小
font_size – 图形标题字体大小
var_name – 应比较其分布变化的混杂变量
var_type – 混杂变量的类型;必须是 'continuous' 或 'discrete' 之一
- SUPPORTED_ESTIMATORS = [<class 'dowhy.causal_estimators.propensity_score_weighting_estimator.PropensityScoreWeightingEstimator'>]#
dowhy.interpreters.propensity_balance_interpreter 模块#
- class dowhy.interpreters.propensity_balance_interpreter.PropensityBalanceInterpreter(estimate, **kwargs)[source]#
-
初始化一个解释器。
- 参数:
instance – CausalModel, CausalEstimate 或 CausalRefutation 类型的对象。
- SUPPORTED_ESTIMATORS = [<class 'dowhy.causal_estimators.propensity_score_stratification_estimator.PropensityScoreStratificationEstimator'>]#
dowhy.interpreters.textual_effect_interpreter 模块#
dowhy.interpreters.textual_interpreter 模块#
- class dowhy.interpreters.textual_interpreter.TextualInterpreter(instance, **kwargs)[source]#
基类:
Interpreter
显示文本作为输出的解释器的基类。
初始化一个解释器。
- 参数:
instance – CausalModel, CausalEstimate 或 CausalRefutation 类型的对象。
dowhy.interpreters.visual_interpreter 模块#
- class dowhy.interpreters.visual_interpreter.VisualInterpreter(instance, **kwargs)[source]#
基类:
Interpreter
显示图表或可视化结果作为输出的解释器的基类。
初始化一个解释器。
- 参数:
instance – CausalModel, CausalEstimate 或 CausalRefutation 类型的对象。