LIFT is a plot of the rate of positive prediction against true positive rate for the different thresholds. It is useful for measuring and comparing the accuracy of the classificators.

plotLIFT(object, ...)

Arguments

object

An object of class modelAudit or modelEvaluation.

...

Other modelAudit objects to be plotted together.

Value

ggplot object

See also

Examples

library(mlbench) data("PimaIndiansDiabetes") Pima <- PimaIndiansDiabetes Pima$diabetes <- ifelse(Pima$diabetes == "pos", 1, 0) glm_model <- glm(diabetes~., family=binomial, data=Pima) glm_au <- audit(glm_model, data = Pima, y = Pima$diabetes) plotLIFT(glm_au)