Model-specific Data Subsampling with Influence Functions