gp_from_posterior¶
-
dot.plots.
gp_from_posterior
(model, trace_nuts, xnew, path)[source] [edit on github]¶ Plot a GP regression with the mean model defined in
model
, drawn from the posterior distribution intrace_nuts
, at timesxnew
.- Parameters
- model
Model
Model object
- trace
MultiTrace
Trace from SMC/NUTS
- xnew
ndarray
Array of times at which to evaluate the model light curve
- pathNone or str
Save the resulting plot to
path
- model