Skip to content

Fix infinite z-score issue in calculateCriterion() using epsilon correction - #37

Merged
stewartboogert merged 3 commits into
lmickes:mainfrom
Damien-WangZehou:fix/compareC
May 1, 2026
Merged

stewartboogert merged 3 commits into
lmickes:mainfrom
Damien-WangZehou:fix/compareC

Conversation

@Damien-WangZehou

Copy link
Copy Markdown
Collaborator

This PR adds an epsilon correction to DataProcessed.calculateCriterion() to prevent infinite z-scores when hit rates or false alarm rates take boundary values 0/1.

  • Before applying the inverse normal transform, the rates are clipped using the epsilon bound.
  • All tests passed.

@stewartboogert
stewartboogert merged commit e726dcf into lmickes:main May 1, 2026
5 checks passed
@Damien-WangZehou
Damien-WangZehou deleted the fix/compareC branch May 3, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants