Skip to content

ENH: Gam 2744 rebased - #4575

Closed
josef-pkt wants to merge 7 commits into
statsmodels:masterfrom
josef-pkt:gam_2744_rebased
Closed

josef-pkt wants to merge 7 commits into
statsmodels:masterfrom
josef-pkt:gam_2744_rebased

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

rebased version of #2744
I removed _statespace.pyx, and
resolved one merge conflict in generalized_linear_model related to use of results_class to allow different results classes to be created in fit.

@josef-pkt josef-pkt added this to the 0.10 milestone Apr 30, 2018
@josef-pkt

Copy link
Copy Markdown
Member Author

This pull request introduces 6 alerts when merging 1ca8784 into 40e4f56 - view on lgtm.com

new alerts:

  • 2 for Missing call to __init__ during object initialization
  • 1 for Unnecessary pass
  • 1 for Unreachable code
  • 1 for Mismatch between signature and use of an overridden method
  • 1 for Wrong number of arguments in a call

Comment posted by lgtm.com

@josef-pkt

Copy link
Copy Markdown
Member Author

one error shows up many times
E AttributeError: 'GLMGam' object has no attribute 'scale'
in updating the history.
scale has been removed from the model class GLM, AFAIR
many assert will not be tested because of this

otherwise one failure with large difference in numbers, in test_partial_values

Comment thread statsmodels/gam/gam.py

return sc

def scoreobs(self, params, pen_weight=None):

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong name
score_obs
see also #4576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants