A Data-Driven Approach to Autonomous Management of Photonic Switching System