| Algorithm 3: Machine Learning-Based Content Pre-Caching |
|
Input: Table 1, Algorithm 1, , Output: Steps: Prepare Dataset 1. ← Algorithm 1 ∴Get Zone from Algorithm 1 2. ← Algorithm 2 ∴ZoR for dissemination from Algorithm 2 3. ∴The originated data are captured and handled through the Manager nodes with road and traffic conditions captured throughout every incident vehicle. 4. ∴Store data in the manager node from the real environment 5. ∴Set initial velocity and position to the initial stage Train Model 6. for do ∴Set the training data for valuable variables 7. for do ∴Calculate the prediction value for every sample dataset 8. ∴Calculate the error 9. 10. 11. 12. End for 13. End for 14. Return: Test Model 15. Prepare: 16. for do 17. 18. 19. End for 20. Return: |