Research Article

A Deep Learning-Based Trust Assessment Method for Cloud Users

Algorithm 1

Predict sequence.
(i)Input: current action sequence to Predict, steps to predict x
Output: predicted action sequence predicted
(1) function PREDICTACTIONS (to predict)
(2)  nextAction = LSTM (to Predict)
(3)  return next Action
(4) end function
(5)iter = 0
(6) while (TRUE) do
(7)  if iter ≤ x then
(8)   nextAction = PredictAction (to Predict)
(9)   predicted = to Predict.remove (the first element)
(10)   predicted = predicted.append (next Action)
(11)  else
(12)   return predicted
(13)  end if
(14) end while