Skip to main content
. 2024 Jan 29;24(3):865. doi: 10.3390/s24030865
Algorithm 1: Suboptimal Decision Making
Input: Tasks, Machine Learning Predictions, Number of VMs,
          Speed, Location, Time, Energy and Cost.

Output: Train and Test the Model for SubOptimal Decision Making
Steps
Get_Tast()
Get inf0 (L, T, E, C, S, T)
ifK then
            train_model(K,P,T,A,C,L);
whiledD&&riRes do
PredictResultsrid,x
end if
          R=store(Training Results)
            executeOCRMCCVM
           if(Tsuccess<Traing)
      test_model(randomposition, energy, timepredict)
end if
        RvisualizeTraing, Test, Validate, compare
Go to Step 1