Using Information from the rest of a Sequence to Predict the Label for any one Item
The fastest way to train a model to predict each item's label is using Conditional Random Fields (CRT) like in this example. h/t @erwin