Skip to content

Commit

Permalink
now pls
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-alt committed Dec 7, 2023
1 parent ff833ee commit 10f94dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objectives/loss_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ function hinge_loss_ir(ce::AbstractCounterfactualExplanation)
@warn "Invalidation rate is only defined for InvalidationRateConvergence. Returning 0."
return 0.0
end
return max(0, Generators.invalidation_rate(ce) - ce.convergence.invalidation_rate)
return max(0, invalidation_rate(ce) - ce.convergence.invalidation_rate)
end

0 comments on commit 10f94dd

Please sign in to comment.