Skip to Content
Practical Time Series Analysis
book

Practical Time Series Analysis

by PKS Prakash, Avishek Pal
September 2017
Beginner
244 pages
5h 20m
English
Packt Publishing
Content preview from Practical Time Series Analysis

1D convolution

1D convolution layers can be used to develop time series forecasting models. A time series having 1 x m observations is like an image of dimension p, which has a height of a single pixel. In this case, 1D convolution can be applied as a special case of 2D convolution using a 1 x 3 filter. Additionally, the filter is moved only along the horizontal direction by strides length of 1 x 8 time units.

Let's understand how 1D convolution works. Consider the following figure that shows a time series of ten timesteps. A (1 x -1) + (2x1) + (-1 x 2) = -1 filter is moved by a stride of one time unit over the series. Thus, a 1 x 3 feature map is generated. The first element of the feature map is computed as 1 x 10. The rest of the timesteps ...

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

Practical Time Series Analysis

Practical Time Series Analysis

Aileen Nielsen

Publisher Resources

ISBN: 9781788290227Supplemental Content