我的数据框是 -
Metric Value Model
0 Accuracy 87.608760 Logistic_Regression
1 Neg_log_loss -0.332951 Logistic_Regression
2 F1_measure 0.854182 Logistic_Regression
3 AUC 0.927378 Logistic_Regression
4 Precision 0.871396 Logistic_Regression
5 Recall 0.837687 Logistic_Regression
6 Accuracy 96.433245 Random_Forest
7 Neg_log_loss -0.105780 Random_Forest
8 F1_measure 0.958133 Random_Forest
9 AUC 0.994008 Random_Forest
10 Precision 0.974733 Random_Forest
11 Recall 0.942097 Random_Forest
12 Accuracy 84.836008 Naive_Bayes
13 Neg_log_loss -0.917701 Naive_Bayes
14 F1_measure 0.823289 Naive_Bayes
15 AUC 0.915744 Naive_Bayes
16 Precision 0.831528 Naive_Bayes
17 Recall 0.815300 Naive_Bayes
metric ='AUC'
现在我想选择 Metric 列('AUC')最高的模型。在这种情况下,它将打印 model_nameRandom_Forest
MM们
拉丁的传说
慕妹3146593
慕容森
相关分类