
Last chance! 50% off unlimited learning
Sale ends in
Calculate lift estimates from observed and predicted responses.
lift(x, y = NULL, na.rm = TRUE, ...)
observed responses or resample result containing observed and predicted responses.
predicted responses if not contained in x
.
logical indicating whether to remove observed or predicted
responses that are NA
when calculating metrics.
arguments passed to other methods.
Lift
class object that inherits from Curves
.
# NOT RUN {
library(MASS)
res <- resample(type ~ ., data = Pima.tr, model = GBMModel)
lf <- lift(res)
plot(lf)
# }
Run the code above in your browser using DataLab