A flexible Bayesian framework for atomic masses by locally inferring configuration mixing | Synapse