Skip to content

design: super skipping classes fit_regularized #1617

Open

Description

@josef-pkt

just an observation to comment on the current code:

Poisson.fit_regularized calls super but skips CountModel.fit_regularized
cntfit = super(CountModel, self).fit_regularized(

trying to use the own class in super results in a missing mle_retvals
in NegativeBinomial
cntfit = super(NegativeBinomial, self).fit_regularized( raises exception in summary because of missing mle_retvals
doing the same as in Poisson works: cntfit = super(CountModel, self).fit_regularized(

using the inherited CountModel.fit_regularized also worked except for start_params
see #1453 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions