Hi Ricardo, The CLAClassifier is responsible for doing this. It is in:
nupic/algorithms/CLAClassifier.py There is also a faster C++ version. If you are using the Network API, there is a CLAClassifierRegion. The OPF uses this to map SDR's back to the input values. --Subutai On Mon, Jan 19, 2015 at 9:24 AM, Ricardo Franco <[email protected]> wrote: > Lets consider a SpatialEncoder that encode the value 99 to [0 0 0 0 1 1] > > The SpatialPooler will receive this [0 0 0 0 1 1] and output a totally > different thing to 'bottomUpOut' output (this new array/matrix is the SDR, > right?) > > Lets the SDR is [0 0 1 0 0 0 1 0 1 0 0 1 1 0]. > > Now how to get the SDR back to 99? Is this possible? > > -- > > Ricardo Franco Andrade > > *Web Developer* > > email: [email protected] > skype: ricardo.krieg > phone: +55 (86) 9569 8521 > linkedin: http://br.linkedin.com/in/ricardokrieg/ > github: https://github.com/ricardokrieg > > >
