Skip to content

BUG: incorrect self.score in GenericLikelihoodModel; closes #4453 - #5130

Merged
josef-pkt merged 1 commit into
statsmodels:masterfrom
jbrockmendel:scoreprox
Sep 13, 2018
Merged

josef-pkt merged 1 commit into
statsmodels:masterfrom
jbrockmendel:scoreprox

Conversation

@jbrockmendel

@jbrockmendel jbrockmendel commented Sep 6, 2018 •

Copy link
Copy Markdown
Contributor

If we called score, it would be calling approx_fprime(params), which is the wrong signature for approx_fprime

@josef-pkt

Copy link
Copy Markdown
Member

why is this meaningless?

self contained information for issue/PRs, i.e. the line that you delete looks fine to me.
So I have to dig and second guess.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

the line that you delete looks fine to me.

Well if you called it, you would be calling approx_fprime(params), which is the wrong signature for approx_fprime

@coveralls

coveralls commented Sep 7, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.007%) to 84.018% when pulling 9ec74cc on jbrockmendel:scoreprox into 359aeed on statsmodels:master.

@jbrockmendel jbrockmendel changed the title BUG: meaningless self.score in GenericLikelihoodModel; closes #4453 BUG: incorrect self.score in GenericLikelihoodModel; closes #4453 Sep 10, 2018
@codecov

codecov Bot commented Sep 12, 2018

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@359aeed). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #5130   +/-   ##
=========================================
  Coverage          ?   81.36%           
=========================================
  Files             ?      582           
  Lines             ?    90314           
  Branches          ?     9394           
=========================================
  Hits              ?    73482           
  Misses            ?    14528           
  Partials          ?     2304
Impacted Files Coverage Δ
statsmodels/base/model.py 85.15% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 359aeed...9ec74cc. Read the comment docs.

@josef-pkt josef-pkt added this to the 0.10 milestone Sep 13, 2018
@josef-pkt
josef-pkt merged commit 513eb36 into statsmodels:master Sep 13, 2018
@josef-pkt

Copy link
Copy Markdown
Member

@jbrockmendel thank you

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.

3 participants