lppl
v2.0.0
◆
operator()()
template<typename I , typename O , typename V , template< class, class, class... > class Q, typename... Ts>
V
GenericMetropolis
< I, O, V, Q, Ts >::operator()
(
I &
input
,
endog_proposal_t
< Ts... > &
proposal
)
inline
Runs the inference algorithm.
Parameters
input
The input to the probabilistic program
proposal
The proposal kernel. It should return \(log q(z'|z)\) i.e. loglatent(new_r).
Returns
V
GenericMetropolis
Generated by
1.9.1