Book Image

TensorFlow Deep Learning Projects

By : Alexey Grigorev, Rajalingappaa Shanmugamani
Book Image

TensorFlow Deep Learning Projects

By: Alexey Grigorev, Rajalingappaa Shanmugamani

Overview of this book

TensorFlow is one of the most popular frameworks used for machine learning and, more recently, deep learning. It provides a fast and efficient framework for training different kinds of deep learning models, with very high accuracy. This book is your guide to master deep learning with TensorFlow with the help of 10 real-world projects. TensorFlow Deep Learning Projects starts with setting up the right TensorFlow environment for deep learning. You'll learn how to train different types of deep learning models using TensorFlow, including Convolutional Neural Networks, Recurrent Neural Networks, LSTMs, and Generative Adversarial Networks. While doing this, you will build end-to-end deep learning solutions to tackle different real-world problems in image processing, recommendation systems, stock prediction, and building chatbots, to name a few. You will also develop systems that perform machine translation and use reinforcement learning techniques to play games. By the end of this book, you will have mastered all the concepts of deep learning and their implementation with TensorFlow, and will be able to build and train your own deep learning models with TensorFlow confidently.
Table of Contents (12 chapters)

Stock Price Prediction with LSTM

In this chapter, you'll be introduced to how to predict a timeseries composed of real values. Specifically, we will predict the stock price of a large company listed on the NYSE stock exchange, given its historical performance.

In this chapter we will look at:

  • How to collect the historical stock price information
  • How to format the dataset for a timeseries prediction task
  • How to use regression to predict the future prices of a stock
  • Long short-term memory (LSTM) 101
  • How LSTM will boost the predictive performance
  • How to visualize the performance on the Tensorboard

Each of these bullet points is a section in this chapter. Moreover, to make the chapter visually and intuitively easier to understand, we will first apply each technique on a simpler signal: a cosine. A cosine is more deterministic than a stock price and will help with the understanding...