Chapter 4

Foundations of Convolutional Neural Network

Learning Objectives

By the end of this chapter, you will be able to:

  • Describe the inspiration for CNNs in neural science
  • Describe the convolution operations
  • Describe a basic CNN architecture for a classification task
  • Implement a simple CNN for image and text classification tasks
  • Implement a CNN for a sentiment analysis of text

In this chapter, we aim to cover the architecture of convolutional neural networks (CNNs) and gain an intuition of CNNs based on their applications on image data, before delving into their applications in natural language processing.

Introduction

Neural networks, as a broad field, borrow a lot from biological systems, particularly the brain. Advances in neural ...

Get Deep Learning for Natural Language Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.