Machine learning using beam loss monitors for DIAMOND-II | Synapse