Skip to content

Commit 45eaeca

Browse files
committed
rename module to utils
1 parent 378cd95 commit 45eaeca

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

pymc_experimental/__init__.py

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

1313

1414
from pymc_experimental.bart import *
15-
from pymc_experimental import tricks
15+
from pymc_experimental import utils

pymc_experimental/tests/test_histogram_trick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def test_histogram_init(use_dask):
99
data = np.random.randn(10000)
1010

11-
histogram = pmx.tricks.quantile_histogram(data, n_quantiles=100)
11+
histogram = pmx.utils.quantile_histogram(data, n_quantiles=100)
1212
assert isinstance(histogram, dict)
1313
assert histogram["mid"].shape == (99, )
1414
assert histogram["low"].shape == (99, )

pymc_experimental/tricks/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

pymc_experimental/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .histogram_trick import *

0 commit comments

Comments
 (0)