Last data update: 2014.03.03

R: Compute the top decile lift and plot the lift curve
TopDecileLiftR Documentation

Compute the top decile lift and plot the lift curve

Description

TopDecileLift computes the commonly used top decile lift by ordering the data by the predictions, and computing the proportion of positives in the top 10%.

Usage

TopDecileLift(predicted, labels)

Arguments

predicted

A numeric vector with the classifier's predicted scores / probabilities

labels

An integer vector containing binary labels with values 0,1

Value

a scalar denoting the top decile lift

Author(s)

Steven Hoornaert, Michel Ballings, Dirk Van den Poel, Maintainer: Steven.Hoornaert@UGent.be

Examples

data(churn)
TopDecileLift(churn$predictions,churn$labels)

Results