Statistics

Given a list of numbers representing predicted probabilities and corresponding true labels, how would you plot an ROC curve?

Did you come across this question in an interview?

Interview question asked to Data Scientists interviewing at Patreon, Faire, Walmart and others: Given a list of numbers representing predicted probabilities and corresponding true labels, how would you plot an ROC curve?.