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

Softmax

In this section, we'll learn about the output activation function known as softmax. We'll be taking a look at how it relates to output classes, as well as learning about how softmax generates probability.

Let's take a look! When we're building a classifier, the neural network is going to output a stack of numbers, usually an array with one slot corresponding to each of our classes. In the case of the model we're looking at here, it's going to be digits from zero to nine. What softmax does is smooth out a big stack of numbers into a set of probability scores that all sum up to one:

Stack of numbers

This is important so that you can ...

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