plotroc draws the recevier operating characteristic(ROC) curve for an svm-model
auc = nan_svmplotroc(training_label, training_instance [, libsvm_options -v cv_fold]) Use cross-validation on training data to get decision values and plot ROC curve. auc = nan_svmplotroc(testing_label, testing_instance, model) Use the given model to predict testing data and obtain decision values for ROC
load('heart_scale.mat'); nan_svmrocplot(heart_scale_label, heart_scale_inst,'-v 5'); [y,x] = readsparse('heart_scale'); model = nan_svmtrain(y,x); nan_svmrocplot(y,x,model);