Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Deep Learning with TensorFlow

You're reading from  Deep Learning with TensorFlow

Product type Book
Published in Apr 2017
Publisher Packt
ISBN-13 9781786469786
Pages 320 pages
Edition 1st Edition
Languages
Authors (3):
Giancarlo Zaccone Giancarlo Zaccone
Profile icon Giancarlo Zaccone
Md. Rezaul Karim Md. Rezaul Karim
Profile icon Md. Rezaul Karim
Ahmed Menshawy Ahmed Menshawy
Profile icon Ahmed Menshawy
View More author details

Table of Contents (11) Chapters

Preface 1. Getting Started with Deep Learning 2. First Look at TensorFlow 3. Using TensorFlow on a Feed-Forward Neural Network 4. TensorFlow on a Convolutional Neural Network 5. Optimizing TensorFlow Autoencoders 6. Recurrent Neural Networks 7. GPU Computing 8. Advanced TensorFlow Programming 9. Advanced Multimedia Programming with TensorFlow 10. Reinforcement Learning

Visualization

As concerns, the TensorBoard analysis, from the folder where the source has been executed, you should digit:

 $> Tensorboard --logdir = 'log_simple_stats_5_layers_relu_softmax' 

Then open the browser at localhost to visualize TensorBoard's starting page.

In the following figure, we show the trend's accuracy over the number of examples of the training set:

Accuracy function over train set

You can easily see how the accuracy, after a bad initial trend, begins a rapid progressive improvement after about 1000 examples.

Source code for the ReLU classifier

Here we have the entire code for the implemented ReLU classifier:

import mnist_data 
import tensorflow as tf
import math

logs_path = 'log_simple_stats_5_layers_relu_softmax...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}