Description Usage Arguments Value Note Author(s)
View source: R/calculate_variable_split.R
This function calculate candidate splits for each selected variable.
For numerical variables splits are calculated as percentiles
(in general uniform quantiles of the length grid_points
).
For all other variables splits are calculated as unique values.
1 | calculate_variable_split(data, variables = colnames(data), grid_points = 101)
|
data |
validation dataset. Is used to determine distribution of observations. |
variables |
names of variables for which splits shall be calculated |
grid_points |
number of points used for response path |
A named list with splits for selected variables
This function is a copy of calculate_varaible_split()
from ingredients
package with small change.
Przemyslaw Biecek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.