Script to investigate optimal AI-SGD for glm models.