From 4a99ef40e3d19760b7dc9182fa41082895d5ec68 Mon Sep 17 00:00:00 2001 From: Miguel FMC Date: Sun, 7 Aug 2022 22:07:12 -0700 Subject: [PATCH] Pass callbacks argument to LinearGAM super init - fixes #291 (cloning LinearGAM) --- pygam/pygam.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pygam/pygam.py b/pygam/pygam.py index ae8c8d64..7ee20647 100644 --- a/pygam/pygam.py +++ b/pygam/pygam.py @@ -2285,6 +2285,7 @@ def __init__(self, terms='auto', max_iter=100, tol=1e-4, super(LinearGAM, self).__init__(terms=terms, distribution=NormalDist(scale=self.scale), link='identity', + callbacks=callbacks, max_iter=max_iter, tol=tol, fit_intercept=fit_intercept,