@@ -190,21 +190,21 @@ class Interval(IntervalTransform):
190
190
191
191
Parameters
192
192
----------
193
- lower : int, float, or None
194
- Lower bound of the interval transform. Must be a constant value. If ``None``, the
195
- interval is not bounded below.
196
- upper : int, float or None
197
- Upper bound of the interval transfrom . Must be a finite value. If ``None``, the
198
- interval is not bounded above.
199
- bounds_fn : callable
193
+ lower : int or float, optional
194
+ Lower bound of the interval transform. Must be a constant finite value.
195
+ By default (``lower=None``), the interval is not bounded below.
196
+ upper : int or float, optinoal
197
+ Upper bound of the interval transform . Must be a constant finite value.
198
+ By default (``upper=None``), the interval is not bounded above.
199
+ bounds_fn : callable, optional
200
200
Alternative to lower and upper. Must return a tuple of lower and upper bounds
201
- as a symbolic function of the respective distribution inputs. If lower or
201
+ as a symbolic function of the respective distribution inputs. If one of lower or
202
202
upper is ``None``, the interval is unbounded on that edge.
203
203
204
204
.. warning:: Expressions returned by `bounds_fn` should depend only on the
205
- distribution inputs or other constants. Expressions that depend on other
206
- symbolic variables, including nonlocal variables defined in the model
207
- context will likely break sampling.
205
+ distribution inputs or other constants. Expressions that depend on nonlocal
206
+ variables, such as other distributions defined in the model context will
207
+ likely break sampling.
208
208
209
209
210
210
Examples
0 commit comments