July 2019
Intermediate to advanced
512 pages
19h 39m
English
We have learned that LSTM models are widely used for sequential datasets, that is, datasets in which order matters. In this section, we will learn how we can use LSTM networks for time series analysis. We will learn how to predict Bitcoin prices using an LSTM network.
First, we import the required libraries as follows:
import numpy as npimport pandas as pdfrom sklearn.preprocessing import StandardScalerimport matplotlib.pyplot as plt%matplotlib inline plt.style.use('ggplot')import tensorflow as tftf.logging.set_verbosity(tf.logging.ERROR)import warningswarnings.filterwarnings('ignore')
Read now
Unlock full access