RoPE: An Architecture for Adaptive Data-Driven Routing Prediction at the Edge