liftIndex: Calculate lift index

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/liftIndex.R

Description

Calculates lift index metric.

Usage

1
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

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

CustomerScoringMetrics documentation built on May 2, 2019, 5:17 a.m.