You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Guides/batching.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ Note:
46
46
+ :code:`Empirical`
47
47
+ :code:`Pmf`
48
48
+ :code:`Sequential`
49
+
+ :code:`Poisson`
50
+
+ :code:`Geometric`
51
+
+ :code:`Binomial`
49
52
+ If the keyword :code:`batching_distributions` is omitted, then no batching is assumed. That is only one customer arrives at a time. Equivalent to :code:`ciw.dists.Deterministic(1)`.
50
53
+ If some nodes/customer classes require no batching, but others do, please use :code:`ciw.dists.Deterministic(1)`.
51
54
+ Batch arrivals may lead to :ref:`simultaneous events <simultaneous_events>`, please take care.
The Poisson distribution samples a random integer from the Poisson distribution with mean :math:`\lambda`.
287
+
Write an Poisson distribution with mean `1.7` as follows::
288
+
289
+
ciw.dists.Poisson(rate=1.7)
290
+
291
+
292
+
.. _geometric_dist:
293
+
294
+
--------------------------
295
+
The Geometric Distribution
296
+
--------------------------
297
+
298
+
The Geometric distribution samples a random integer from the Geometric distribution with parameter :math:`p`. That is, the number of Bernoulli trials until a success, when each independent Bernoulli trial has probability :math:`p` of succes.
299
+
Write an Geometric distribution with success probability of `0.3` as follows::
300
+
301
+
ciw.dists.Geometric(prob=0.3)
302
+
303
+
304
+
.. _binomial_dist:
305
+
306
+
-------------------------
307
+
The Binomial Distribution
308
+
-------------------------
309
+
310
+
The Binomial distribution samples a random integer from the Binomial distribution with parameters :math:`n` and :math:`p`. That is, the number of successful Bernoulli trials out of a total of :math:`n` trials, when each independent Bernoulli trial has probability :math:`p` of succes.
311
+
Write an Geometric distribution with success probability of `0.3` and `20` trials as follows::
0 commit comments