Skip to Content
Neural Networks with R
book

Neural Networks with R

by Balaji Venkateswaran, Giuseppe Ciaburro
September 2017
Beginner to intermediate
270 pages
5h 53m
English
Packt Publishing
Content preview from Neural Networks with R

Step #1 – filtering

The convolutional layer does the heavy math operations. In computer vision, a typical approach to processing an image is to convolute it with a filter to extract only the salient features in it. This is the first operation in a CNN. The input image is applied a filter logic to create an activation map or feature map:

The convoluted feature vector is created by applying the kernel vector on each 3 x 3 vector of the image.

The mathematical steps for filtering are as follows:

  1. Line up the feature and the image patch.
  2. Multiply each image pixel by the corresponding feature pixel.
  3. Add them up.
  4. Divide each sum by the total number ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Deep Learning with R

Deep Learning with R

J.J. Allaire
Advanced Machine Learning with R

Advanced Machine Learning with R

Cory Lesmeister, Dr. Sunil Kumar Chinnamgari

Publisher Resources

ISBN: 9781788397872Supplemental Content