File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Continuous Integration] ( https://github.com/pysal/spglm/actions/workflows/testing.yml/badge.svg )] ( https://github.com/pysal/spglm/actions/workflows/testing.yml )
5
5
[ ![ Documentation Status] ( https://readthedocs.org/projects/spglm/badge/?version=latest )] ( https://spglm.readthedocs.io/en/latest/?badge=latest )
6
6
[ ![ PyPI version] ( https://badge.fury.io/py/spglm.svg )] ( https://badge.fury.io/py/spglm )
7
+ [ ![ codecov] ( https://codecov.io/gh/pysal/spglm/branch/main/graph/badge.svg )] ( https://codecov.io/gh/pysal/spglm )
7
8
8
9
9
10
This module is an adaptation of a portion of [ GLM functionality from the
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def _bit_length_26(x):
16
16
from numpy .lib ._version import NumpyVersion
17
17
except ImportError :
18
18
import re
19
-
19
+
20
20
######################################################################
21
21
# TODO - remove GH#39
22
22
string_types = basestring # noqa F821 - `nan_dot` not defined - should remove
Original file line number Diff line number Diff line change @@ -118,10 +118,12 @@ def deriv(self, mu):
118
118
########################################################################
119
119
# `approx_fprime_cs` is imported by unused
120
120
from statsmodels .tools .numdiff import approx_fprime_cs # noqa F401
121
- #return approx_fprime_cs(mu, self) # TODO fix breaks in `fabs
121
+
122
+ # return approx_fprime_cs(mu, self) # TODO fix breaks in `fabs
122
123
########################################################################
123
-
124
+
124
125
from statsmodels .tools .numdiff import approx_fprime
126
+
125
127
# TODO: diag is workaround problem with numdiff for 1d
126
128
return np .diag (approx_fprime (mu , self ))
127
129
You can’t perform that action at this time.
0 commit comments