- عنوان کتاب: Time Series with PyTorch Modern Deep Learning Toolkit for Real-World Forecasting Challenges
- نویسنده: Graeme Davidson, Lei Ma
- حوزه: سری زمانی
- سال انتشار: 2026
- تعداد صفحه: 606
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 18.9 مگابایت
دادههای جاسازیشدهی زمانی برای دنیای ما اساسی هستند؛ این دادهها به ما میگویند که چه بوده، چرا بوده و چه خواهد شد. شما آنها را همه جا میبینید، از ملودیهای نوازنده/آهنگساز مورد علاقهتان و فعالیت عصبی در مغزتان گرفته تا انرژیای که کامپیوترتان را تغذیه میکند و زنجیرهی تأمین حیاتی که غذای شما را تأمین میکند. اغلب، مردم فقط زمانی آنها را میبینند که اتفاق بدی در حال رخ دادن است، مثلاً یک بحران مالی، افزایش میانگین دمای جهانی، موارد کووید-۱۹ و تختهای بیمارستان. در طرف مقابل دوگانهگرایی، شاهد افزایش امید به زندگی، کاهش فقر، افزایش سواد و فراوانی عرضه مواد غذایی هستیم. اطلاعات بیشتری نسبت به گذشته برای توضیح زندگی و محیطهایمان در دسترس ماست و با آن دادهها میتوانیم دنیای اطرافمان را درک و بهبود بخشیم. مدلسازی این دادهها یک حوزهی جذاب و چالشبرانگیز از علم داده و آمار است و فکر میکنم منصفانه است که بگوییم بسیاری از مردم آن را چنین میدانند. وابستگیهای زمانی، عدم ایستایی، مشاهدات از دست رفته، مدلسازی دادههای باقیمانده و انواع فرآیندهای تولید داده، همگی دست به دست هم میدهند تا پیشبینی را برای تازهکارها دشوار کنند. این موضوع با این واقعیت که کتابهایی مانند «تحلیل سریهای زمانی» همیلتون (که عالی است) بدون توسعه دانش قوی ریاضی و آماری غیرقابل نفوذ هستند، کمکی نمیکند. با این حال، لازم نیست همه در سطح یک تحلیلگر کمی برای رنسانس تکنولوژیز باشند. بسیاری از افراد، مانند راب هایندمن، برای توسعه و بهبود دانش پیرامون پیشبینی سریهای زمانی سخت تلاش کردهاند. شبکههای عصبی و یادگیری عمیق (بسته به اینکه چگونه آن را تعریف کنید) در اواخر دهه ۱۹۸۰ وارد صحنه شدند، زمانی که شبکههای پیشخور (FFN) برای مدلسازی متوالی شروع به استفاده کردند و به دنبال آن در سال ۱۹۹۷، شبکههای پیشخور (LSTM) به وجود آمدند. و آنها در آنجا ماندند، مفید بودند اما پیشرفت زیادی در پیشبینی نداشتند تا اینکه در سال ۲۰۱۷، ترنسفورمرز توسط تیمی در گوگل ایجاد شد و به دنبال آن N-BEATS، N-HiTS اورشکین و همکارانش و طیف وسیعی از معماریها و تکنیکهای جدید برای آموزش که به ما امکان میدهد یادگیری متقابل و یادگیری انتقالی را روی مدلهای آموزش ندیده و آموزش دیده اعمال کنیم، ایجاد شد. در حال حاضر، بسیاری از این شبکهها/الگوریتمها میتوانند در PyTorch نوشته شوند یا نوشته میشوند، که به ما یک چارچوب انعطافپذیر و رسا برای ساخت، آموزش و ارزیابی مدلهای پیشبینی، از FFN های ساده گرفته تا مدلهای پایه که در هزاران سری آموزش دیدهاند، میدهد. البته، افراد مهربان در NeuralForecast و Darts کارهای زیادی را برای ما انجام دادهاند، بنابراین شما فقط باید گاهی اوقات از ابتدا شروع کنید. آزمایش با شبکههای عصبی هرگز آسانتر از این نبوده است، اما این معماریها چگونه کار میکنند، چگونه بین آنها تصمیم میگیریم و چه زمانی مفید هستند؟ در پیشبینی سریهای زمانی هیچ ناهار رایگانی وجود ندارد. هدف این کتاب کمک به شما در درک این موضوع و هدایت شهود شما با توضیح نحوه ساخت توابع توسط این معماریها برای دادههای زمانی است تا بتوانید در انتخابهای خود مطمئن باشید. این کتاب یک راهنمای عملی است. ما آن را برای دانشمندان داده، مهندسان یادگیری ماشین و محققانی که از قبل تجربهای با پایتون و آمار دارند اما میخواهند درک عملی از رویکردهای یادگیری عمیق مدرن به سریهای زمانی ایجاد کنند، نوشتهایم. هدف ما فهرستبندی تمام معماریهای منتشر شده نیست، بلکه ارائه مبانی مفهومی، کد عملی و اصول ارزیابی مورد نیاز برای طراحی، ساخت و ارزیابی انتقادی سیستمهای پیشبینی در عمل است. این کتاب در سه بخش گسترده سازماندهی شده است. بخش اول (فصلهای ۱ تا ۷) مبانی را مشخص میکند: چه چیزی دادههای سری زمانی را چالشبرانگیز میکند، چگونه مدلها را صادقانه ارزیابی کنیم، مکانیک PyTorch و نحوه ساخت، بهینهسازی و کالیبراسیون شبکههای عصبی با فواصل پیشبینی همدیس. بخش میانی (فصلهای ۸ تا ۱۳) خانوادههای معماری اصلی – شبکههای بازگشتی، مبدلها، شبکههای عصبی کانولوشن (CNN)، شبکههای عصبی گراف و مدلهای مولد، از جمله خودرمزگذارهای متغیر (VAE) و انتشار – را در کنار یادگیری انتقالی و استراتژیهای مدلسازی سراسری پوشش میدهد. بخش آخر (فصلهای ۱۴ تا ۱۸) فراتر از پیشبینی نقطهای به طبقهبندی، خوشهبندی، تعبیهها، تشخیص ناهنجاری و یادگیری خودنظارتی میرود که منعکسکننده وسعت وظایفی است که متخصصان اغلب با آن مواجه میشوند. در کل، ما بر درک بیش از کاربرد جعبه سیاه تأکید داریم. ما میخواهیم شما بدانید که چرا یک معماری به این شکل کار میکند، نه فقط نحوه فراخوانی API آن. در صورت امکان، قبل از نشان دادن اینکه چگونه کتابخانههایی مانند NeuralForecast و statsforecast از Nixtla میتوانند آزمایشهای شما را تسریع کنند، مدلهایی را از اصول اولیه در PyTorch میسازیم. امیدواریم که این مطلب برای شما مفید باشد.
Temporally embedded data is fundamental to our world; it tells us about what has been, why it has been and what it may become. You see it everywhere, from the melodies of your favorite musician/ composer and the neural activity in your brain to the energy powering your computer and the critical supply chain supplying your food. Often, people only see them when something bad is happening, e.g., a financial crash, average global temperature increases, COVID-19 cases, and hospital beds. On the opposite side of dualism, we see life expectancy increasing, poverty decreasing, literacy increasing, and an abundance of food supply. More information is available to us than ever before to explain our lives and environments, and with that data, we can understand and improve the world around us. Modeling this data is a fascinating and challenging area of data science and statistics, and I think it is fair to say that many people find it so. Temporal dependencies, non-stationarity, missing observations, modeling residual data, and a variety of data-generating processes all conspire to make forecasting difficult for novices. This is not helped by the fact that books like Hamilton’s Time Series Analysis (which is excellent) are impenetrable without developing a strong mathematical and statistical knowledge. However, not everyone needs to be at the level of a quantitative analyst for Renaissance Technologies. Many people, such as Rob Hyndman, have worked hard to develop and improve knowledge around time series forecasting. Neural networks and Deep learning (depending on how you define it) entered the scene around the late 1980s, when Feed-Forward Networks (FFNs) started to be used for sequential modeling, followed by LSTMs in 1997. And there they sat, useful but not making much headway in forecasting until 2017, when Transformers were created by a team at Google, followed by Oreshkin et al.’s N-BEATS, N-HiTS and a huge range of new architectures and techniques for training that allow us to apply cross-learning and transfer-learning on untrained and trained models. Currently, many of these networks/algorithms can be, or are, written in PyTorch, which gives us a flexible and expressive framework for building, training, and evaluating forecasting models, from simple FFNs to foundation models trained across thousands of series. Of course, the kind people at NeuralForecast and Darts have done a lot of the work for us, so you only need to start from scratch occasionally. It has never been easier to experiment with neural networks, but how do these architectures work, how do we decide between them, and when are they useful? In time series forecasting there is no free lunch; this book aims to help you understand that, and to guide your intuition by explaining how these architectures build functions for temporal data, so that you can be confident in your choices. This book is a practical guide. We wrote it for data scientists, machine learning engineers, and researchers who already have some experience with Python and statistics but want to build a working understanding of modern deep learning approaches to time series. Our goal is not to catalog every published architecture, but to give you the conceptual foundations, hands-on code, and evaluation discipline you need to design, build, and critically assess forecasting systems in practice. The book is organized in three broad sections. The first third (Chapters 1 to 7) establishes foundations: what makes time series data challenging, how to evaluate models honestly, the mechanics of PyTorch, and how to build, optimize, and calibrate neural networks with conformal prediction intervals. The middle section (Chapters 8 to 13) covers major architectural families — recurrent networks, transformers, Convolutional Neural Networks (CNNs), graph neural networks, and generative models, including Variational Autoencoders (VAEs) and diffusion — alongside transfer learning and global modeling strategies. The final third (Chapters 14 to 18) moves beyond point forecasting into classification, clustering, embeddings, anomaly detection, and self-supervised learning, reflecting the breadth of tasks practitioners often encounter. Throughout, we emphasize understanding over black-box application. We want you to know why an architecture works the way it does, not just how to call its API. Where possible, we build models from first principles in PyTorch before showing how libraries like Nixtla’s NeuralForecast and statsforecast can accelerate your experimentation. We hope you find it useful.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Time Series with PyTorch





نظرات کاربران