TensorFlow Machine Learning Cookbook
eBook - ePub

TensorFlow Machine Learning Cookbook

Nick McClure

Partager le livre
  1. 370 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

TensorFlow Machine Learning Cookbook

Nick McClure

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

À propos de ce livre

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

About This Book

  • Your quick guide to implementing TensorFlow in your day-to-day machine learning activities
  • Learn advanced techniques that bring more accuracy and speed to machine learning
  • Upgrade your knowledge to the second generation of machine learning with this guide on TensorFlow

Who This Book Is For

This book is ideal for data scientists who are familiar with C++ or Python and perform machine learning activities on a day-to-day basis. Intermediate and advanced machine learning implementers who need a quick guide they can easily navigate will find it useful.

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

In Detail

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.

Style and approach

This book takes a recipe-based approach where every topic is explicated with the help of a real-world example.

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 TensorFlow Machine Learning Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  TensorFlow Machine Learning Cookbook par Nick McClure en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Computer Vision & Pattern Recognition. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2017
ISBN
9781786462169

TensorFlow Machine Learning Cookbook


Table of Contents

TensorFlow Machine Learning Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it

How it works

There's more

See also
Conventions
Reader feedback
Customer support
Downloading the example code
Piracy
Questions
1. Getting Started with TensorFlow
Introduction
How TensorFlow Works
Getting ready
How to do it

How it works

See also
Declaring Tensors
Getting ready
How to do it

How it works

There's more

Using Placeholders and Variables
Getting ready
How to do it

How it works

There's more

Working with Matrices
Getting ready
How to do it

How it works

Declaring Operations
Getting ready
How to do it

How it works

There's more

Implementing Activation Functions
Getting ready
How to do it

How it works

There's more

Working with Data Sources
Getting ready
How to do it

How it works

See also
Additional Resources
Getting ready
How to do it

See also
2. The TensorFlow Way
Introduction
Operations in a Computational Graph
Getting ready
How to do it

How it works

Layering Nested Operations
Getting ready
How to do it

How it works

There's more

Working with Multiple Layers
Getting ready
How to do it

How it works

Implementing Loss Functions
Getting ready
How to do it

How it works

There's more

Implementing Back Propagation
Getting ready
How to do it

How it works

There's more

See also
Working with Batch and Stochastic Training
Getting ready
How to do it

How it works

There's more

Combining Everything Together
Getting ready
How to do it

How it works

There's more

See also
Evaluating Models
Getting ready
How to do it

How it works

3. Linear Regression
Introduction
Using the Matrix Inverse Method
Getting ready
How to do it

How it works

Implementing a Decomposition Method
Getting ready
How to do it

How it works

Learning The TensorFlow Way of Linear Regression
Getting ready
How to do it

How it works

Understanding Loss Functions in Linear Regression
Getting ready
How to do it

How it works

There's more

Implementing Deming regression
Getting ready
How to do it

How it works

Implementing Lasso and Ridge Regression
Getting ready
How to do it

How it works

There's' more

Implementing Elastic Net Regression
Getting ready
How to do it

How it works

Implementing Logistic Regression
Getting ready
How to do it

How it works

4. Support Vector Machines
Introduction
Working with a Linear SVM
Getting ready
How to do it

How it works

Reduction to Linear Regression
Getting ready
How to do it

How it works

Working with Kernels in TensorFlow
Getting ready
How to do it

How it works

There's more

Implementing a Non-Linear SVM
Getting ready
How to do it

How it works

Implementing a Multi-Class SVM
Getting ready
How to do it

How it works

5. Nearest Neighbor Methods
Introduction
Working with Nearest Neighbors
Getting ready
How to do it

How it works

There's more

Working with Text-Based Distances
Getting ready
How to do it

How it works

There's more

Computing with Mixed Distance Functions
Getting ready
How to do it

How it works

There's more

Using an Address Matching Example
Getting ready
How to do it

How it works

Using Nearest Neighbors for Image Recognition
Getting ready
How to do it

How it works

There's more

6. Neural Networks
Introduction
Implementing Operational Gates
Getting ready
How to do it

How it works

Working with Gates and Activation Functions
Getting ready
How to do it

How it works

There's more

Implementing a One-Layer Neural Network
Getting ready
How to do it

How it works

There's more

Implementing Different Layers
Getting ready
How to do it

How it works

Using a Multilayer Neural Network
Getting ready
How to do it

How it works

Improving the Predictions of Linear Models
Getting ready
How to do it
How it works

Learning to Play Tic Tac Toe
Getting ready
How to do it

How it works

7. Natural Language Processing
Introduction
Working with bag of words
Getting ready
How to do it

How it works

There's more

Implementing TF-IDF
Getting ready
How to do it

How it works

There's more

Working with Skip-gram Embeddings
Getting ready
How to do it

How it works

There's more

Working with CBOW Embeddings
Getting ready
How to do it

How it works

There's more

Making Predictions with Word2vec
Getting ready
How to do it

How it works

There's more

Using Doc2vec for Sentiment Analysis
Getting ready
How to do it

How it works

8. Convolutional Neural Networks
Introduction
Implementing a Simpler CNN
Getting ready
How to do it

How it works

There's more

See also
Implementing an Advanced CNN
Getting ready
How to do it

How it works

See also
Retraining Existing CNNs models
Getting ready
How to do it

How it works

See also
Applying Stylenet/Neural-Style
Getting ready
How to do it

How it works

See also
Implementing DeepDream
Getting ready
How to do it

There's more

See also
9. Recurrent Neural Networks
Introduction
Implementing RNN for Spam Prediction
Getting ready
How to do it

How it works

There's more

Implementing an LSTM Model
Getting ready
How to do it

How it works

There's more

Stacking multiple LSTM Layers
Getting ready
How to do it

How it works

Creating Sequence-to-Sequence Models
Getting ready
How to do it

How it works

There's more

Training a Siamese Similarity Measure
Getting ready
How to do it

There's more

10. Taking TensorFlow to Production
Introduction
Implementing unit tests
Getting ready
How it works

Using Multiple Executors
Getting ready
How to do it

How it works

There's more

Parallelizing TensorFlow
Getting ready
How to do it

How it works

Taking TensorFlow to Production
Getting ready
How to do it

How it works

Productionalizing TensorFlow – An Example
Getting ready
How to do it

How it works

11. More with TensorFlow
Introduction
Visualizing graphs in Tensorboard
Getting ready
How to do it

There's more

Working with a Genetic Algorithm
Getting ready
How to do it

How it works

There's more

Clustering Using K-Means
Getting ready
How to do it

There's more

Solving a System of ODEs
Getting ready
How to do it

How it works

See also
Index

TensorFlow Machine Learning Cookbook

Copyright © 2017 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 revie...

Table des matiĂšres