roccurve: Plot the ROC curve of the predicted values

Description Usage Arguments Examples

View source: R/roccurve.R

Description

Given the predicted values q and its corresponding observed classes y, it shows its separation performances by showing the roc-curve.

Usage

1
roccurve(q, y = attr(q, "y"), class = 1, ...)

Arguments

q

the predicted values

y

a list of the actual classes of q

class

the base class to show the roc-curve

...

additional parameters given as input to the plot function

Examples

1
2
model <- svmmaj(diabetes$X, diabetes$y)
roccurve(model$q)

SVMMaj documentation built on May 2, 2019, 9:58 a.m.