powered by
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.
x
logical indicating whether to remove observed or predicted responses that are NA when calculating metrics.
NA
arguments passed to other methods.
Lift class object that inherits from Curves.
Lift
Curves
c, plot, summary
c
plot
summary
# 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