Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Time Series with PyTorch
  • Table Of Contents Toc
Time Series with PyTorch

Time Series with PyTorch

By : Graeme Davidson, Lei Ma
close
close
Time Series with PyTorch

Time Series with PyTorch

By: Graeme Davidson, Lei Ma

Overview of this book

Neural networks are powerful tools for time-series forecasting, but applying them effectively requires both practical experience and a clear understanding of architectures, training strategies, and evaluation methods. This book brings these ideas together in a structured and practical way. Starting with PyTorch fundamentals, you will build neural networks from scratch and progress through recurrent networks, attention mechanisms, and transformers before exploring forecasting architectures such as N-BEATS, N-HiTS, and the Temporal Fusion Transformer. Along the way, you will learn robust hyperparameter tuning, conformal prediction for uncertainty estimation, and reliable evaluation practices. Unlike most forecasting books, this text also explores topics often overlooked or treated separately, including transfer learning across collections of series, synthetic data generation with diffusion models, and self-supervised representation learning. Beyond forecasting, later chapters cover classification, clustering, anomaly detection, and embeddings for large-scale time-series modeling. Throughout, the focus is pragmatic: theory is reinforced through experimentation and implementation so you can apply these methods confidently to real-world time-series problems.
Table of Contents (22 chapters)
close
close
20
Other Books You May Enjoy
21
Index

Decomposition

Conducting decomposition as part of our EDA presents us with several advantages:

  • Improved understanding: It isolates the trend and seasonal components, providing clearer insights into the underlying structure
  • Simplified modeling: The decomposed elements can be modeled separately, often leading to more accurate forecasts
  • Enhanced forecasting: By capturing the essence of each component, we can make more informed predictions about future behavior
  • Anomaly detection: Isolating the random noise (residuals) makes it easier to identify significant deviations from a more general pattern

Decomposition techniques, such as classical decomposition, X-11, and seasonal and trend decomposition using Loess (STL), can be employed to perform time series decomposition. While each method has its strengths, STL is often used due to its flexibility. It uses locally weighted scatterplot smoothing (Loess) to estimate the trend and seasonal components of...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Time Series with PyTorch
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon