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 in trace_nuts, at times xnew.

Parameters
modelModel

Model object

traceMultiTrace

Trace from SMC/NUTS

xnewndarray

Array of times at which to evaluate the model light curve

pathNone or str

Save the resulting plot to path