-
Book Overview & Buying
-
Table Of Contents
Time Series with PyTorch
By :
In this chapter we explored PyTorch’s fundamentals and applied Lightning to enhance neural network training, validation, and testing workflows. We have learned how we encapsulate data in tensors, facilitating efficient computation on CPUs and GPUs. You have also been introduced to the computational graph, which dictates the sequence of operations in neural architectures. As a result, we came to understand this sequence informs forward pass calculations.
Critical to neural network modeling is computing loss gradients using the chain rule, which allows optimization algorithms to adjust network parameters (weights and biases) toward improved predictive accuracy. Finally you learned about the basic coding structure for pure PyTorch and Lightning, with the latter highlighted for its ability to streamline and automate training workflows, allowing us to focus on model design rather than procedural code. In the next chapter you will learn about the powerful but ‘...