A neural network for uncertainty anticipation and information seeking