IEEE Computational Intelligence Magazine - November 2020 - 44

A. Long Short Term Memory (LSTM) Cells

The output value of the LSTM unit at time t is

An LSTM unit consists of three gates (i.e., update, forget, and
output gates) and three cells (i.e., input, memory, and update
cells). The memory cell at time t is updated using a candidate
value uc 1 t 2, which is calculated using the output value at time
t - 1, i.e., a 1 t - 1 2, and input value at time t, i.e., x 1 t 2, through
the equation
	

uc 1 t 2 = tanh ^W c 6a 1 t - 1 2, x 1 t 2@ + b c h (6)

where tanh (.) is the hyperbolic tangent activation function,
and W c and b c represent the matrix of parameters and biased
vector of the memory cell, respectively. The value of the memory cell c 1 t 2 is then updated using the candidate value uc 1 t 2
and the previous value c 1 t - 1 2 through
	

c 1 t 2 = C u 9 uc 1 t 2 + C f 9 c 1 t - 1 2 (7)

where 9 indicates element-wise multiplication. C u and C f are
the values of the update and forget gates which are obtained from
	

C u = v ^W u 6a 1 t - 1 2, x 1 t 2@ + b uh (8)

and
	

C f = v ^W f 6a 1 t - 1 2, x 1 t 2@ + b f h (9)

in which v (.) is the sigmoid activation function, W u and b u
are respectively the matrix of parameters and the bias vector
corresponding to the update gate, and W f and b f are respectively the matrix of parameters and the bias vector corresponding to the forget gate.

a 1 t 2 = C o 9 tanh ^c 1 t 2h (10)

	

where C o is the value of the output gate which itself is
C q = v ^W o 6a 1 t - 1 2, x 1 t 2@ + b oh (11)

	

in which W o and b o are respectively the matrix of parameters
and the bias vector corresponding to the output gate. Figure 12 shows an LSTM unit.
A multivariate RNN architecture is used in this paper,
which takes multiple features as input, and outputs the predicted value. Two different architectures are used, one for training
CC-IMF1, and another for training CC-IMF2 and CC-IMF3
separately. The architecture of the stacked RNN corresponding
to the forecasting future value of CC-IMF1 is as follows:
1)	a sequence input layer which accepts the number of
inputs equal to the number of features. Regarding Maharashtra, there are two features for training CC-IMF1: the
signals CC-IMF1 and TR at time t - 1. For Tamil Nadu
there are three features for training CC-IMF1: the signals
CC-IMF1, H-IMF1 and TR at time t - 1. The value of
the CC-IMF1 at time t is the target value which needs to
be predicted in both cases.
2)	an LSTM layer with 50 units.
3)	a dropout layer with the factor 0.6.
4)	a fully connected layer with one output unit.
The architecture used for training CC-IMF2 and CC-IMF3
is as follows:

y 

softmax

c

c

c

tanh

∼
c

a

f
Forget Gate





u
Update Gate

a

o
tanh

Output Gate

x 

FIGURE 12 Visualisation of an LSTM unit. y 1 t 2 is the final output of an LSTM unit at time t which is computed by a softmax activation function.

44

IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE | NOVEMBER 2020



IEEE Computational Intelligence Magazine - November 2020

Table of Contents for the Digital Edition of IEEE Computational Intelligence Magazine - November 2020

