Getting ready
We will use an example of an Receiver Operating Characteristics (ROC) curve, using which multiple machine learning (ML) algorithms are compared to a given classification problem, and the best performing algorithm is chosen for that problem. An ROC curve is plotted with a True Positive Rate (TPR) and a False Positive Rate (FPR) for a range of threshold probabilities. The objective is to see the sensitivity of the TPR and the FPR as the threshold probability changes. The algorithm whose ROC curve covers the maximum area under the curve (AUC) is considered to be the best performing algorithm in terms of classification accuracy.
We are using TPR and FPR data for a set of algorithms, the k-nearest neighbor algorithm (k-NN), multilayer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access