Bhattamishra et al., The Next Symbol Prediction Problem
0.1. Definition. (Deterministic finite automaton) A deterministic finite automaton is a tuple where—
- is a finite set of states,
- is a finite alpahbet,
- is a transition function, and
- is a set of accepting states.
0.3. Definition. (Next symbol prediction) The example oracle produces only positive exaamples. However, for every prefix of an input, it provides the legal symbols for the next step, and the label of the prefix. Thus information about negative examples is given by the labels of prefixes and the valid symbols for the next step.
The task of a predictor is to predict, for any input , the next set of valid symbols, and the labels for each prefix, i.e. labels. has error 1 on an input if any of the labels is incorrect, and otherwise. Then the error of with respect to a target language and distribution is