Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

Generate plot of precision/recall as a function of k #62

Open
redshiftzero opened this issue Oct 12, 2016 · 2 comments
Open

Generate plot of precision/recall as a function of k #62

redshiftzero opened this issue Oct 12, 2016 · 2 comments

Comments

@redshiftzero
Copy link
Contributor

We want to know in a realistic scenario - i.e. one that incorporates the effect of the class imbalance - how effective these attacks are in terms of true and false positives. A really nice plot that would show this (right now the machine learning pipeline generates only an ROC curve) is a graph of precision and recall as a function of k, the percent of the ranked list flagged. Let's add this to evaluate.py.

Also: see Figure 5 in this paper to see a nice comparison between ROC curves and precision/recall graphs in the presence of different base rates.

@psivesely
Copy link
Contributor

percent of the ranked list flagged

Can you clarify what you mean a bit here? What is the ranked list? Flagged as in the classifier believes it's a SD?

@psivesely
Copy link
Contributor

We want to know in a realistic scenario - i.e. one that incorporates the effect of the class imbalance - how effective these attacks are in terms of true and false positives.

TPR and FPR are metrics independent of class balance. I know you know this, but it appears to be improperly or at least confusingly phrased.

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

No branches or pull requests

2 participants