Machine learning for real-time detection of local heat accumulation in metal additive manufacturing | Synapse