Advanced Deep Learning with Keras
eBook - ePub

Advanced Deep Learning with Keras

Apply deep learning techniques, autoencoders, GANs, variational autoencoders, deep reinforcement learning, policy gradients, and more

Rowel Atienza

Share book
  1. 368 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Advanced Deep Learning with Keras

Apply deep learning techniques, autoencoders, GANs, variational autoencoders, deep reinforcement learning, policy gradients, and more

Rowel Atienza

Book details
Book preview
Table of contents
Citations

About This Book

Understanding and coding advanced deep learning algorithms with the most intuitive deep learning library in existence

Key Features

  • Explore the most advanced deep learning techniques that drive modern AI results
  • Implement deep neural networks, autoencoders, GANs, VAEs, and deep reinforcement learning
  • A wide study of GANs, including Improved GANs, Cross-Domain GANs, and Disentangled Representation GANs

Book Description

Recent developments in deep learning, including Generative Adversarial Networks (GANs), Variational Autoencoders (VAEs), and Deep Reinforcement Learning (DRL) are creating impressive AI results in our news headlines - such as AlphaGo Zero beating world chess champions, and generative AI that can create art paintings that sell for over $400k because they are so human-like.Advanced Deep Learning with Keras is a comprehensive guide to the advanced deep learning techniques available today, so you can create your own cutting-edge AI. Using Keras as an open-source deep learning library, you'll find hands-on projects throughout that show you how to create more effective AI with the latest techniques.The journey begins with an overview of MLPs, CNNs, and RNNs, which are the building blocks for the more advanced techniques in the book. You'll learn how to implement deep learning models with Keras and TensorFlow 1.x, and move forwards to advanced techniques, as you explore deep neural network architectures, including ResNet and DenseNet, and how to create autoencoders. You then learn all about GANs, and how they can open new levels of AI performance. Next, you'll get up to speed with how VAEs are implemented, and you'll see how GANs and VAEs have the generative power to synthesize data that can be extremely convincing to humans - a major stride forward for modern AI. To complete this set of advanced techniques, you'll learn how to implement DRL such as Deep Q-Learning and Policy Gradient Methods, which are critical to many modern results in AI.

What you will learn

  • Cutting-edge techniques in human-like AI performance
  • Implement advanced deep learning models using Keras
  • The building blocks for advanced techniques - MLPs, CNNs, and RNNs
  • Deep neural networks – ResNet and DenseNet
  • Autoencoders and Variational Autoencoders (VAEs)
  • Generative Adversarial Networks (GANs) and creative AI techniques
  • Disentangled Representation GANs, and Cross-Domain GANs
  • Deep reinforcement learning methods and implementation
  • Produce industry-standard applications using OpenAI Gym
  • Deep Q-Learning and Policy Gradient Methods

Who this book is for

Some fluency with Python is assumed. As an advanced book, you'll be familiar with some machine learning approaches, and some practical experience with DL will be helpful. Knowledge of Keras or TensorFlow 1.x is not required but would be helpful.

]]>

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Advanced Deep Learning with Keras an online PDF/ePUB?
Yes, you can access Advanced Deep Learning with Keras by Rowel Atienza in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.

Advanced Deep Learning with Keras


Table of Contents

Advanced Deep Learning with Keras
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is Searching for Authors Like You
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
1. Introducing Advanced Deep Learning with Keras
Why is Keras the perfect deep learning library?
Installing Keras and TensorFlow
Implementing the core deep learning models - MLPs, CNNs, and RNNs
The difference between MLPs, CNNs, and RNNs
Multilayer perceptrons (MLPs)
MNIST dataset
MNIST digits classifier model
Building a model using MLPs and Keras
Regularization
Output activation and loss function
Optimization
Performance evaluation
Model summary
Convolutional neural networks (CNNs)
Convolution
Pooling operations
Performance evaluation and model summary
Recurrent neural networks (RNNs)
Conclusion
References
2. Deep Neural Networks
Functional API
Creating a two-input and one-output model
Deep residual networks (ResNet)
ResNet v2
Densely connected convolutional networks (DenseNet)
Building a 100-layer DenseNet-BC for CIFAR10
Conclusion
References
3. Autoencoders
Principles of autoencoders
Building autoencoders using Keras
Denoising autoencoder (DAE)
Automatic colorization autoencoder
Conclusion
References
4. Generative Adversarial Networks (GANs)
An overview of GANs
Principles of GANs
GAN implementation in Keras
Conditional GAN
Conclusion
References
5. Improved GANs
Wasserstein GAN
Distance functions
Distance function in GANs
Use of Wasserstein loss
WGAN implementation using Keras
Least-squares GAN (LSGAN)
Auxiliary classifier GAN (ACGAN)
Conclusion
References
6. Disentangled Representation GANs
Disentangled representations
InfoGAN
Implementation of InfoGAN in Keras
Generator outputs of InfoGAN
StackedGAN
Implementation of StackedGAN in Keras
Generator outputs of StackedGAN
Conclusion
Reference
7. Cross-Domain GANs
Principles of CycleGAN
The CycleGAN Model
Implementing CycleGAN using Keras
Generator outputs of CycleGAN
CycleGAN on MNIST and SVHN datasets
Conclusion
References
8. Variational Autoencoders (VAEs)
Principles of VAEs
Variational inference
Core equation
Optimization
Reparameterization trick
Decoder testing
VAEs in Keras
Using CNNs for VAEs
Conditional VAE (CVAE)
-VAE: VAE with disentangled latent representations
Conclusion
References
9. Deep Reinforcement Learning
Principles of reinforcement learning (RL)
The Q value
Q-Learning example
Q-Learning in Python
Nondeterministic environment
Temporal-difference learning
Q-Learning on OpenAI gym
Deep Q-Network (DQN)
DQN on Keras
Double Q-Learning (DDQN)
Conclusion
References
10. Policy Gradient Methods
Policy gradient theorem
Monte Carlo policy gradient (REINFORCE) method
REINFORCE with baseline method
Actor-Critic method
Advantage Actor-Critic (A2C) method
Policy Gradient methods with Keras
Performance evaluation of policy gradient methods
Conclusion
References
Other Books You May Enjoy
Leave a review - let other readers know what you think
Index

Advanced Deep Learning with Keras

Copyright © 2018 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 or its dealers and distributors, will be held liable for any damages caused or alleged to have been 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.
Acquisition Editor: Frank Pohlmann, Andrew Waldron, Suresh Jain
Content Development Editor: Alex Sorrentino
Technical Editor: Gaurav Gavas
Project Editor: Kishor Rit
Proofreader: Safis Editing
Indexers: Aishwarya Gangawane
Graphics: Tom Scaria
Production Coordinator: Sandip Tadge
First published: October 2018
Production reference: 1311018
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78862-941-6
www.packtpub.com

mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools...

Table of contents