Machine learning-based solutions for resource management in fog computing