Optimizing Interactive Systems with Data-Driven Objectives