A neural network approach to estimating a posteriori distributions of Bayesian retrieval problems | Synapse