Predicting phase and sensing phase coherence in chaotic systems with machine learning | Synapse