esem.emulator.Emulator._predict

Emulator._predict(x, *args, **kwargs)

The (internal) predict interface used by e.g., a sampler. It is still in tf but has been post-processed to allow comparison with obs.

Parameters
  • x (array-like) – The points at which to make predictions from the model

  • args – The specific arguments needed for prediction with this model

  • kwargs – Any keyword arguments that might need to be passed through to the model

Returns

Emulated prediction and variance as either np.ndarray or tf.Tensor