Research Article

Energy Efficiency Strategy for Big Data in Cloud Environment Using Deep Reinforcement Learning

Algorithm 2

DQN algorithm for energy efficiency.
DQN algorithm
(1) for (i = 1 to N)
(2)  Memory initialization
(3)  for (i = 1 to t)
(4)   for (i = 1 : N)
(5)    Prob. T and random action at
(6)    Set at = Q(st, a, θ)
(7)    Observe reward and state St+1
(8)    Add
(9)    
(10)    Set θn = θ in every iteration
(11)   End for
(12)  End for
(13)   Agent replay update
(14) End for
(15) End procedure