deepof.post_hoc.get_transitions

deepof.post_hoc.get_transitions(state_sequence: list, n_states: int)

Compute the transitions between states in a state sequence.

Parameters:
  • state_sequence (list) – A list of states.

  • n_states (int) – The number of states.

Returns:

The resulting transition matrix.