Mean field approach to Bayes learning in feed-forward neural networks.