October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here is the code block that plots multiple ROC curves on the same axes:
# K-nearest neighbor (KNN)fpr_KNN = pd.read_excel('ROC_Curves.xlsx', 'fpr_KNN')tpr_KNN = pd.read_excel('ROC_Curves.xlsx', 'tpr_KNN')# Multilayer Perceptron(MLP)fpr_MLP = pd.read_excel('ROC_Curves.xlsx', 'fpr_MLP')tpr_MLP = pd.read_excel('ROC_Curves.xlsx', 'tpr_MLP')# Stochastic Gradient Descent (SGD)fpr_SGD = pd.read_excel('ROC_Curves.xlsx', 'fpr_SGD')tpr_SGD = pd.read_excel('ROC_Curves.xlsx', 'tpr_SGD')# Random Forest (RF)fpr_RF = pd.read_excel('ROC_Curves.xlsx', 'fpr_RF')tpr_RF = pd.read_excel('ROC_Curves.xlsx', 'tpr_RF')# Decision Trees (DT)fpr_DT = pd.read_excel('ROC_Curves.xlsx', ...Read now
Unlock full access