Risk of Privacy in Machine Learning: Inbound and Outbound