Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Advanced Deep Learning with Python
Advanced Deep Learning with Python

Advanced Deep Learning with Python: Design and implement advanced next-generation AI solutions using TensorFlow and PyTorch

eBook
$24.99 $35.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Advanced Deep Learning with Python

The Nuts and Bolts of Neural Networks

In this chapter, we'll discuss some of the intricacies of neural networks (NNs)the cornerstone of deep learning (DL). We'll talk about their mathematical apparatus, structure, and training. Our main goal is to provide you with a systematic understanding of NNs. Often, we approach them from a computer science perspective—as a machine learning (ML) algorithm (or even a special entity) composed of a number of different steps/components. We gain our intuition by thinking in terms of neurons, layers, and so on (at least I did this when I first learned about this field). This is a perfectly valid way to do things and we can still do impressive things at this level of understanding. Perhaps this is not the correct approach, though.

NNs have solid mathematical foundations and if we approach them from this point of view, we...

The mathematical apparatus of NNs

In the next few sections, we'll discuss the mathematical branches related to NNs. Once we've done this, we'll connect them to NNs themselves.

Linear algebra

Linear algebra deals with linear equations such as and linear transformations (or linear functions) and their representations, such as matrices and vectors.

Linear algebra identifies the following mathematical objects:

  • Scalars: A single number.
  • Vectors: A one-dimensional array of numbers (or components). Each component of the array has an index. In literature, we will see vectors denoted either with a superscript arrow () or in bold (x). The following is an example of a vector:
Throughout this book, we'll mostly...

A short introduction to NNs

