File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -717,12 +717,12 @@ acc_eq_math = Math(acc_eq_str)
717717glue("acc_eq_math_glued", acc_eq_math)
718718
719719prec_eq_str = r"\mathrm{precision} = \frac{\mathrm{number \; of \; correct \; positive \; predictions}}{\mathrm{total \; number \; of \; positive \; predictions}} = \frac{"
720- prec_eq_str += str(c00 ) + "}{" + str(c00 ) + "+" + str(c01) + "} = " + str( np.round(100*c11/(c11+c01), 2))
720+ prec_eq_str += str(c11 ) + "}{" + str(c11 ) + "+" + str(c01) + "} = " + str( np.round(100*c11/(c11+c01), 2))
721721prec_eq_math = Math(prec_eq_str)
722722glue("prec_eq_math_glued", prec_eq_math)
723723
724724rec_eq_str = r"\mathrm{recall} = \frac{\mathrm{number \; of \; correct \; positive \; predictions}}{\mathrm{total \; number \; of \; positive \; test \; set \; observations}} = \frac{"
725- rec_eq_str += str(c00 ) + "}{" + str(c00 ) + "+" + str(c10) + "} = " + str( np.round(100*c11/(c11+c10), 2))
725+ rec_eq_str += str(c11 ) + "}{" + str(c11 ) + "+" + str(c10) + "} = " + str( np.round(100*c11/(c11+c10), 2))
726726rec_eq_math = Math(rec_eq_str)
727727glue("rec_eq_math_glued", rec_eq_math)
728728```
You can’t perform that action at this time.
0 commit comments