问题
I am using rWeka package to compare the performance of different machine learning algorithms such as:
# KNN:
(resultIBk <- IBk(postScore~., data_train))
# Naive Bayes:
NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayes")
# Default settings Weka
(resultNB <- NB(postScore~., data_train))
# Decision Tree J48
(resultJ48 <- J48(postScore~., data_train))
Can anyone please advise on how to calculate ROC AUC for the various machine learning algorithms in Weka? I understand that for different algorithms the code might be different but I am struggling with where to begin...
来源:https://stackoverflow.com/questions/58478673/rweka-how-to-calculate-roc-auc