ML-based classification in an open-source framework for the ALICE heavy-flavour analysis | Synapse