Deep Learning with TensorFlow - Second Edition
图书信息
| 作者 | Giancarlo Zaccone,Md. Rezaul Karim |
| 出版社 | Packt Publishing |
| ISBN | 9781788831833 |
| 出版时间 | 2018-03-30 |
| 字数 | 443.1万 |
| 分类 | Packt Publishing,进口书,外文原版书,电脑,网络 |
读书简介
Delve into neural networks, implement deep learning algorithms, and explore layers of data abstraction with the help of TensorFlow v1.7. About This Book ? Learn how to implement advanced techniques in deep learning with Google's brainchild, TensorFlow v1.7 ? Explore deep neural networks and layers of data abstraction with the help of this comprehensive guide ? Gain real-world contextualization through some deep learning problems concerning research and application Who This Book Is For The book is for people interested in machine learning and machine intelligence. A rudimentary level of programming in one language is assumed, as is a basic familiarity with computer science techniques and technologies, including a basic awareness of computer hardware and algorithms. Some competence in mathematics is needed to the level of elementary linear algebra and calculus. What You Will Learn ? Apply deep machine intelligence and GPU computing with TensorFlow v1.7 ? Access public datasets and use TensorFlow to load, process, and transform the data ? Discover how to use the high-level TensorFlow API to build more powerful applications ? Use deep learning for scalable object detection and mobile computing ? Train machines quickly to learn from data by exploring reinforcement learning techniques ? Explore active areas of deep learning research and applications In Detail Deep learning is a branch of machine learning algorithms based on learning multiple levels of abstraction. Neural networks, which are at the core of deep learning, are being used in predictive analytics, computer vision, natural language processing, time series forecasting, and to perform a myriad of other complex tasks. This book is conceived for developers, data analysts, machine learning practitioners and deep learning enthusiasts who want to build powerful, robust, and accurate predictive models with the power of TensorFlow v1.7, combined with other open source Python libraries. Throughout the book, you’ll learn how to develop deep learning applications for machine learning systems using Feedforward Neural Networks, Convolutional Neural Networks, Recurrent Neural Networks, Autoencoders, and Factorization Machines. Discover how to attain deep learning programming on GPU in a distributed way. You'll come away with an in-depth knowledge of machine learning techniques and the skills to apply them to real-world projects. Style and approach This step-by-step guide explores common, and not so common, deep neural networks, and shows how they can be exploited in the real world with complex raw data. Benefit from practical examples, and learn how to implement different types of neural nets to build smart applications related to text, speech, and image data processing.
目录
Deep Learning with TensorFlow - Second Edition
Why subscribe?
PacktPub.com
Contributors
About the authors
About the reviewers
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
Note
Tip
Get in touch
Reviews
Chapter 1. Getting Started with Deep Learning
A soft introduction to machine learning
Note
Supervised learning
Unbalanced data
Unsupervised learning
Reinforcement learning
What is deep learning?
Artificial neural networks
The biological neurons
The artificial neuron
Note
How does an ANN learn?
ANNs and the backpropagation algorithm
Weight optimization
Stochastic gradient descent
Neural network architectures
Deep Neural Networks (DNNs)
Multilayer perceptron
Deep Belief Networks (DBNs)
Convolutional Neural Networks (CNNs)
AutoEncoders
Recurrent Neural Networks (RNNs)
Emergent architectures
Deep learning frameworks
Summary
Chapter 2. A First Look at TensorFlow
A general overview of TensorFlow
What's new from TensorFlow v1.6 forwards?
Nvidia GPU support optimized
Introducing TensorFlow Lite
Eager execution
Optimized Accelerated Linear Algebra (XLA)
Installing and configuring TensorFlow
TensorFlow computational graph
TensorFlow code structure
Tip
Tip
Note
Eager execution with TensorFlow
Data model in TensorFlow
Tensor
Tip
Rank and shape
Data type
Tip
Note
Variables
Fetches
Feeds and placeholders
Tip
Visualizing computations through TensorBoard
How does TensorBoard work?
Note
Linear regression and beyond
Tip
Linear regression revisited for a real dataset
Tip
Summary
Chapter 3. Feed-Forward Neural Networks with TensorFlow
Feed-forward neural networks (FFNNs)
Feed-forward and backpropagation
Weights and biases
Tip
Note
Activation functions
Using sigmoid
Using tanh
Using ReLU
Using softmax
Implementing a feed-forward neural network
Exploring the MNIST dataset
Softmax classifier
Implementing a multilayer perceptron (MLP)
Training an MLP
Using MLPs
Dataset description
Preprocessing
A TensorFlow implementation of MLP for client-subscription assessment
Deep Belief Networks (DBNs)
Restricted Boltzmann Machines (RBMs)
Construction of a simple DBN
Unsupervised pre-training
Supervised fine-tuning
Implementing a DBN with TensorFlow for client-subscription assessment
Tip
Tuning hyperparameters and advanced FFNNs
Tuning FFNN hyperparameters
Number of hidden layers
Number of neurons per hidden layer
Weight and biases initialization
Selecting the most suitable optimizer
GridSearch and randomized search for hyperparameters tuning
Regularization
Dropout optimization
Summary
Chapter 4. Convolutional Neural Networks
Main concepts of CNNs
CNNs in action
LeNet5
Note
Implementing a LeNet-5 step by step
Note
Note
AlexNet
Note
Transfer learning
Pretrained AlexNet
Dataset preparation
Fine-tuning implementation
VGG
Artistic style learning with VGG-19
Input images
Content extractor and loss
Style extractor and loss
Merger and total loss
Training
Inception-v3
Exploring Inception with TensorFlow
Emotion recognition with CNNs
Note
Testing the model on your own image
Source code
Summary
Chapter 5. Optimizing TensorFlow Autoencoders
How does an autoencoder work?
Implementing autoencoders with TensorFlow
Improving autoencoder robustness
Implementing a denoising autoencoder
Implementing a convolutional autoencoder
Encoder
Decoder
Fraud analytics with autoencoders
Description of the dataset
Problem description
Exploratory data analysis
Tip
Training, validation, and testing set preparation
Normalization
Autoencoder as an unsupervised feature learning algorithm
Note
Evaluating the model
Summary
Chapter 6. Recurrent Neural Networks
Working principles of RNNs
Implementing basic RNNs in TensorFlow
RNN and the long-term dependency problem
Bi-directional RNNs
RNN and the gradient vanishing-exploding problem
LSTM networks
GRU cell
Implementing an RNN for spam prediction
Data description and preprocessing
Developing a predictive model for time series data
Description of the dataset
Pre-processing and exploratory analysis
LSTM predictive model
Model evaluation
An LSTM predictive model for sentiment analysis
Network design
LSTM model training
Visualizing through TensorBoard
LSTM model evaluation
Note
Human activity recognition using LSTM model
Dataset description
Workflow of the LSTM model for HAR
Implementing an LSTM model for HAR
Summary
Chapter 7. Heterogeneous and Distributed Computing
GPGPU computing
The GPGPU history
The CUDA architecture
The GPU programming model
The TensorFlow GPU setup
Note
Update TensorFlow
GPU representation
Using a GPU
GPU memory management
Assigning a single GPU on a multi-GPU system
The source code for GPU with soft placement
Using multiple GPUs
Distributed computing
Model parallelism
Data parallelism
The distributed TensorFlow setup
Summary
Chapter 8. Advanced TensorFlow Programming
tf.estimator
Estimators
Graph actions
Parsing resources
Flower predictions
TFLearn
Installation
Titanic survival predictor
PrettyTensor
Chaining layers
Normal mode
Sequential mode
Branch and join
Digit classifier
Keras
Keras programming models
Sequential model
Sentiment classification of movie reviews
Functional API
SqueezeNet
Summary
Chapter 9. Recommendation Systems Using Factorization Machines
Recommendation systems
Collaborative filtering approaches
Content-based filtering approaches
Hybrid recommender systems
Model-based collaborative filtering
Movie recommendation using collaborative filtering
The utility matrix
Note
Description of the dataset
Ratings data
Movies data
Users data
Exploratory analysis of the MovieLens dataset
Implementing a movie RE
Training the model with the available ratings
Inferencing the saved model
Generating the user-item table
Clustering similar movies
Tip
Movie rating prediction by users
Finding top k movies
Predicting top k similar movies
Computing user-user similarity
Evaluating the recommender system
Factorization machines for recommendation systems
Factorization machines
Cold-start problem and collaborative-filtering approaches
Problem definition and formulation
Dataset description
Workflow of the implementation
Preprocessing
Training the FM model
Improved factorization machines
Neural factorization machines
Dataset description
Using NFM for the movie recommendation
Model training
Model evaluation
Note
Summary
Chapter 10. Reinforcement Learning
The RL problem
OpenAI Gym
OpenAI environments
The env class
Installing and running OpenAI Gym
The Q-Learning algorithm
The FrozenLake environment
Deep Q-learning
Deep Q neural networks
The Cart-Pole problem
Deep Q-Network for the Cart-Pole problem
The Experience Replay method
Exploitation and exploration
The Deep Q-Learning training algorithm
Summary
Other Books You May Enjoy
Leave a review – let other readers know what you think
Index
- GBT 51338-2018 分布式电源并网工程调试与验收标准(电力企业联合会)
- 足够遥远(张尺)
- 2020年江西省军转干部安置考试《法律基础知识》考点手册(圣才电子书)
- Fericirea mea e?ti tu(McGuire Jamie)
- 151 Provérbios de Shakespeare(Willian Castro)
- 谦逊的问讯:以询问开启良好关系的艺术(原书第2版)((美)埃德加·沙因,(美)彼得·沙因)
- 漫画素描技法5:分镜头篇(CG动漫社)
- 做事先做人(李元秀 主编)
