pdf
- QRNN.pdf(x)[source]
Approximate the posterior probability density function (PDF) for given inputs
x
.The PDF is approximated by computing the derivative of the piece-wise linear approximation of the CDF as computed by the
typhon.retrieval.qrnn.QRNN.cdf()
function.- Parameters
x (np.array) – Array of shape (n, m) containing n inputs for which to predict PDFs.
- Returns
Tuple (x_pdf, y_pdf) containing the array with shape (n, k) containing the x and y coordinates describing the PDF for the inputs in
x
.