himamo v0.1.0 Himamo.Model.Pi
Defines initial state distribution.
Initial state distribution, commonly denoted by π
, defines the probability
that the model will start in state S_i
.
i ∈ [0, N)
whereN
is the total number of states.
Examples
iex> pi = Himamo.Model.Pi.new([0.3, 0.2, 0.5])
...> Himamo.Model.Pi.get(pi, 1)
0.2
Summary
Functions
Returns probability of model starting in state S_i
Creates a representation of the initial state probabilities
Types
t :: %Himamo.Model.Pi{n: term, probs: tuple}
Functions
Specs
Returns probability of model starting in state S_i
.
Specs
Creates a representation of the initial state probabilities.