powered by
Given the predicted values q and its corresponding observed classes y, it shows its separation performances by showing the roc-curve.
q
y
roccurve(q, y = attr(q, "y"), class = 1, ...)
the predicted values
a list of the actual classes of q
the base class to show the roc-curve
additional parameters given as input to the plot function
plot
model <- svmmaj(diabetes$X, diabetes$y) roccurve(model$q)
Run the code above in your browser using DataLab