Description Usage Arguments Value
Using cross-validation, estimate the loss associated with a particular set of lags and kernel function parameters. We calculate log-score loss
1 2 3 | kcde_crossval_estimate_parameter_loss(combined_params_vector, phi, theta,
vars_and_offsets, data, leading_rows_to_drop, trailing_rows_to_drop,
additional_rows_to_drop, kcde_control)
|
combined_params_vector |
vector of parameters for filtering and kernel functions that are being estimated |
theta |
list of kernel function parameters, both those that are being estimated and those that are out of date. Possibly the values of parameters being estimated are out of date; they will be replaced with the values in theta_est_vector. |
vars_and_offsets |
list representing combinations of variables and lags included in the model |
data |
the data frame to use in performing cross validation |
kcde_control |
a list of parameters specifying how the fitting is done |
numeric – cross-validation estimate of loss associated with the specified parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.