Is there any mode to import data for the network not in csv file? For example query on db?
Just letting anyone who may be interested in the answer to this, that the question was answered in the Gitter channel earlier.
Here is the conversation for your convenience:
If you check out Matt's example sine predictor project (https://github.com/rhyolight/nupic.examples), there's code in there that could be re-tooled to import directly from a web-service, DB or any other source. Basically, the code just iterates over rows found in the CSV file, and parses them into variables, before calling NuPIC functions to bring them into the model.