Skip to content

Commit 2ea438b

Browse files
committed
[python-pacakge] small change in documentation
1 parent 5fd0026 commit 2ea438b

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

python-package/gpboost/basic.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3380,48 +3380,48 @@ def predict(self, data, start_iteration=0, num_iteration=None,
33803380
Coordinates (features) for Gaussian process. Used only if the Booster has a gp_model
33813381
gp_rand_coef_data_pred : numpy array or pandas DataFrame with numeric data or None, optional (default=None)
33823382
Covariate data for Gaussian process random coefficients. Used only if the Booster has a gp_model
3383-
vecchia_pred_type : string, optional (default=None)
3384-
Type of Vecchia approximation used for making predictions
3383+
vecchia_pred_type : string, optional (default=None)
3384+
Type of Vecchia approximation used for making predictions
33853385
3386-
Default value: "order_obs_first_cond_obs_only" for Gaussian likelihoods and "latent_order_obs_first_cond_obs_only" for non-Gaussian likelihoods
3386+
Default value: "order_obs_first_cond_obs_only" for Gaussian likelihoods and "latent_order_obs_first_cond_obs_only" for non-Gaussian likelihoods
33873387
3388-
Used only if the Booster has a gp_model
3388+
Used only if the Booster has a gp_model
33893389
3390-
The following options are available:
3390+
The following options are available:
33913391
3392-
- "order_obs_first_cond_obs_only":
3392+
- "order_obs_first_cond_obs_only":
33933393
3394-
Vecchia approximation for the observable process and observed training data is
3395-
ordered first and the neighbors are only observed training data points.
3396-
This option is only available for Gaussian likelihoods
3394+
Vecchia approximation for the observable process and observed training data is
3395+
ordered first and the neighbors are only observed training data points.
3396+
This option is only available for Gaussian likelihoods
33973397
3398-
- "order_obs_first_cond_all":
3398+
- "order_obs_first_cond_all":
33993399
3400-
Vecchia approximation for the observable process and observed training data is
3401-
ordered first and the neighbors are selected among all points (training + prediction).
3402-
This option is only available for Gaussian likelihoods
3400+
Vecchia approximation for the observable process and observed training data is
3401+
ordered first and the neighbors are selected among all points (training + prediction).
3402+
This option is only available for Gaussian likelihoods
34033403
3404-
- "latent_order_obs_first_cond_obs_only":
3404+
- "latent_order_obs_first_cond_obs_only":
34053405
3406-
Vecchia approximation for the latent process and observed data is
3407-
ordered first and neighbors are only observed points}
3406+
Vecchia approximation for the latent process and observed data is
3407+
ordered first and neighbors are only observed points}
34083408
3409-
- "latent_order_obs_first_cond_all":
3409+
- "latent_order_obs_first_cond_all":
34103410
3411-
Vecchia approximation or the latent process and observed data is
3412-
ordered first and neighbors are selected among all points
3411+
Vecchia approximation or the latent process and observed data is
3412+
ordered first and neighbors are selected among all points
34133413
3414-
- "order_pred_first":
3414+
- "order_pred_first":
34153415
3416-
Vecchia approximation for the observable process and prediction data is
3417-
ordered first for making predictions. This option is only available for Gaussian likelihoods
3416+
Vecchia approximation for the observable process and prediction data is
3417+
ordered first for making predictions. This option is only available for Gaussian likelihoods
34183418
3419-
num_neighbors_pred : integer or None, optional (default=None)
3420-
Number of neighbors for the Vecchia approximation for making predictions
3419+
num_neighbors_pred : integer or None, optional (default=None)
3420+
Number of neighbors for the Vecchia approximation for making predictions
34213421
3422-
(default values if None: num_neighbors_pred=num_neighbors)
3422+
(default values if None: num_neighbors_pred=num_neighbors)
34233423
3424-
Used only if the Booster has a gp_model
3424+
Used only if the Booster has a gp_model
34253425
cluster_ids_pred : list, numpy 1-D array, pandas Series / one-column DataFrame with integer data or None, optional (default=None)
34263426
IDs / labels indicating independent realizations of random effects / Gaussian processes
34273427
(same values = same process realization). Used only if the Booster has a gp_model

0 commit comments

Comments
 (0)