Skip to content

Commit

Permalink
Merge pull request #185 from dswah/warn
Browse files Browse the repository at this point in the history
make2d should not be verbose in initial_estimate
  • Loading branch information
dswah authored Jul 7, 2018
2 parents c3df001 + 9187445 commit 7902f2d
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 7902f2d

Please sign in to comment.