Hi I need some help with ploting the ROC for K-nearest neighbors. Since KNN is a non-parametric classification methods, the predicted value will be either 0 or 1. It will not be able to test for different cutoff to plot ROC. What is the package or functions I should use to plot ROC for KNN? Thanks. Qian [[alternative HTML version deleted]]
Qian Liu <littleduck24 <at> gmail.com> writes:> > Hi I need some help with ploting the ROC for K-nearest neighbors. Since KNN > is a non-parametric classification methods, the predicted value will be > either 0 or 1. > It will not be able to test for different cutoff to plot ROC. What is the > package or functions I should use to plot ROC for KNN? > > Thanks. > Qian > > [[alternative HTML version deleted]] > >I m wondering if you found any help or any codes to plot roc curve Thanks. Salmi