From Weighted Classification to Policy Search