TensorFlow Machine Learning Cookbook

Explore machine learning concepts using the latest numerical computing library — TensorFlow — with the help of this comprehensive cookbook
Preview in Mapt

TensorFlow Machine Learning Cookbook

Nick McClure

6 customer reviews
Explore machine learning concepts using the latest numerical computing library — TensorFlow — with the help of this comprehensive cookbook
Mapt Subscription
FREE
$29.99/m after trial
eBook
$30.80
RRP $43.99
Save 29%
Print + eBook
$54.99
RRP $54.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$30.80
$54.99
$0 p/m after trial
RRP $43.99
RRP $54.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


TensorFlow Machine Learning Cookbook Book Cover
TensorFlow Machine Learning Cookbook
$ 43.99
$ 30.80
Deep Learning with TensorFlow Book Cover
Deep Learning with TensorFlow
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $48.98
Add to Cart

Book Details

ISBN 139781786462169
Paperback370 pages

Book Description

TensorFlow is an open source software library for Machine Intelligence. The independent recipes in this book will teach you how to use TensorFlow for complex data computations and will let you dig deeper and gain more insights into your data than ever before. You’ll work through recipes on training models, model evaluation, sentiment analysis, regression analysis, clustering analysis, artificial neural networks, and deep learning – each using Google’s machine learning library TensorFlow.

This guide starts with the fundamentals of the TensorFlow library which includes variables, matrices, and various data sources. Moving ahead, you will get hands-on experience with Linear Regression techniques with TensorFlow. The next chapters cover important high-level concepts such as neural networks, CNN, RNN, and NLP.

Once you are familiar and comfortable with the TensorFlow ecosystem, the last chapter will show you how to take it to production.

Table of Contents

Chapter 1: Getting Started with TensorFlow
Introduction
How TensorFlow Works
Declaring Tensors
Using Placeholders and Variables
Working with Matrices
Declaring Operations
Implementing Activation Functions
Working with Data Sources
Additional Resources
Chapter 2: The TensorFlow Way
Introduction
Operations in a Computational Graph
Layering Nested Operations
Working with Multiple Layers
Implementing Loss Functions
Implementing Back Propagation
Working with Batch and Stochastic Training
Combining Everything Together
Evaluating Models
Chapter 3: Linear Regression
Introduction
Using the Matrix Inverse Method
Implementing a Decomposition Method
Learning The TensorFlow Way of Linear Regression
Understanding Loss Functions in Linear Regression
Implementing Deming regression
Implementing Lasso and Ridge Regression
Implementing Elastic Net Regression
Implementing Logistic Regression
Chapter 4: Support Vector Machines
Introduction
Working with a Linear SVM
Reduction to Linear Regression
Working with Kernels in TensorFlow
Implementing a Non-Linear SVM
Implementing a Multi-Class SVM
Chapter 5: Nearest Neighbor Methods
Introduction
Working with Nearest Neighbors
Working with Text-Based Distances
Computing with Mixed Distance Functions
Using an Address Matching Example
Using Nearest Neighbors for Image Recognition
Chapter 6: Neural Networks
Introduction
Implementing Operational Gates
Working with Gates and Activation Functions
Implementing a One-Layer Neural Network
Implementing Different Layers
Using a Multilayer Neural Network
Improving the Predictions of Linear Models
Learning to Play Tic Tac Toe
Chapter 7: Natural Language Processing
Introduction
Working with bag of words
Implementing TF-IDF
Working with Skip-gram Embeddings
Working with CBOW Embeddings
Making Predictions with Word2vec
Using Doc2vec for Sentiment Analysis
Chapter 8: Convolutional Neural Networks
Introduction
Implementing a Simpler CNN
Implementing an Advanced CNN
Retraining Existing CNNs models
Applying Stylenet/Neural-Style
Implementing DeepDream
Chapter 9: Recurrent Neural Networks
Introduction
Implementing RNN for Spam Prediction
Implementing an LSTM Model
Stacking multiple LSTM Layers
Creating Sequence-to-Sequence Models
Training a Siamese Similarity Measure
Chapter 10: Taking TensorFlow to Production
Introduction
Implementing unit tests
Using Multiple Executors
Parallelizing TensorFlow
Taking TensorFlow to Production
Productionalizing TensorFlow – An Example
Chapter 11: More with TensorFlow
Introduction
Visualizing graphs in Tensorboard
There's more…
Working with a Genetic Algorithm
Clustering Using K-Means
Solving a System of ODEs

