1. A temporal memory network including one or more nodes, each node comprising: a co-occurrence detector configured to detect co-occurrences in an input data; and a temporal learner connected to the co-occurrence detector and configured to: receive the detected co-occurrences from the co-occurrence detector; store information on sequences of the detected co-occurrences; generate an output representing information about sequences of patterns in the input data based on stored information; and send an intra-node feedback signal to the co-occurrence detector to modify detection of the co-occurrences in the co-occurrence detector.