Skip to content

Commit 5692fc0

Browse files
committed
Deprecate ordered transform
1 parent 7e9e459 commit 5692fc0

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

docs/source/api/distributions/transforms.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Transform instances are the entities that should be used in the
1616
simplex
1717
logodds
1818
log_exp_m1
19-
ordered
19+
ordered_univariate
20+
ordered_multivariate
2021
log
2122
sum_to_1
2223
circular

pymc/distributions/transforms.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"logodds",
3838
"Interval",
3939
"log_exp_m1",
40-
"ordered",
4140
"univariate_ordered",
4241
"multivariate_ordered",
4342
"log",
@@ -370,14 +369,6 @@ def extend_axis_rev(array, axis):
370369
Instantiation of :class:`pymc.distributions.transforms.Ordered`
371370
for use in the ``transform`` argument of a multivariate random variable."""
372371

373-
# backwards compatibility
374-
ordered = Ordered(ndim_supp=1)
375-
ordered.__doc__ = """
376-
Instantiation of :class:`pymc.distributions.transforms.Ordered`
377-
for use in the ``transform`` argument of a random variable.
378-
This instantiation is for backwards compatibility only.
379-
Please use `univariate_ordererd` or `multivariate_ordered` instead."""
380-
381372
log = LogTransform()
382373
log.__doc__ = """
383374
Instantiation of :class:`pymc.logprob.transforms.LogTransform`

0 commit comments

Comments
 (0)