Description Usage Arguments Value Examples
Loops through feature columns in a data.table
and
calculates partial dependency for each
1 2 3 | loop_calculate_partial_dependency(feature_dt, model_list,
feature_cols = names(feature_dt), predict_fcn = predict,
ensemble_fcn = median, ...)
|
feature_dt |
data.table containing features used in predictive model |
model_list |
named list of model objects. Each name will become a column containing predictions from that model. |
feature_cols |
character vector of column names in |
predict_fcn |
function that accepts a model as its first argument
and |
ensemble_fcn |
function that combines a vector of predictions into
a single ensemble. Default is |
... |
additional arguments to pass to |
a list of data.tables
returned by calculate_partial_dependency
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.