- In this recipe, we use the net.result function, which is the overall result of the neural network, used to predict the labels of the testing dataset. Apart from examining the overall result by accessing net.result, the compute function also generates the output from neurons in each layer. You can examine the output of neurons to get a better understanding of how compute works:
> compute(network, testset[-5])