Fixing EIXGNN parameter bug

This commit is contained in:
araison 2023-01-16 17:35:03 +01:00
parent edeee1a03e
commit 4c452d1f2a

View File

@ -76,7 +76,7 @@ def explainer_conf(explainer: str, **kwargs):
)
explaining_cfg["domain_similarity"] = kwargs.get("domain_similarity")
explaining_cfg["signal_similarity"] = kwargs.get("signal_similarity")
explaining_cfg["shap_val_approx"] = kwargs.get("shap_val_approx")
explaining_cfg["shapley_value_approx"] = kwargs.get("shapley_value_approx")
return explaining_cfg
@ -182,7 +182,7 @@ if "__main__" == __name__:
importance_sampling_strategy=imp_str,
domain_similarity=dom_sim,
signal_similarity=sig_sim,
shap_val_approx=sh_val,
shapley_value_approx=sh_val,
L=L,
p=p,
)