`plotLift`

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

1 |

`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 |

lift curve

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

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.