Skip to content

Commit

Permalink
Pass callbacks argument to LinearGAM super init - fixes dswah#291 (cl…
Browse files Browse the repository at this point in the history
…oning LinearGAM)
  • Loading branch information
miguelfmc committed Aug 8, 2022
1 parent b57b4cf commit 4a99ef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygam/pygam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4a99ef4

Please sign in to comment.