ML-based classification of photons and neutral mesons for Pb–Pb collisions recorded by ALICE | Synapse