Learn R Programming

auditor (version 0.3.0)

scoreREC: Area Over the Curve for REC Curves

Description

The area over the Regression Error Characteristic curve is a measure of the expected error for the regression model.

Usage

scoreREC(object)

Arguments

object

An object of class ModelAudit.

Value

an object of class scoreAudit

References

J. Bi, and K. P. Bennet, "Regression error characteristic curves," in Proc. 20th Int. Conf. Machine Learning, Washington DC, 2003, pp. 43-50

See Also

plotREC

Examples

Run this code
# NOT RUN {
library(car)
lm_model <- lm(prestige~education + women + income, data = Prestige)
lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige)
scoreREC(lm_au)


# }

Run the code above in your browser using DataLab