replay_trajectory_classification.discrete_state_transitions#

Classes to generate transitions between categories.

Functions

estimate_discrete_state_transition

Estimate a new discrete transition matrix given the old one and updated smoother results.

expected_duration

The average duration of each discrete state if it follows a geometric distribution.

Classes

DiagonalDiscrete

Transition matrix with diagonal_value on the value for n_states

RandomDiscrete

All state transitions are random

UniformDiscrete

All transitions to states (including self transitions) are the same probability.

UserDefinedDiscrete

State transitions are provided by user.