Invariant mass reconstruction of heavy gauge bosons decaying to leptons using machine learning techniques | Synapse