Skip to content

Penalized mle scad rebased - #3677

Closed
josef-pkt wants to merge 22 commits into
statsmodels:masterfrom
josef-pkt:penalized_mle_scad_rebased
Closed

josef-pkt wants to merge 22 commits into
statsmodels:masterfrom
josef-pkt:penalized_mle_scad_rebased

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

#2374 rebased

pushed to separate PR as safety
(there was a merge conflict, but didn't show any conflict in the changes)

open review comments in 2374

return llf


def loglikeobs(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.

I assume all this methods need to handle additional **kwargs, e.g. we have scale now for several methods as keyword argument.




def loglike(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.

docstrings missing, but I think they need to be inherited plus pen_weight in Parameters

@josef-pkt

Copy link
Copy Markdown
Member Author

(looks like too much work for now, I'm just rebasing.)

@josef-pkt

josef-pkt commented May 20, 2017 •

Copy link
Copy Markdown
Member Author

travis: precision failure in first and last python in test_penalized.TestPenalizedPoissonOracleHC.test_cov_type maybe 1e-5 instead of 1e-7 tolerance

one appveyor python fails with the same (one appveyor errors with statespace)

         there are at least two test failures because of differnt optim options
@josef-pkt
josef-pkt force-pushed the penalized_mle_scad_rebased branch from 161ed97 to 0acdb7c Compare November 1, 2017 02:29
@josef-pkt

Copy link
Copy Markdown
Member Author

rebased, minor merge conflict in "REF: NegativeBinomial skip_hessian for start_params" which needed to be skipped, obsolete with recent start_params improvements.

@josef-pkt

Copy link
Copy Markdown
Member Author

This pull request introduces 2 alerts - view on lgtm.com

new alerts:

  • 2 for Missing call to init during object initialization

Comment posted by lgtm.com

@josef-pkt

Copy link
Copy Markdown
Member Author

test failures and errors everywhere.
pretty mixed and will need work:
fail and error because of refactoring of start_params in discrete
precision failures
penalization sets to many params to zero

@josef-pkt

Copy link
Copy Markdown
Member Author

merged in #4576

@josef-pkt josef-pkt closed this May 21, 2018
@josef-pkt
josef-pkt deleted the penalized_mle_scad_rebased branch May 21, 2018 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant