VariationalLowerBounds

class tfsnippet.VariationalLowerBounds(vi)

Bases: object

Factory for variational lower-bounds.

Methods Summary

elbo([name]) Get the evidence lower-bound.
importance_weighted_objective([name]) Get the importance weighted lower-bound.
monte_carlo_objective([name]) Get the importance weighted lower-bound.

Methods Documentation

elbo(name=None)

Get the evidence lower-bound.

Returns:The evidence lower-bound.
Return type:tf.Tensor

See also

tfsnippet.variational.elbo_objective()

Parameters:name (str) – Default name of the name scope. If not specified, generate one according to the method name.
importance_weighted_objective(name=None)

Get the importance weighted lower-bound.

Returns:The per-data importance weighted lower-bound.
Return type:tf.Tensor

See also

tfsnippet.variational.monte_carlo_objective()

Parameters:name (str) – Default name of the name scope. If not specified, generate one according to the method name.
monte_carlo_objective(name=None)

Get the importance weighted lower-bound.

Returns:The per-data importance weighted lower-bound.
Return type:tf.Tensor

See also

tfsnippet.variational.monte_carlo_objective()

Parameters:name (str) – Default name of the name scope. If not specified, generate one according to the method name.