ezr.plot_gainslift_compare: Compare Gainslift Using Multiple Predictors

Description Usage Arguments

Description

Compare and plot Cumulative Capture Rate, Gains, Lift, or Response Rate across 1 or more predictors. Optionally returns the underlying dataframe.

Usage

1
2
3
ezr.plot_gainslift_compare(dataset, binary_target, fields,
  higher_morelikely = TRUE, plot_type = "capture", return_tbl = TRUE,
  y_title = NULL, plot_title = NULL)

Arguments

dataset

The dataset. Can be an h2o dataframe

binary_target

the target. Should be 0/1.

fields

The fields that

higher_morelikely

Is a higher value more likely of a value of '1'? Default is TRUE. If multiple columns are provided, it is assumed they all have the same direction. If they don't have the same direction, manipulate the data prior to using this function.

plot_type

Default is 'capture'. Valid values are 'capture', 'response', 'gains', or 'lift'. All of these values are cumulative.

return_tbl

Return the dataframe of values?

plot_title

= Name of plot


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.