set_prediction_data | R Documentation |
GPModel
Set the data required for making predictions with a GPModel
set_prediction_data(gp_model, vecchia_pred_type = NULL,
num_neighbors_pred = NULL, cg_delta_conv_pred = NULL,
nsim_var_pred = NULL, rank_pred_approx_matrix_lanczos = NULL,
group_data_pred = NULL, group_rand_coef_data_pred = NULL,
gp_coords_pred = NULL, gp_rand_coef_data_pred = NULL,
cluster_ids_pred = NULL, X_pred = NULL)
gp_model |
A |
vecchia_pred_type |
A
|
num_neighbors_pred |
an |
cg_delta_conv_pred |
a |
nsim_var_pred |
an |
rank_pred_approx_matrix_lanczos |
an |
group_data_pred |
A |
group_rand_coef_data_pred |
A |
gp_coords_pred |
A |
gp_rand_coef_data_pred |
A |
cluster_ids_pred |
A |
X_pred |
A |
Fabio Sigrist
data(GPBoost_data, package = "gpboost")
set.seed(1)
train_ind <- sample.int(length(y),size=250)
gp_model <- GPModel(group_data = group_data[train_ind,1], likelihood="gaussian")
set_prediction_data(gp_model, group_data_pred = group_data[-train_ind,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.