Step 2: Training the Neural Network
The following command trains the neural network with your data.
>> mynet = nsTrain (mynet, x, y);
where, x is the input data and y is the desired data.
What do Input Data and Desired Data mean?
Cross validation can be performed without any additional effort by passing the cross validation data to the train function as well.
>> mynet = nsTrain (mynet, x, y, cv_x, cv_y);
where cv_x is the cross-validation input data and cv_y is the cross-validation desired data.
What is Cross Validation?
The learning curve and the output and desired plots can be seen with ease after training by setting their respective parameters to true.
>> mynet = nsnn;
>> mynet.learningCurve = true;
>> mynet.outputAndDesired = true;
>> mynet = nsTrain (mynet, inputData, desiredData);
Back |
Tour Topics |
Next
|
|
NeuroDimension, Inc. announces the release of NeuroSolutions 6.07
|
"I have had very good experiences working with your company. Every time I send questions or comments I usually get feedback in a short time. Not many companies have this high quality service. Keep up the good work and I will definitely recommend your products to my friends."
- Theresa Tsou, Ph.D., Florida Marine Research Institute
|