Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K
JAX  documentation - Home

jax.scipy.stats.bernoulli.pmf

Contents

jax.scipy.stats.bernoulli.pmf#

jax.scipy.stats.bernoulli.pmf(k,p,loc=0)[source]#

Bernoulli probability mass function.

JAX implementation ofscipy.stats.bernoullipmf

The Bernoulli probability mass function is defined as

\[\begin{split}f(k) = \begin{cases} 1 - p, & k = 0 \\ p, & k = 1 \\ 0, & \mathrm{otherwise}\end{cases}\end{split}\]
Parameters:
Returns:

array of pmf values

Return type:

Array

Contents

[8]ページ先頭

©2009-2025 Movatter.jp