Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Practical Time Series Analysis

You're reading from  Practical Time Series Analysis

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781788290227
Pages 244 pages
Edition 1st Edition
Languages
Authors (2):
Avishek Pal Avishek Pal
Profile icon Avishek Pal
PKS Prakash PKS Prakash
Profile icon PKS Prakash
View More author details

Convolutional neural networks


This section describes Convolutional Neural Networks (CNNs) that are primarily applied to develop supervised and unsupervised models when the input data are images. In general, two-dimensional (2D) convolutions are applied to images but one-dimensional (1D) convolutions can be used on a sequential input to capture time dependencies. This approach is explored in this section to develop time series forecasting models.

2D convolutions

Let's start by describing the 2D CNNs and we will derive 1D CNNs as a special case. CNNs take advantage of the 2D structure of images. Images have a rectangular dimension of w, where n is the height and h x w x n is the width of the image. The color value of every pixel would be an input feature to the model. Using a fully-connected dense layer having 28 x 28 neurons, the number of trainable weights would be 28 x 28 x 100 = 78400. For images of handwritten digits 32 x 32 from the MNIST dataset, the number of trainable weights in the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}