sample_model {lgpr}R Documentation

Fitting a model

Description

Usage

sample_model(
  model,
  verbose = TRUE,
  quiet = FALSE,
  skip_postproc = is_f_sampled(model),
  ...
)

optimize_model(model, ...)

Arguments

model

An object of class lgpmodel.

verbose

Can messages be printed?

quiet

Should all output messages be suppressed? You need to set also refresh=0 if you want to suppress also the progress update messages from sampling.

skip_postproc

Should all postprocessing be skipped? If this is TRUE, the returned lgpfit object will likely be much smaller (if sample_f=FALSE).

...

Optional arguments passed to sampling or optimizing.

Value

See Also

Other main functions: create_model(), draw_pred(), get_draws(), lgp(), pred(), prior_pred()


[Package lgpr version 1.2.4 Index]