roccurve | R Documentation |
Given the predicted values q
and its corresponding
observed classes y
, it shows its separation performances
by showing the roc-curve.
roccurve(q, y = attr(q, "y"), class = 1, ...)
q |
the predicted values |
y |
a list of the actual classes of |
class |
the base class to show the roc-curve |
... |
additional parameters given as input to the |
model <- svmmaj(diabetes$X, diabetes$y)
roccurve(model$q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.