Aligning law, policy, and machine learning for responsible real-world deployments