Skip to content

Commit

Permalink
as if
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-alt committed Dec 7, 2023
1 parent f8b72de commit ff833ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convergence/invalidation_rate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ff833ee

Please sign in to comment.