rWeka how to calculate ROC AUC?

守給你的承諾、 提交于 2020-01-16 16:49:17

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!