What You Will Learn

  • Become familiar with the basics of the TensorFlow machine learning library
  • Get to know Linear Regression techniques with TensorFlow
  • Learn SVMs with hands-on recipes
  • Implement neural networks and improve predictions
  • Apply NLP and sentiment analysis to your data
  • Master CNN and RNN through practical recipes
  • Take TensorFlow into production

Authors

Table of Contents

Chapter 1: Getting Started with TensorFlow
Introduction
How TensorFlow Works
Declaring Tensors
Using Placeholders and Variables
Working with Matrices
Declaring Operations
Implementing Activation Functions
Working with Data Sources
Additional Resources
Chapter 2: The TensorFlow Way
Introduction
Operations in a Computational Graph
Layering Nested Operations
Working with Multiple Layers
Implementing Loss Functions
Implementing Back Propagation
Working with Batch and Stochastic Training
Combining Everything Together
Evaluating Models
Chapter 3: Linear Regression
Introduction
Using the Matrix Inverse Method
Implementing a Decomposition Method
Learning The TensorFlow Way of Linear Regression
Understanding Loss Functions in Linear Regression
Implementing Deming regression
Implementing Lasso and Ridge Regression
Implementing Elastic Net Regression
Implementing Logistic Regression
Chapter 4: Support Vector Machines
Introduction
Working with a Linear SVM
Reduction to Linear Regression
Working with Kernels in TensorFlow
Implementing a Non-Linear SVM
Implementing a Multi-Class SVM
Chapter 5: Nearest Neighbor Methods
Introduction
Working with Nearest Neighbors
Working with Text-Based Distances
Computing with Mixed Distance Functions
Using an Address Matching Example
Using Nearest Neighbors for Image Recognition
Chapter 6: Neural Networks
Introduction
Implementing Operational Gates
Working with Gates and Activation Functions
Implementing a One-Layer Neural Network
Implementing Different Layers
Using a Multilayer Neural Network
Improving the Predictions of Linear Models
Learning to Play Tic Tac Toe
Chapter 7: Natural Language Processing
Introduction
Working with bag of words
Implementing TF-IDF
Working with Skip-gram Embeddings
Working with CBOW Embeddings
Making Predictions with Word2vec
Using Doc2vec for Sentiment Analysis
Chapter 8: Convolutional Neural Networks
Introduction
Implementing a Simpler CNN
Implementing an Advanced CNN
Retraining Existing CNNs models
Applying Stylenet/Neural-Style
Implementing DeepDream
Chapter 9: Recurrent Neural Networks
Introduction
Implementing RNN for Spam Prediction
Implementing an LSTM Model
Stacking multiple LSTM Layers
Creating Sequence-to-Sequence Models
Training a Siamese Similarity Measure
Chapter 10: Taking TensorFlow to Production
Introduction
Implementing unit tests
Using Multiple Executors
Parallelizing TensorFlow
Taking TensorFlow to Production
Productionalizing TensorFlow – An Example
Chapter 11: More with TensorFlow
Introduction
Visualizing graphs in Tensorboard
There's more…
Working with a Genetic Algorithm
Clustering Using K-Means
Solving a System of ODEs

Book Details

ISBN 139781786462169
Paperback370 pages
Read More
From 6 reviews

Read More Reviews

Recommended for You

Deep Learning with TensorFlow Book Cover
Deep Learning with TensorFlow
$ 39.99
$ 28.00
Building Machine Learning Projects with TensorFlow Book Cover
Building Machine Learning Projects with TensorFlow
$ 43.99
$ 30.80
Deep Learning with Keras Book Cover
Deep Learning with Keras
$ 39.99
$ 28.00
Getting Started with TensorFlow Book Cover
Getting Started with TensorFlow
$ 27.99
$ 19.60
Machine Learning with TensorFlow 1.x Book Cover
Machine Learning with TensorFlow 1.x
$ 31.99
$ 22.40
Deep Learning: Practical Neural Networks with Java Book Cover
Deep Learning: Practical Neural Networks with Java
$ 67.99
$ 47.60