Machine Learning Method Allows Hospitals to Share Patient Data Privately