powered by
Calculate lift estimates from observed and predicted responses.
Lift(...)lift(x, y = NULL, na.rm = TRUE, ...)
lift(x, y = NULL, na.rm = TRUE, ...)
named or unnamed lift output to combine together with the Lift constructor.
lift
Lift
observed responses or Resamples object of observed and predicted responses.
Resamples
predicted responses.
logical indicating whether to remove observed or predicted responses that are NA when calculating metrics.
NA
Lift class object that inherits from Curves.
Curves
response, predict, resample, plot
response
predict
resample
plot
# 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