Synchronization of machine learning oscillators in complex networks