statsmodels.gam.generalized_additive_model.LogitGam.initialize

method

LogitGam.initialize()

Initialize is called by statsmodels.model.LikelihoodModel.__init__ and should contain any preprocessing that needs to be done for a model.