Description Usage Arguments Value
Format "complete" is only partially implemented.
1 2 | compute_model_weights(xgbstack_fit, newdata, ntreelimit, log = FALSE,
format = "bare")
|
xgbstack_fit |
a fit xgbstack object |
newdata |
new x data |
ntreelimit |
how many boosting iterations worth of trees to use |
log |
boolean: return log of weights or original weights? |
format |
string, either "bare" to return an nrow(newdata) by num_models matrix of (log) weights, or "complete" to return a data frame with nrow(newdata) times num_models data frame with both weights and log_weights as well as parameter values and newdata |
(log) weights in the format determined by format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.