From ff833ee52ff2cd1d66a0be306fc8d9b251a80ce9 Mon Sep 17 00:00:00 2001 From: pat-alt Date: Thu, 7 Dec 2023 21:25:43 +0100 Subject: [PATCH] as if --- src/convergence/invalidation_rate.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convergence/invalidation_rate.jl b/src/convergence/invalidation_rate.jl index d2fe23bfe..bfa6e735c 100644 --- a/src/convergence/invalidation_rate.jl +++ b/src/convergence/invalidation_rate.jl @@ -12,7 +12,7 @@ Checks if the counterfactual search has converged when the convergence criterion function converged( convergence::InvalidationRateConvergence, ce::AbstractCounterfactualExplanation ) - ir = Generators.invalidation_rate(ce) + ir = Objectives.invalidation_rate(ce) label = Models.predict_label(ce.M, ce.data, ce.x′)[1] return label == ce.target && convergence.invalidation_rate > ir end