A NN is a function (let's denote it with f) that tries to approximate another target function, g. We can describe this relationship with the following equation:

Here, x is the input data and θ are the NN parameters (weights). The goal is to find such θ parameters with the best approximate, g. This generic definition applies for both regression (approximating the exact value of g) and classification (assigning the input to one of multiple possible classes) tasks. Alternatively, the NN function can be denoted as .

We'll start our discussion from the smallest building block of the NNthe neuron.

Neurons

The preceding definition is a bird's-eye view of a NN. Now, let...

Training NNs

In this section, we'll define training a NN as the process of adjusting its parameters (weights) θ in a way that minimizes the cost function J(θ). The cost function is some performance measurement over a training set that consists of multiple samples, represented as vectors. Each vector has an associated label (supervised learning). Most commonly, the cost function measures the difference between the network output and the label.

We'll start this section with a short recap of the gradient descent optimization algorithm. If you're already familiar with it, you can skip this.

Gradient descent

For the purposes of this section, we'll use a NN with a single regression output and mean...

Summary

We started this chapter with a tutorial on the mathematical apparatus that forms the foundation of NNs. Then, we recapped on NNs and their architecture. Along the way, we tried to explicitly connect the mathematical concepts with the various components of the NNs. We paid special attention to the various types of activation functions. Finally, we took a comprehensive look at the NN training process. We discussed gradient descent, cost functions, backpropagation, weights initialization, and SGD optimization techniques.

In the next chapter, we'll discuss the intricacies of convolutional networks and their applications in the computer vision domain.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Get to grips with building faster and more robust deep learning architectures
  • Investigate and train convolutional neural network (CNN) models with GPU-accelerated libraries such as TensorFlow and PyTorch
  • Apply deep neural networks (DNNs) to computer vision problems, NLP, and GANs

Description

In order to build robust deep learning systems, you’ll need to understand everything from how neural networks work to training CNN models. In this book, you’ll discover newly developed deep learning models, methodologies used in the domain, and their implementation based on areas of application. You’ll start by understanding the building blocks and the math behind neural networks, and then move on to CNNs and their advanced applications in computer vision. You'll also learn to apply the most popular CNN architectures in object detection and image segmentation. Further on, you’ll focus on variational autoencoders and GANs. You’ll then use neural networks to extract sophisticated vector representations of words, before going on to cover various types of recurrent networks, such as LSTM and GRU. You’ll even explore the attention mechanism to process sequential data without the help of recurrent neural networks (RNNs). Later, you’ll use graph neural networks for processing structured data, along with covering meta-learning, which allows you to train neural networks with fewer training samples. Finally, you’ll understand how to apply deep learning to autonomous vehicles. By the end of this book, you’ll have mastered key deep learning concepts and the different applications of deep learning models in the real world.

Who is this book for?

This book is for data scientists, deep learning engineers and researchers, and AI developers who want to further their knowledge of deep learning and build innovative and unique deep learning projects. Anyone looking to get to grips with advanced use cases and methodologies adopted in the deep learning domain using real-world examples will also find this book useful. Basic understanding of deep learning concepts and working knowledge of the Python programming language is assumed.

What you will learn

  • Cover advanced and state-of-the-art neural network architectures
  • Understand the theory and math behind neural networks
  • Train DNNs and apply them to modern deep learning problems
  • Use CNNs for object detection and image segmentation
  • Implement generative adversarial networks (GANs) and variational autoencoders to generate new images
  • Solve natural language processing (NLP) tasks, such as machine translation, using sequence-to-sequence models
  • Understand DL techniques, such as meta-learning and graph neural networks

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 12, 2019
Length: 468 pages
Edition : 1st
Language : English
ISBN-13 : 9781789952711
Category :
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Dec 12, 2019
Length: 468 pages
Edition : 1st
Language : English
ISBN-13 : 9781789952711
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 147.97
Deep Learning with TensorFlow 2 and Keras
$43.99
Advanced Deep Learning with Python
$48.99
Python Machine Learning
$54.99
Total $ 147.97 Stars icon

Table of Contents

16 Chapters
Section 1: Core Concepts Chevron down icon Chevron up icon
The Nuts and Bolts of Neural Networks Chevron down icon Chevron up icon
Section 2: Computer Vision Chevron down icon Chevron up icon
Understanding Convolutional Networks Chevron down icon Chevron up icon
Advanced Convolutional Networks Chevron down icon Chevron up icon
Object Detection and Image Segmentation Chevron down icon Chevron up icon
Generative Models Chevron down icon Chevron up icon
Section 3: Natural Language and Sequence Processing Chevron down icon Chevron up icon
Language Modeling Chevron down icon Chevron up icon
Understanding Recurrent Networks Chevron down icon Chevron up icon
Sequence-to-Sequence Models and Attention Chevron down icon Chevron up icon
Section 4: A Look to the Future Chevron down icon Chevron up icon
Emerging Neural Network Designs Chevron down icon Chevron up icon
Meta Learning Chevron down icon Chevron up icon
Deep Learning for Autonomous Vehicles Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Most Recent
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(23 Ratings)
5 star 78.3%
4 star 21.7%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Most Recent

Filter reviews by




Kumar Bhargav Srinivasan Jan 18, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Target audience for this book is : people who have basic knowledge of AI & Machine Learning.Topics which are perquisites:Basic Linear AlgebraStatisticsPython ( Not a hard requirement, but recommended)Pros:* If you are someone who doesn't remember, first chapter will make life easy for you. It has very thorough examples of each topic of Linear Algebra and statistics.* All the code implemented in the book are accessible via github which is very convenient to hands on on different datasets. I would recommend to run same code on different datasets to try it on your own.* "Put it together" is really nice way to revise all the topics learnt in the chapter.* All the chapters are mostly independent so if you want to focus on one topic than you can just read that chapter and grasp everything.* Personally, I really enjoyed section on text classification and BERT.Cons:* Code maybe hard for the ones who are not fluent in python but python is overall is easier to learn so I don't think this as a barrier to read this book.Overall, this book is really good read for the one who already have beginner level knowledge. I would definitely recommend for the fact it really dives into each topic to the advance level.
Amazon Verified review Amazon
Sunita Jan 14, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The author of this book reached out to me and provided copy of the full book. I love the way author goes into details of each section in the book. You definitely need to have a prior knowledge of deep learning before diving into this book. The language of the book is fairly simple, clear and easy to understand. Knowing python is a must. I enjoyed reading the book thoroughly.
Amazon Verified review Amazon
Amazon Customer Jan 14, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
What an amazing book! What an amazing Ivan Vasilev has undertaken!I've done several deep learning courses in the past. For those who prefer to know how actually deep learning works in-depth and how math is using behind the deep learning model prediction, this is a gold mine for them.I haven't finished all the materials in the book, but I've read a good way and while it's a different experience to doing the course online, I have been enjoying it so far. The book is well written, well-thought-out and it's started with basic math (concept) to the future of deep learning.I like language modeling and meta-learning most. I was very curious about some topics about how it works behind the scene. Because of this book, I got the most answers. Thank you, Ivan, to compile such a great book.Another great thing about this book is that the book code sample is readily available in GitHub so it's very convenient for me to explore furthermore without wasting time.After reading this book, I am amazed by the usage of math. Thank you Ivan for writing this book. I'll eagerly wait for the next release.
Amazon Verified review Amazon
Steve Dec 31, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I have generally reviewed this book, I found this is a very good book if you are a beginner or interested in the deep learning field with using python. This book can equip you with an overview of the necessary knowledge along with practical implementations in python, after reading this book, it expects that at least you could solve basic problems or even harder ones in your tasks and you would feel be comfortable to acquire new knowledge querying online in a fast way.Enjoy reading!
Amazon Verified review Amazon
Chandra Dec 30, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Disclaimer: The publisher reached out to me to review the book and provided me a copy of it.This book is for readers who already know about DL and want to know the latest in applying DL. This book covers a lot of breadth (vision, text, graphs, meta learning and autonomous vehicles) and depth in some topics (various vision and text neural network architectures). Book starts with an introduction to algebra, vector operations and calculus needed to understand DL concepts in chapter 1 and then ramps up to cover DL applications from chapter 2 onwards. I feel this book is good starting source for someone to get familiar with concepts of applying to DL to graphs and meta learning(there are abundant sources to learn about vision and text problems)If you are looking to learn from the basics, I recommend ‘deep learning’ Coursera course before buying this book.If you are looking to learn about PyTorch and Tensorflow frameworks (even though the title mentions them), I recommend you to look elsewhere.Final thoughts:Highly recommend for readers who are familiar with DL
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.