See NuPIC docs at http://numenta.org/docs/nupic/.