Selective Data Acquisition in Learning and Decision Making Problems