1. An Hierarchical Temporal Memory (HTM) network system comprising a top node and a supervised learning node, the top node configured to generate an output representing an object or a state of an object responsive to receiving sample input data in an inference mode, comprising: a supervised learning node configured to receive a training input data in a training mode and group patterns in the training input data responsive to receiving a supervision signal representing a correct category of the object or the state of the object for the training input data, and the supervised learning node in the inference mode subsequent to the training mode generating first information about patterns in sample input data corresponding to the patterns grouped in the training mode, the top node in the inference mode generating the output based on the first information generated at the supervised learning node.