Closed rickyegeland closed 5 months ago
In metrics.py, there are two functions that are copy-and-paste copies of each other, calc_contingency(), and calc_contingency_bool(). The former should just call the latter once the thresholds are applied, to reduce redundancy in the code.
calc_contingency()
calc_contingency_bool()
I will implement this change
Clayton did this and I added a line that was left out to make it work.
In metrics.py, there are two functions that are copy-and-paste copies of each other,
calc_contingency()
, andcalc_contingency_bool()
. The former should just call the latter once the thresholds are applied, to reduce redundancy in the code.