Learn R Programming

MachineShop (version 1.1.0)

lift: Model Lift

Description

Calculate lift estimates from observed and predicted responses.

Usage

Lift(...)

lift(x, y = NULL, ...)

Arguments

...

named or unnamed lift output to combine together with the Lift constructor.

x

observed responses or Resamples object of observed and predicted responses.

y

predicted responses.

Value

Lift class object that inherits from data.frame.

See Also

response, predict, resample, plot

Examples

Run this code
# 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