State features consider relating the label y (time-bin) of a single vertex (medical concept) to features corresponding to a medical concept x, and are given by, Transition features consider the mutual dependence of labels y i−1 and y i (dependence between the time-bins of the current and previous medical event in the sequence) and are given by, Above, s j is a state feature function, and λ j is its associated weight and t k is a transition function, and µ k is its associated weight.
to the state function, the transition function takes as input the current label as well as the previous label, in addition to the data.