Joint machine learning analysis of muon spectroscopy data from different materials