plot

Methods for the plot (leave-one-out) module in hetgpy

Suite of plotting functions for model checks/diagnostics/etc.

plot_diagnostics(model, interval='predictive')[source]

Diagnostics plot which mirrors the plot(model) routine in hetGP

Plots the LOO predctions against the model data

Parameters:
  • model (hetGPy model)

  • interval (str) – one of ‘confidence’ or ‘predictive’

Returns:

fig, ax

Return type:

matplotlib figure and axes

plot_optimization_iterates(object, keys_and_title=None)[source]

Plot maximum likelihood iterates

Parameters:
  • object (homGP or hetgpy.hetGP.hetGP model) – hetGPy object

  • keys_and_title (iterable for model component to extract (theta, g, etc.))

Returns:

fig, ax

Return type:

matplotlib figure and axes