Skip to Content
Hands-On Deep Learning for Images with TensorFlow
book

Hands-On Deep Learning for Images with TensorFlow

by Will Ballard
July 2018
Intermediate to advanced
96 pages
2h 8m
English
Packt Publishing
Content preview from Hands-On Deep Learning for Images with TensorFlow

Turning images into tensors

In the previous section, we learned a bit about what a tensor is. Now, we're going to use that knowledge to prepare image data as tensors for machine learning. First, we'll ask a question: why are we working with data in floating points? Then, we will learn the difference between samples and the data points at the end of them. Finally, we will normalize the data for use in machine learning.

So, why a floating point? Well, the real reason is that machine learning is fundamentally a math optimization problem, and when we're working with floating points, the computer is trying to optimize a series of mathematical relationships to find learned functions that can then predict outputs. So, preparing our data for machine ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Neural Networks with TensorFlow 2.0

Hands-On Neural Networks with TensorFlow 2.0

Paolo Galeone

Publisher Resources

ISBN: 9781789538670Supplemental Content