为了解释由不同的估计模型估计的因果效应,当前版本的YLearn为了因果效应的可解释性实现了树模型 CEInterpreter 并且为了策略估计的可解释性 实现了 PolicyInterpreter 。
CEInterpreter
PolicyInterpreter
ylearn.effect_interpreter.ce_interpreter.CEInterpreter
ylearn.effect_interpreter.ce_interpreter.CEInterpreter.fit()
ylearn.effect_interpreter.ce_interpreter.CEInterpreter.interpret()
ylearn.effect_interpreter.ce_interpreter.CEInterpreter.plot()
ylearn.interpreter.policy_interpreter.PolicyInterpreter
ylearn.interpreter.policy_interpreter.PolicyInterpreter.fit()
ylearn.interpreter.policy_interpreter.PolicyInterpreter.interpret()
ylearn.interpreter.policy_interpreter.PolicyInterpreter.plot()