Compute kernel values measuring the similarity of each row in the train_lagged_obs data frame to the prediction_lagged_obs.
1 2 | compute_kernel_values(train_obs, prediction_obs, kernel_components, theta,
log = TRUE)
|
train_obs |
a data frame with lagged observation vectors computed from the training data |
prediction_obs |
a data frame with the lagged observation vector computed from the prediction data. It is assumed that prediction_lagged_obs contains only one row. |
theta |
a list with one component for each component of the kernel function. This component is a named list with arguments to the corresponding kernel function. |
log |
boolean; if TRUE (default), return kernel values on the log scale |
kcde_control |
a list of kcde_control parameters for kcde |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.