Specifying a hidden semi-Markov model

These functions allows to specify a hidden Semi Markov model.

specify_hsmm()

Specifies a hidden semi-Markov model

available_sojourn_dist()

Provides the list of currently supported sojourn distributions and the list of their parameters.

available_marginal_emission_dist()

Provides the list of currently supported marginal emission distributions and the list of their parameters.

summary_hsmm()

Prints the model parameters.

Simulating sequences of hidden states and observations

simulate_hsmm()

Simulate a state and observation sequence from a hidden semi-Markov model.

Fitting a model to observation sequences.

These functions allows to fit a hidden Semi Markov model a set of observation sequences.

fit_hsmm()

Fits a hidden semi-Markov model to data sequences

plot_hsmm_fit_status()

Visualizes the status of the EM-procedure.

Predicting the hidden states sequence from observation sequences.

predict_states_hsmm()

Predicts the hidden state sequence from observations

predict(<hsmm>)

Predicts the hidden state sequence from observations

Visualization functions

Functions to visualize observation sequences and model specifications (such as the model graph or the sojourn distributions).

plot_hsmm_seq()

Plots a single sequence of observation.

available_emission_viz_options()

Provides the list of currently supported visualization options for the observations, depending on their emission distribution.

plot_hsmm_transitions()

Visualizes the model graph with transition probabilities.

plot_hsmm_sojourn_dist()

Visualizes the sojourn distributions of a hidden semi-Markov model.

plot_hsmm_marg_dist()

Visualizes the marginal emission distribution of a hsmm model.

plot_hsmm_joint_em_prob()

Visualizes the joint emission probabilities (2x2) of a hidden semi-Markov model.

plot_hsmm_state_colors()

Visualization of the model's state colors.

Labelling function

label_sequences()

Interactive app for the labeling of sequences with mode states

Simple hidden semi-Markov model for demos

simple_model

A simple hidden semi-Markov model for function demonstration purposes.