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

Partager le livre
  1. 368 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et 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

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Publisher's Note: This edition from 2018 is outdated and is not compatible with TensorFlow 2 or any of the most recent updates to Python libraries. A new second edition, updated for 2020 and featuring TensorFlow 2 and coverage of unsupervised learning using mutual information, object detection, and semantic segmentation, has now been published.

A comprehensive guide to advanced deep learning techniques, including autoencoders, GANs, VAEs, and deep reinforcement learning that drive today's most impressive AI results.

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Advanced Deep Learning with Keras est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Advanced Deep Learning with Keras par Rowel Atienza en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Artificial Intelligence (AI) & Semantics. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2018
ISBN
9781788624534

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 des matiĂšres