Learning to target with network interference