where z_in and z_desired represent the testing input and desired data respectively. z_out represents the output that the network actually produced when tested with z_in. The variable ”performance” stores indicators comparing the network output z_out with the desired output z_desired.
Production
Once you have created the network, trained and tested it to your satisfaction, the neural network is ready to be utilized in practice with production data.
>> p_out = nsProduction (mynet, p_in);
where p_in is the production input data and p_out is the network output for the production input data.
What is Production?
Let’s say you want a neural network to do voice recognition. To train the neural network you would record voice samples of people you know and use it as training data. The voice samples serve as the training input data and the text that they spoke serves as the training desired data. Once the neural network is trained it can be used in a real-world situation to perform voice recognition on voice samples of any individual. This process of using a neural network on data for which there is no desired output is called production.