View full-text article in PMC Sensors (Basel). 2024 Jan 29;24(3):865. doi: 10.3390/s24030865 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice 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 Sub−Optimal Decision Making Steps Get_Tast() Get inf0 (L, T, E, C, S, T) ifK≠∅ then train_model(K,P,T,A,C,L); whiled∈D&&ri∈Res do PredictResults←rid,x end if R=store(Training Results) executeOCRMCCVM if(Tsuccess<Traing) test_model(randomposition, energy, time−predict) end if Rvisualize←Traing, Test, Validate, compareGo to Step 1