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


Search within the lift package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.