Contents
IEEE Computational Intelligence Magazine - November 2020 - Cover1
IEEE Computational Intelligence Magazine - November 2020 - Cover2
IEEE Computational Intelligence Magazine - November 2020 - Contents
IEEE Computational Intelligence Magazine - November 2020 - 2
IEEE Computational Intelligence Magazine - November 2020 - 3
IEEE Computational Intelligence Magazine - November 2020 - 4
IEEE Computational Intelligence Magazine - November 2020 - 5
IEEE Computational Intelligence Magazine - November 2020 - 6
IEEE Computational Intelligence Magazine - November 2020 - 7
IEEE Computational Intelligence Magazine - November 2020 - 8
IEEE Computational Intelligence Magazine - November 2020 - 9
IEEE Computational Intelligence Magazine - November 2020 - 10
IEEE Computational Intelligence Magazine - November 2020 - 11
IEEE Computational Intelligence Magazine - November 2020 - 12
IEEE Computational Intelligence Magazine - November 2020 - 13
IEEE Computational Intelligence Magazine - November 2020 - 14
IEEE Computational Intelligence Magazine - November 2020 - 15
IEEE Computational Intelligence Magazine - November 2020 - 16
IEEE Computational Intelligence Magazine - November 2020 - 17
IEEE Computational Intelligence Magazine - November 2020 - 18
IEEE Computational Intelligence Magazine - November 2020 - 19
IEEE Computational Intelligence Magazine - November 2020 - 20
IEEE Computational Intelligence Magazine - November 2020 - 21
IEEE Computational Intelligence Magazine - November 2020 - 22
IEEE Computational Intelligence Magazine - November 2020 - 23
IEEE Computational Intelligence Magazine - November 2020 - 24
IEEE Computational Intelligence Magazine - November 2020 - 25
IEEE Computational Intelligence Magazine - November 2020 - 26
IEEE Computational Intelligence Magazine - November 2020 - 27
IEEE Computational Intelligence Magazine - November 2020 - 28
IEEE Computational Intelligence Magazine - November 2020 - 29
IEEE Computational Intelligence Magazine - November 2020 - 30
IEEE Computational Intelligence Magazine - November 2020 - 31
IEEE Computational Intelligence Magazine - November 2020 - 32
IEEE Computational Intelligence Magazine - November 2020 - 33
IEEE Computational Intelligence Magazine - November 2020 - 34
IEEE Computational Intelligence Magazine - November 2020 - 35
IEEE Computational Intelligence Magazine - November 2020 - 36
IEEE Computational Intelligence Magazine - November 2020 - 37
IEEE Computational Intelligence Magazine - November 2020 - 38
IEEE Computational Intelligence Magazine - November 2020 - 39
IEEE Computational Intelligence Magazine - November 2020 - 40
IEEE Computational Intelligence Magazine - November 2020 - 41
IEEE Computational Intelligence Magazine - November 2020 - 42
IEEE Computational Intelligence Magazine - November 2020 - 43
IEEE Computational Intelligence Magazine - November 2020 - 44
IEEE Computational Intelligence Magazine - November 2020 - 45
IEEE Computational Intelligence Magazine - November 2020 - 46
IEEE Computational Intelligence Magazine - November 2020 - 47
IEEE Computational Intelligence Magazine - November 2020 - 48
IEEE Computational Intelligence Magazine - November 2020 - 49
IEEE Computational Intelligence Magazine - November 2020 - 50
IEEE Computational Intelligence Magazine - November 2020 - 51
IEEE Computational Intelligence Magazine - November 2020 - 52
IEEE Computational Intelligence Magazine - November 2020 - 53
IEEE Computational Intelligence Magazine - November 2020 - 54
IEEE Computational Intelligence Magazine - November 2020 - 55
IEEE Computational Intelligence Magazine - November 2020 - 56
IEEE Computational Intelligence Magazine - November 2020 - 57
IEEE Computational Intelligence Magazine - November 2020 - 58
IEEE Computational Intelligence Magazine - November 2020 - 59
IEEE Computational Intelligence Magazine - November 2020 - 60
IEEE Computational Intelligence Magazine - November 2020 - 61
IEEE Computational Intelligence Magazine - November 2020 - 62
IEEE Computational Intelligence Magazine - November 2020 - 63
IEEE Computational Intelligence Magazine - November 2020 - 64
IEEE Computational Intelligence Magazine - November 2020 - 65
IEEE Computational Intelligence Magazine - November 2020 - 66
IEEE Computational Intelligence Magazine - November 2020 - 67
IEEE Computational Intelligence Magazine - November 2020 - 68
IEEE Computational Intelligence Magazine - November 2020 - 69
IEEE Computational Intelligence Magazine - November 2020 - 70
IEEE Computational Intelligence Magazine - November 2020 - 71
IEEE Computational Intelligence Magazine - November 2020 - 72
IEEE Computational Intelligence Magazine - November 2020 - 73
IEEE Computational Intelligence Magazine - November 2020 - 74
IEEE Computational Intelligence Magazine - November 2020 - 75
IEEE Computational Intelligence Magazine - November 2020 - 76
IEEE Computational Intelligence Magazine - November 2020 - Cover3
IEEE Computational Intelligence Magazine - November 2020 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202311
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202308
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202305
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202302
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202211
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202208
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202205
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202202
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202111
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202108
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202105
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202102
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202011
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202008
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202005
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202002
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201911
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201908
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201905
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201902
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201811
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201808
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201805
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201802
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter12
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall12
https://www.nxtbookmedia.com