Closed levy5674 closed 8 years ago
The calls to precision and recall from inside create_prg_curve pass in tp, fn, fp, tn but the functions expect tp, tn, fp, fn. I changed the funtions to have the same signatures as precision_gain and recall_gain
precision
recall
create_prg_curve
tp, fn, fp, tn
tp, tn, fp, fn
precision_gain
recall_gain
The calls to
precision
andrecall
from insidecreate_prg_curve
pass intp, fn, fp, tn
but the functions expecttp, tn, fp, fn
. I changed the funtions to have the same signatures asprecision_gain
andrecall_gain