Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
The Applied TensorFlow and Keras Workshop

You're reading from   The Applied TensorFlow and Keras Workshop Develop your practical skills by working through a real-world project and build your own Bitcoin price prediction tracker

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781800201217
Length 174 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Luis Capelo Luis Capelo
Author Profile Icon Luis Capelo
Luis Capelo
Harveen Singh Chadha Harveen Singh Chadha
Author Profile Icon Harveen Singh Chadha
Harveen Singh Chadha
Arrow right icon
View More author details
Toc

1. Introduction to Neural Networks and Deep Learning

Activity 1.01: Training a Neural Network with Different Hyperparameters

Solution:

  1. Using your Terminal, navigate to the directory cloned from https://packt.live/2ZVyf0C and execute the following command to start TensorBoard:
    $ tensorboard --logdir logs/fit

    The output is as follows:

    Figure 1.15: A screenshot of a Terminal after starting a TensorBoard instance

  2. Now, open the URL provided by TensorBoard in your browser. You should be able to see the TensorBoard SCALARS page:

    Figure 1.16: A screenshot of the TensorBoard SCALARS page

  3. On the TensorBoard page, click on the SCALARS page and enlarge the epoch_accuracy graph. Now, move the smoothing slider to 0.6.

    The accuracy graph measures how accurately the network was able to guess the labels of a test set. At first, the network guesses those labels completely incorrectly. This happens because we have initialized the weights and biases of our network with random values, so...

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 $19.99/month. Cancel anytime
Banner background image