246 Chapter 6 Neural Networks
the number of classes determines the number of nodes in the output layer.
Finally, the number of nodes in the hidden layer is four, which is determined
by the size of the training sample and the number of output nodes.
In the recall process the values of attributes X
1
through X
8
of the test
samples are fed into the nodes of the input layer to run the BPNN model.
Through this process, the model will generate an answer corresponding to
a test sample to determine which class each sample belongs to. The follow-
ing two examples show the test case for different classes, one for the positive
result and the other for the negative result for diabetes.
Testing Examples
CASE 1:
We use the following testing example to sho ...