1. A server system comprising a processor and a memory device, the server system comprising: a gateway server configured to receive via a communication network requests to perform inference or classification on associated input data sets from a plurality of client devices, the gateway server is further configured to receive sets of input data via the communication network wherein each set of input data is associated with a request to perform inference or classification; and a first hierarchical temporal memory (HTM) server for running a first HTM network, the first HTM network coupled to the gateway server to receive the input data from the gateway server, the HTM network comprising: a first node for receiving the input data and generating a first vector representing information about patterns and sequences in the input data corresponding to learned patterns and sequences; and a second node associated with the first node to generate and output a second vector based on the first vector, the second vector representing information about causes of the input data.