powered by
Calculate lift curves 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.
LiftCurve class object that inherits from PerformanceCurve.
LiftCurve
PerformanceCurve
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