Skip to content

Commit

Permalink
Update mglmxls.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mwsohn committed Oct 11, 2024
1 parent 987d3cb commit 9a5fbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mglmxls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ function mglmxls(glmout,

# ROC (c-statistic)
t.write(r+4,c,"Area under the ROC Curve",formats[:model_name])
_roc = AUC(roc(predict(glmout[i]), glmout[i].model.rr.y .== 1., true))
_roc = AUC(roc(predict(glmout[i]), glmout[i].model.rr.y, true))
t.merge_range(r+4,c+1,r+4,c+4,round(_roc,digits=4),formats[:p_fmt_center])

r += 5
Expand Down

0 comments on commit 9a5fbe2

Please sign in to comment.