Skip to content

Commit 525ed1b

Browse files
committed
Import missing constants
1 parent 9ecc046 commit 525ed1b

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

tests/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
from pymc_extras.distributions import histogram_utils
16-
from pymc_extras.distributions.histogram_utils import histogram_approximation

tests/distributions/test_discrete_markov_chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from pymc_extras.distributions.timeseries import (
1414
DiscreteMarkovChain,
15-
DiscreteMarkovChainRV,
15+
DiscreteMarkovChainGibbsMetropolis,
1616
)
1717

1818

tests/statespace/test_kalman_filter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from pymc_extras.statespace.filters import (
99
CholeskyFilter,
10+
KalmanSmoother,
1011
SingleTimeseriesFilter,
1112
StandardFilter,
1213
SteadyStateFilter,

tests/statespace/test_statespace.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@
1313
from pymc_extras.statespace.models import structural as st
1414
from pymc_extras.statespace.models.utilities import make_default_coords
1515
from pymc_extras.statespace.utils.constants import (
16+
FILTER_OUTPUT_NAMES,
1617
JITTER_DEFAULT,
1718
LONG_MATRIX_NAMES,
19+
MATRIX_NAMES,
1820
MISSING_FILL,
21+
NEVER_TIME_VARYING,
1922
SHORT_NAME_TO_LONG,
23+
SMOOTHER_OUTPUT_NAMES,
24+
VECTOR_VALUED,
2025
)
2126
from tests.statespace.utilities.shared_fixtures import (
2227
rng,

tests/statespace/test_structural.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@
1717

1818
from pymc_extras.statespace import structural as st
1919
from pymc_extras.statespace.utils.constants import (
20+
ALL_STATE_AUX_DIM,
21+
ALL_STATE_DIM,
22+
AR_PARAM_DIM,
2023
JITTER_DEFAULT,
2124
LONG_MATRIX_NAMES,
2225
MISSING_FILL,
26+
OBS_STATE_AUX_DIM,
27+
OBS_STATE_DIM,
28+
SHOCK_AUX_DIM,
29+
SHOCK_DIM,
2330
SHORT_NAME_TO_LONG,
2431
)
2532
from tests.statespace.utilities.shared_fixtures import ( # pylint: disable=unused-import

0 commit comments

Comments
 (0)