A Note on Sequence Prediction over Large Alphabets
AbstractBuilding on results from data compression, we prove nearly tight bounds on how well sequences of length n can be predicted in terms of the size σ of the alphabet and the length k of the context considered when making predictions. We compare the performance achievable by an adaptive predictor with no advance knowledge of the sequence, to the performance achievable by the optimal static predictor using a table listing the frequency of each (k + 1)-tuple in the sequence. We show that, if the elements of the sequence are chosen uniformly at random, then an adaptive predictor can compete in the expected case if k ≤ logσ n – 3 – ε, for a constant ε > 0, but not if k ≥ logσ n.
Share & Cite This Article
Gagie, T. A Note on Sequence Prediction over Large Alphabets. Algorithms 2012, 5, 50-55.
Gagie T. A Note on Sequence Prediction over Large Alphabets. Algorithms. 2012; 5(1):50-55.Chicago/Turabian Style
Gagie, Travis. 2012. "A Note on Sequence Prediction over Large Alphabets." Algorithms 5, no. 1: 50-55.