Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying TensorFlow Machine Learning Cookbook
  • Table Of Contents Toc
TensorFlow Machine Learning Cookbook

TensorFlow Machine Learning Cookbook - Second Edition

By : Nick McClure , Sujit Pal
2 (3)
close
close
TensorFlow Machine Learning Cookbook

TensorFlow Machine Learning Cookbook

2 (3)
By: Nick McClure , Sujit Pal

Overview of this book

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 allow you to dig deeper and gain more insights into your data than ever before. With the help of this book, you will work with recipes for training models, model evaluation, sentiment analysis, regression analysis, clustering analysis, artificial neural networks, and more. You will explore RNNs, CNNs, GANs, reinforcement learning, and capsule networks, each using Google's machine learning library, TensorFlow. Through real-world examples, you will get hands-on experience with linear regression techniques with TensorFlow. Once you are familiar and comfortable with the TensorFlow ecosystem, you will be shown how to take it to production. By the end of the book, you will be proficient in the field of machine intelligence using TensorFlow. You will also have good insight into deep learning and be capable of implementing machine learning algorithms in real-world scenarios.
Table of Contents (13 chapters)
close
close

To get the most out of this book

The mathematical concepts in this book should be accessible to anyone with basic knowledge of matrices and statistics. The programming knowledge required for this book is an intermediate level of Python programming. This book is biased toward the use of functions over classes, though not always. The recipes in this book use TensorFlow, which is available at https://www.tensorflow.org/, and are based on Python 3, available at https://www.python.org/downloads/. Most of the recipes will initially require the use of an internet connection to download the necessary data. The reader should be aware that as TensorFlow progresses and is developed by the open source community, the code may become obsolete or may not even work in some cases. Updated code and examples can be found on the author's GitHub site at https://github.com/nfmcclure/tensorflow_cookbook, or alternatively, on the Packt code repository at https://github.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook-Second-Edition.

If you run into any programming or mathematical issues in the book, feel free to raise an issue on the preceding GitHub site. The GitHub site may even already contain a fix for the problem.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook-Second-Edition. In case there's an update to the code, it will be updated on the existing GitHub repository. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, and user input. Here is an example: "Here, we define our loss function, our_loss_fun(), which will return the loss we need."

A block of code is set as follows:

embedding_matrix = tf.Variable(tf.random_uniform([n, m], -1.0, 1.0))
embedding_output = tf.nn.embedding_lookup(embedding_matrix, x_data_placeholder)

Any command-line input or output is written as follows:

$ mkdir css
$ cd css

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
TensorFlow Machine Learning Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon