Random distributions¶
-
class
schedy.random.
LogUniform
(low, high)[source]¶ LogUniform distribution. Values are sampled betweend
low
andhigh
, such thatlog(value)
is uniformly distributed betweenlog(low)
andlog(high)
.Parameters:
-
class
schedy.random.
Uniform
(low, high)[source]¶ Uniform distribution. Values will be uniformly distributed in the interval [
low
,high
).Parameters:
-
class
schedy.random.
Choice
(values, weights=None)[source]¶ Choice distribution. Values will be picked randomly in a set of values. You can optionally provide weights for these values, to make some of them more likely to be suggested by Schedy than others.
Parameters: