A neural network prediction of solar cycle 23