Learning Optimal Interventions