I don't think you can reverse the output of a SpatialPooler. Classifiers
however map SDR's to the input, so you could use one of those?



On Mon, Jan 19, 2015 at 11:34 AM, Ricardo Franco <[email protected]>
wrote:

> If I call encoder.decode([0 0 0 0 1 1]) I know it will work, because I'm
> passing the encoded 99.
>
> But I want to get the 99 having the SDR, not the encoded 99.
>
> Its like encoder.decode([0 0 1 0 0 0 1 0 1 0 0 1 1 0]) # this will not
> work
>
> 2015-01-19 14:27 GMT-03:00 cogmission1 . <[email protected]>:
>
> Ricardo,
>>
>> Unless I understand you incorrectly, you would call the "decode()" method
>> of your Encoder.
>>
>> On Mon, Jan 19, 2015 at 11: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
>>>
>>>
>>>
>>
>>
>> --
>> *We find it hard to hear what another is saying because of how loudly
>> "who one is", speaks...*
>>
>
>
>
> --
>
> 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
>
>
>


-- 
*We find it hard to hear what another is saying because of how loudly "who
one is", speaks...*

Reply via email to