Machine learning assisted abstraction of photonic integrated circuits in fully disaggregated transparent optical networks