Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Area under Precisio-Recall Curve for multi-class problems #1

Open
ogreyesp opened this issue Jul 20, 2017 · 1 comment
Open

Area under Precisio-Recall Curve for multi-class problems #1

ogreyesp opened this issue Jul 20, 2017 · 1 comment

Comments

@ogreyesp
Copy link

Hello,

Is there a way to compute the Area Under the Precision-Recall Curve for multi-class problems with this library?

Thanks

@andybega
Copy link
Owner

Hi,
there is no built-in support for multi-class inputs.

There is a multiclass.roc in the pROC library that plots multiple ROC curves for multi-class problems and computes the AUC-ROC as the mean of all the one-vs-all AUC-ROCs for each class. You could do something like that manually here by constructing the one-vs-all vectors for each class beforehand, but that's about it.

I'll try to work on this at some point but can't right now because of day job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants