CLsHypo_discrete¶
-
class
hep_spt.
CLsHypo_discrete
(pmf)[source]¶ Bases:
hep_spt.CLsHypo
Represent an hypothesis which works on a discrete domain. The class is built from a given probability function.
- Parameters
pmf (scipy.stats.rv_frozen) – probability mass function.
- Variables
func – probability mass function representing the hypothesis.
See also
Methods Summary
__call__
(v)Calculate the global probability for the given input value(s).
Methods Documentation
-
__call__
(v)[source]¶ Calculate the global probability for the given input value(s). See
CLsHypo.__call__()
for more details.- Parameters
v (numpy.ndarray) – input value(s).
- Returns
Global probability.
- Return type