Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
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

Hyperparameter Optimization

So far, we have trained a neural network to predict the next 7 days of Bitcoin prices using the preceding 76 weeks of prices. On average, this model issues predictions that are about 8.4 percent distant from real Bitcoin prices.

This section describes common strategies for improving the performance of neural network models:

  • Adding or removing layers and changing the number of nodes
  • Increasing or decreasing the number of training epochs
  • Experimenting with different activation functions
  • Using different regularization strategies

We will evaluate each modification using the same active learning environment we developed by the end of the Model Evaluation section, measuring how each one of these strategies may help us develop a more precise model.

Layers and Nodes – Adding More Layers

Neural networks with single hidden layers can perform fairly well on many problems. Our first Bitcoin model (bitcoin_lstm_v0) is a good...

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