TransformedVar.predict()

TransformedVar.predict()#

TransformedVar.predict(samples)[source]#

Returns posterior samples of this variable. If the variable is transformed using a bijector, this method automatically takes care of applying the bijector to the transformed samples.

Parameters:

samples (dict[str, Any]) – Dictionary with arrays of posterior samples.

Return type:

Any

Returns:

Array of posterior samples.