posterior_mean

QRNN.posterior_mean(x)[source]

Computes the posterior mean by computing the first moment of the estimated posterior CDF.

Parameters

x (np.array) – Array of shape (n, m) containing n inputs for which to predict the posterior mean.

Returns

Array containing the posterior means for the provided inputs.