Skip to content

BUG: GLM fit_gradient doesn't use max_start_irls, if > 0 #2834

Closed

Description

@josef-pkt

#2805 (comment)

I'm adding a fix as part of #2805, which should be merged soon, otherwise we make a new PR with it.

consequence of fixing this:

one precision issue in unit tests
two family link combinations fail with only max_start_irls=1
skipping these two cases still leaves 4 convergence warnings that don't cause test failures.

edit:
more detailed result while investigating in #2805

  • on my computer the tol to pass should be rtol=6e-4 or atol=5e-6
  • after increasing to atol=5e-6 tests that converge pass
  • The next fail is serious because it has a convergence failure for Gaussian with inverse_power link
  • The second convergence failure is InverseGaussian with log link
    both are for the case max_start_irls=1, start_params=None
  • more experimenting: increasing max_start_irls=3 ( current default)
    • Gaussian with inverse_power still fails
    • all other finish clean, including InverseGaussian loglink, no convergence warnings for any case
  • there are already two skips that fail even with start_params provided
    • NegativeBinomial with link inverse_squared
    • InverseGaussian with link inverse_squared

I'm going to change max_start_irls to 3 in the unit tests

cross-link to our examples with convergence failures or problems #1649

Activity

  1. added 2 commits that reference this issue on Feb 20, 2016
    b8da1bf
    5aea4de
  2. added 2 commits that reference this issue on Mar 8, 2016
    8a0a1a1
    7fdcd23
  3. added this to the 0.8 milestone on Jun 18, 2016
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions