Feed-forward Neural Networks and Multinomial Log-Linear Models