Scalable Approximations for Generalized Linear Problems