Supervised Learning of Probability Distributions by Neural Networks