JuliaTrustworthyAI / CounterfactualExplanations.jl

A package for Counterfactual Explanations and Algorithmic Recourse in Julia.
https://www.taija.org/CounterfactualExplanations.jl/
MIT License
119 stars 7 forks source link

`MaxIterConvergence()` does not work #397

Open kmariuszk opened 8 months ago

kmariuszk commented 8 months ago

When trying to generate a counterfactual with using MaxIterConvergence() method it throws an error:

`generate_counterfactual(x, target_non_trivial, counterfactual_data, M, generator; convergence = MaxIterConvergence())

ERROR: type MaxIterConvergence has no field decision_threshold

I suppose it's caused by the logic implemented in the CounterfactualExplanation struct here.

pat-alt commented 8 months ago

Can probably be addressed in #399 ?