Description Usage Arguments Examples
Given a categorical column in a data.table or a custom range, generate uniformly distributed points along its range.
1 | generate_grid_range_categorical_(feature_dt, feature_col, custom_range = NULL)
|
feature_dt |
data.table containing features used in predictive model |
feature_col |
character. name of a column in |
custom_range |
character vector that is a subset of levels in
|
1 2 3 4 5 | ## Not run:
dt <- data.table(a = 1:3, b = 4:6, c = LETTERS[1:3])
generate_grid_range_numeric_(dt, "c")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.