Python for Numerical Computations
摘要
Machine learning is the main technique we use in this book. This chapter describes NumPy arrays and PyTorch tensors, the fundamental structures to represent and process numerical data in Python. It also provides a reminder on the mathematical operations on vectors and matrices and how to apply them with Python. It finally illustrates how to store a dataset with matrices and how PyTorch uses them to build neural networks.