calibration_curve: Plot the calibration curve for the binary predictions.

Description Usage Arguments Examples

View source: R/lift_chart.R

Description

Plot the calibration curve for the binary predictions.

Usage

1
calibration_curve(table, bin_number = 10)

Arguments

table

The data.frame with two columns named by y and yhat.

bin_number

default 10. The binning set number.

Examples

1
## Not run: calibration_curve(add2evaluation::df, bin_number = 10)

JiaxiangBU/add2evaluation documentation built on Jan. 21, 2020, 7:05 a.m.