Machine learning for exoplanet detection in high-contrast spectroscopy | Synapse