JuliaML / LIBSVM.jl

LIBSVM bindings for Julia
Other
88 stars 35 forks source link

ROC support #61

Closed barucden closed 3 years ago

barucden commented 4 years ago

Hi,

I believe we have no support for computing ROC, yet. Would you, @mpastell, be interested in having something in that direction implemented?

I have implemented a function for computing TPRs and FPRs (and AUC), and I am happy to share it if you'd like me to.

iblislin commented 3 years ago

hmm, I'm not sure your implement is strongly related to SVM or not. Is that something should be put in the LearnBase.jl ?

barucden commented 3 years ago

I am not sure either :smile:

There is a feature for computing ROC in MLBase.jl but it seems too complicated. I implemented just a single function to produce a vector of TPRs and FPRs, which can be directly used to plot the ROC curve. Since I only ever used this function for SVMs, I thought it might be desirable to have it here too.

But it's completely understandable if you feel like it does not belong here. After all, this issue hasn't gain any attention, which shows that the community does not strive for it.

iblislin commented 3 years ago

hmm, I tend not to put ROC stuffs in this repo. Maybe your scripts can be contributed to MJL or MLBase.

barucden commented 3 years ago

Understood. I am closing this issue.