1. A method of controlling engine NOx production, comprising: determining a desired amount of NOx production for at least one engine cylinder at a first time; and determining at least one engine operating parameter to produce the desired amount of NOx using a feed-forward neural network.