Description Usage Arguments Details
Get the capture rate depending upon the value of a score. Requires that the target be 0 or 1. It can be either numeric, character, or factor. Target2 is a 2nd option where you can compare two metrics side by side.
| 1 2 3 | ezr.capture_rate_dual(dataset, target, score, n_perc = 0.1,
  target2 = NULL, higher_morelikely = TRUE,
  return_entire_table = FALSE)
 | 
| dataset | Dataframe | 
| target | Target. Should be 0 or 1. | 
| score | Score that sorts for the capture rate. | 
| n_perc | what percentile do you want to examine? | 
| target2 | should be 0 or 1. A secondary thing to measure. | 
| higher_morelikely | TRUE by default. This is generally what you expect. | 
| return_entire_table | Return ntiles from 0-100. Not yet implemented | 
Almost duplicates gains-lift table, but allows for side by side comparison.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.