Receiver operating characteristic (ROC) plots the true positive rate (TPR) against the false positive rate (FPR) at various threshold setting (source: wikipedia). It's a measure of how good the decision frontier is at each split.
Aka the sensitivity and specificity curve.
Horizontal axis plots the True Positive Rate. The vertical axis plots the False Positive Rate.
Benchmark is a random guess: the 45 degree line. The best scenario, perfect split, area under the curve is 1.
There are two "extreme" points, if we classify everything as positive, the TPR, FPR = (1,1). If we classify nothing as positive, the TPR, FPR = (0,0) because the true positive rate is true positive / all positive = zero / all positive.
True Positive Rate
True positive rate = true positive / all positives
False Positive Rate
False positive rate = false positive / all negatives
To plot the entire curve, do it for as many possible splits as possible.
Area under the curve is important metric.
Your byte size news and commentary from Silicon Valley the land of startup vanities, coding, learn-to-code and unicorn billionaire stories.
Subscribe to:
Post Comments (Atom)
Debug Google Cloud Error - Failed to enable API please make sure you have the IAM permission to enable API
If you are not expecting this message, and think you have the permission to enable API read on. Before using Google Cloud services, genera...

-
Can hack schools solve Silicon Valley's talent crunch? The truth about coding bootcamps and the students left behind http://t.co/xXNfqN...
-
In this downtown startup work space design the designers used fat boy bean bags and an extra wide step tiered staircase to create work space...
-
The bogus request from P2PU to hunt for HTML tags in real life has yielded a lot of good thoughts. My first impression was that this is stup...

No comments:
Post a Comment