Learn R Programming

SHAPforxgboost (version 0.1.3)

binner: Bins a variable into n_bins quantile groups.

Description

Internal function.

Usage

binner(y, n_bins = 7)

Arguments

y

Numeric vector to be binned.

n_bins

If y has up to this number of unique values, no binning is done.