Description Usage Arguments Value Author(s)
Calculates the lift curve based on a score(numeric 0-1) and responce(TRUE/FALSE) vector
1 | getLift(score, response, groups = 100)
|
score |
a numeric vector with the scores from the prodictive model |
response |
a boolean (TRUE or FALSE) vector with the real values from the dataset |
groups |
number of percentiles, default 100 |
data.frame with the values of the Lift curve. score = runif(1000) response = (score + rnorm(1000,0,0.1)) > 0.5 lift = getLift(score,response) head(lift) tail(lift)
Daniel Fischer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.