Advancing privacy and accountability in machine learning