liftIndex {CustomerScoringMetrics}R Documentation

Calculate lift index

Description

Calculates lift index metric.

Usage

liftIndex(predTest, depTest)

Arguments

predTest

Vector with predictions (real-valued or discrete)

depTest

Vector with true class labels

Value

Lift index value

Author(s)

Koen W. De Bock, kdebock@audencia.com

References

Berry, M.J.A. and Linoff, G.S. (2004): "Data Mining Techniques: For Marketing, Sales, and Customer Relationship Management - Second Edition". John Wiley & Sons.

See Also

liftTable, topDecileLift, liftChart

Examples

## Load response modeling predictions
data("response")
## Calculate lift index for test sample results
li<-liftIndex(response$test[,2],response$test[,1])
print(li)


[Package CustomerScoringMetrics version 1.0.0 Index]