Book description
Deep learning doesn’t have to be intimidating. Until recently, this machine-learning method required years of study, but with frameworks such as Keras and Tensorflow, software engineers without a background in machine learning can quickly enter the field. With the recipes in this cookbook, you’ll learn how to solve deep-learning problems for classifying and generating text, images, and music.
Each chapter consists of several recipes needed to complete a single project, such as training a music recommending system. Author Douwe Osinga also provides a chapter with half a dozen techniques to help you if you’re stuck. Examples are written in Python with code available on GitHub as a set of Python notebooks.
You’ll learn how to:
- Create applications that will serve real users
- Use word embeddings to calculate text similarity
- Build a movie recommender system based on Wikipedia links
- Learn how AIs see the world by visualizing their internal state
- Build a model to suggest emojis for pieces of text
- Reuse pretrained networks to build an inverse image search service
- Compare how GANs, autoencoders and LSTMs generate icons
- Detect music styles and index song collections
Publisher resources
Table of contents
- Preface
- Tools and Techniques
- Getting Unstuck
- Calculating Text Similarity Using Word Embeddings
- Building a Recommender System Based on Outgoing Wikipedia Links
- Generating Text in the Style of an Example Text
- Question Matching
-
Suggesting Emojis
- 7.1. Building a Simple Sentiment Classifier
- 7.2. Inspecting a Simple Classifier
- 7.3. Using a Convolutional Network for Sentiment Analysis
- 7.4. Collecting Twitter Data
- 7.5. A Simple Emoji Predictor
- 7.6. Dropout and Multiple Windows
- 7.7. Building a Word-Level Model
- 7.8. Constructing Your Own Embeddings
- 7.9. Using a Recurrent Neural Network for Classification
- 7.10. Visualizing (Dis)Agreement
- 7.11. Combining Models
- Sequence-to-Sequence Mapping
- Reusing a Pretrained Image Recognition Network
- Building an Inverse Image Search Service
- Detecting Multiple Images
- Image Style
- Generating Images with Autoencoders
-
Generating Icons Using Deep Nets
- 14.1. Acquiring Icons for Training
- 14.2. Converting the Icons to a Tensor Representation
- 14.3. Using a Variational Autoencoder to Generate Icons
- 14.4. Using Data Augmentation to Improve the Autoencoder’s Performance
- 14.5. Building a Generative Adversarial Network
- 14.6. Training Generative Adversarial Networks
- 14.7. Showing the Icons the GAN Produces
- 14.8. Encoding Icons as Drawing Instructions
- 14.9. Training an RNN to Draw Icons
- 14.10. Generating Icons Using an RNN
-
Music and Deep Learning
- 15.1. Creating a Training Set for Music Classification
- 15.2. Training a Music Genre Detector
- 15.3. Visualizing Confusion
- 15.4. Indexing Existing Music
- 15.5. Setting Up Spotify API Access
- 15.6. Collecting Playlists and Songs from Spotify
- 15.7. Training a Music Recommender
- 15.8. Recommending Songs Using a Word2vec Model
-
Productionizing Machine Learning Systems
- 16.1. Using Scikit-Learn’s Nearest Neighbors for Embeddings
- 16.2. Use Postgres to Store Embeddings
- 16.3. Populating and Querying Embeddings Stored in Postgres
- 16.4. Storing High-Dimensional Models in Postgres
- 16.5. Writing Microservices in Python
- 16.6. Deploying a Keras Model Using a Microservice
- 16.7. Calling a Microservice from a Web Framework
- 16.8. TensorFlow seq2seq models
- 16.9. Running Deep Learning Models in the Browser
- 16.10. Running a Keras Model Using TensorFlow Serving
- 16.11. Using a Keras Model from iOS
- Index
Product information
- Title: Deep Learning Cookbook
- Author(s):
- Release date: June 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491995792
You might also like
book
Deep Learning Quick Reference
Dive deeper into neural networks and get your models trained, optimized with this quick reference guide …
book
TensorFlow 2 Reinforcement Learning Cookbook
Discover recipes for developing AI applications to solve a variety of real-world business problems using reinforcement …
book
Deep Learning Essentials
Get to grips with the essentials of deep learning by leveraging the power of Python About …
book
Hands-On Deep Learning Algorithms with Python
Understand basic-to-advanced deep learning algorithms, the mathematical principles behind them, and their practical applications Key Features …