fit_roc: Estimate ROC curve for a fitted classifier using a new...

Description Usage Arguments Value

View source: R/svmroc.R

Description

fit_roc estimates the ROC curve for a fitted classifier (an object of class svmroc) using a new testing set.

Usage

1
fit_roc(object, new_X, new_A)

Arguments

object

An object of class svmroc.

new_X

A new X matrix.

new_A

A new set of class labels.

Value

An object of class roc, a list with components: sens, a vector of sensitivity values, and spec, a vector of specificity values.


djluckett/svmroc documentation built on Oct. 6, 2019, 12:42 a.m.