Skip to content

Conversation

@valvasor
Copy link

@valvasor valvasor commented Apr 1, 2020

Hello,

I was using the CFS method in my thesis project at college and it triggered a"division by zero' error when calculating the symmetrical uncertainty. Given the formula: su(f1,f2) = 2*IG(f1,f2)/(H(f1)+H(f2)), when H(f1)+H(f2) is equal to zero, it triggers a "division by zero" error.

Best regards,
Jose D.

valvasor added 3 commits April 1, 2020 16:54
Thif fix prevents from a 'division by zero' error when H(f1)+H(f2) is equal to 0.
This fix prevents from a 'division by zero' error when H(f1)+H(f2) is equal to 0.
@soareswallace
Copy link

I had the same problem here. Glad to see this fix.

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