roccurve: Plot the ROC curve of the predicted values

View source: R/roccurve.R

roccurveR Documentation

Plot the ROC curve of the predicted values

Description

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

Usage

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

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

SVMMaj documentation built on May 23, 2022, 9:05 a.m.