Neural network exercise.