auc {SVMMaj} | R Documentation |
Returns the area under the curve value
Description
Returns the area under the curve value as a fraction.
Usage
auc(q, y = attr(q, "y"))
Arguments
q |
the predicted values |
y |
a list of the actual classes of |
Value
the area under the curve value
Examples
df <- with(diabetes, cbind(y, X))
lm.y <- glm(y ~ ., data = df, family = binomial())
print(with(lm.y, auc(fitted.values, y)))
[Package SVMMaj version 0.2.9.3 Index]