In HTM, sequence memory is implemented by the Temporal Memory algorithm. This algorithm learns sequences of Sparse Distributed Representations (SDRs) formed by the Spatial Pooling algorithm, and makes predictions of what the next input SDR will be. While we are working on a standalone chapter for BAMI that will detail the Temporal Memory algorithm, for now you can explore the following resources to learn more: