Research Article
A Novel Cooperative Cache Policy for Wireless Networks
Algorithm 1
The content popularity prediction based on the LSTM.
Input: The content library and number of the training time slots . | Initialise the predicted content popularity . | 1 Forc =1,…, F, do | 2 Obtain | 3 Foru =1, T, do | 4 Input | 5 Obtain | 6 Loss value = | 7 Backpropagates | 8 Adjust the weights of all of the neural layers | 9 Obtain the trained LSTM neural network | End for | 10 Input{,,} into the trained LSTM neural network | 11 Obtain | 12 End for | 13 = |
|