Step #4 – voting and classification in the fully connected layer

The final layer is the fully connected layer and there is voting by the set of values to determine the class of the output. The fully connected layer is just a merged matrix of all the previous outputs.

This is the final layer and the output is determined based on the highest voted category.

By stacking up the layers in steps 1, 2, and 3, we form the convolution network, which can reduce the error term with backpropagation to give us the best prediction.

The layers can be repeated multiple times and each layer output forms an input to the next layer.

A classical CNN architecture would look like this:

An example classification prediction using CNN is shown in the following figure:

We will see an implementation of CNN using R in Chapter 7, Use Cases of Neural Networks – Advanced Topics.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset