statsmodels.gam.generalized_additive_model.GLMGam.score_numdiff

GLMGam.score_numdiff(params, pen_weight=None, method='fd', **kwds)

score based on finite difference derivative