From d0d7c7a06323bb45c09e8f055afab89bbf9bf12f Mon Sep 17 00:00:00 2001 From: dani Date: Sat, 7 Jul 2018 14:18:29 +0200 Subject: [PATCH] make2d should not be verbose in initial_estimate --- pygam/pygam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygam/pygam.py b/pygam/pygam.py index c6690ca6..30ff3611 100644 --- a/pygam/pygam.py +++ b/pygam/pygam.py @@ -1006,7 +1006,7 @@ def _initial_estimate(self, y, modelmat): y[y == 1] -= .01 # edge case for logit link y_ = self.link.link(y, self.distribution) - y_ = make_2d(y_) + y_ = make_2d(y_, verbose=False) assert np.isfinite(y_).all(), "transformed response values should be well-behaved." # solve the linear problem