Skip to main content
. 2022 May 27;22(11):4088. doi: 10.3390/s22114088
Algorithm 1: Pseudo-code of the DSLO Algorithm.
Input   : Dataset I of different MEC scenarios and step-size hyper-parameter η
Output: The trained neural network model
Randomly initialize θ
Randomly split I into Itrain and Itest
For each scenario, randomly split its data samples K into Ktrain and Ktest
Merge all training samples into a whole training set M
// Training procedure
Inline graphic
// Testing procedure
Given a new sample set from Ktest, generate its offloading decision a^
Evaluate the network utility Q by solving the subproblem (P2)