Skip to content

Commit

Permalink
make2d should not be verbose in initial_estimate
Browse files Browse the repository at this point in the history
  • Loading branch information
dswah committed Jul 7, 2018
1 parent 023b0fd commit d0d7c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygam/pygam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0d7c7a

Please sign in to comment.