New machine learning method allows hospitals to share patient data -- privately