Lightweight statistical learning : accelerating and avoiding empirical risk minimization