A neural net model for prediction