Description Usage Arguments Examples
Given a numeric column in a data.table or a custom range, generate uniformly distributed points along its range.
1 2 | generate_grid_range_numeric_(feature_dt, feature_col, num_grid = 100,
custom_range = NULL)
|
feature_dt |
data.table containing features used in predictive model |
feature_col |
character. name of a column in |
num_grid |
number of points to distribute along range of
|
custom_range |
2-element numeric vector to be used instead of range of
|
1 2 3 4 5 | ## Not run:
dt <- data.table(a = 1:3, b = 4:6)
generate_grid_range_numeric_(dt, "a", 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.