The following workflow demonstrates using GLM model fitting and scoring functions from statsmodels and sklean Python packages.
The example fits one or multiple GLM model to the housing data, and then uses it to prices for the houses in the test data.