TensorFlow Machine Learning Cookbook
eBook - ePub

TensorFlow Machine Learning Cookbook

Nick McClure

Compartir libro
  1. 370 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

TensorFlow Machine Learning Cookbook

Nick McClure

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es TensorFlow Machine Learning Cookbook un PDF/ePUB en línea?
Sí, puedes acceder a TensorFlow Machine Learning Cookbook de Nick McClure en formato PDF o ePUB, así como a otros libros populares de Computer Science y Computer Vision & Pattern Recognition. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
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...

Índice