Applied Deep Learning with PyTorch
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Author: Hyatt Saleh
Reviewer: Sashikanth Dareddy
Managing Editor: Edwin Moses
Acquisitions Editor: Aditya Date
Production Editor: Nitesh Thakur
Editorial Board: David Barnes, Ewan Buckingham, Simon Cox, Manasa Kumar, Alex Mazonowicz, Jonathan Wray, Douglas Paterson, Dominic Pereira, Shiny Poojary, Erol Staveley, Ankita Thakur, and Mohita Vyas.
First Published: April 2019
Production Reference: 1260419
ISBN: 978-1-78980-459-1
Published by Packt Publishing Ltd.
Livery Place, 35 Livery Street
Birmingham B3 2PB, UK
Table of Contents
Chapter 1:
Chapter 2:
Chapter 3:
Chapter 4:
Chapter 5:
Chapter 6:
Preface
About
This section briefly introduces the author, the coverage of this book, the technical skills you'll need to get started, and the hardware and software requirements required to complete all of the included activities and exercises.
About the Book
Machine learning is fast becoming the preferred way to solve data problems, thanks to the huge variety of mathematical algorithms that find patterns otherwise invisible to us.
Applied Deep Learning with PyTorch takes your understanding of deep learning, its algorithms, and its applications to a higher level. The book begins by helping you browse through the basics of deep learning and PyTorch. Once you are well versed with the PyTorch syntax and capable of building a single-layer neural network, you will gradually learn to tackle more complex data problems by configuring and training a convolutional neural network (CNN) to perform image classification. As you progress through the chapters, you'll discover how you can solve an NLP problem by implementing a recurrent neural network (RNN).
By the end of this book, you'll be able to apply the skills and confidence you've gathered along your learning process to use PyTorch for building deep learning solutions that can solve your business data problems.
About the Author
Hyatt Saleh discovered the importance of data analysis for understanding and solving real-life problems after graduating from college as a business administrator. Since then, as a self-taught person, she not only works as a machine learning freelancer for many companies globally, but has also founded an artificial intelligence company that aims to optimize everyday processes. She has also authored Machine Learning Fundamentals, by Packt Publishing.
Objectives
- Detect a variety of data problems to which you can apply deep learning solutions
- Learn the PyTorch syntax and build a single-layer neural network with it
- Build a deep neural network to solve a classification problem
- Develop a style transfer model
- Implement data augmentation and retrain your model
- Build a system for text processing using a recurrent neural network
Audience
Applied Deep Learning with PyTorch is designed for data scientists, data analysts, and developers who want to work with data using deep learning techniques. Anyone looking to explore and implement advanced algorithms with PyTorch will also find this book useful. Some working knowledge of Python and familiarity with the basics of machine learning are a must. However, knowledge of NumPy and pandas will be beneficial, but not essential.
Approach
Applied Deep Learning with PyTorch takes a practical and hands-on approach, where every chapter has a practical example that is demonstrated end-to-end, from data acquisition to result interpretation. Considering the complexity of the concepts at hand, the chapters include several graphical representations to facilitate learning.
Hardware Requirements
For the optimal student experience, we recommend the following hardware configuration:
- Processor: Intel Core i3 or equivalent