plotLift: Compute the top decile lift and plot the lift curve

Description Usage Arguments Value Author(s) Examples

Description

plotLift plots the commonly used lift curve by ordering the data by the predictions, and computing the proportion of positives for each bucket.

Usage

1
plotLift(predicted, labels, cumulative = TRUE, n.buckets = 10, ...)

Arguments

predicted

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

labels

An integer vector containing binary labels with values 0,1

cumulative

boolean. Should the cumulative lift curve be plotted or not?

n.buckets

scalar. How many buckets should be used. One can use more buckets with large datasets

...

additional parameters to the plot function

Value

lift curve

Author(s)

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

Examples

1
2

Example output



lift documentation built on May 1, 2019, 9:21 p.m.

Related to plotLift in lift...