Research Article
Machine Learning-Aided Energy Efficiency Strategy for Multiuser Cooperative Networks
Algorithm 1
The proposed ML-based energy efficiency method.
1 Input: , , , , | 2 Output: , | 3 Initialization: , , , Create ANNs for | 4 %Generation of input space in database | 5 fordo | 6 | 7 fordo | 8 ; | 9 end | 10 | 11 end | 12 %Generation of output space in database | 13 fordo | 14 Calculate by substituting and using exhaustive searching based on [5]; | 15 ; | 16 Calculate the total power consumption of non- cooperative and cooperative communications according to [5]; | 17 if Non-cooperative power Cooperative power then | 18 ; | 19 else | 20 | 21 end | 22 end | 23 %Training all of ANNs | 24 for eachdo | 25 | 26 end |
|