I'm sorry, my experience with OPF vs. Network API usage is non-existent to
limited at the present time. But I'm sure someone else will come along and
answer your question. In addition you can also try http://gitter.im/numenta
or the irc freenode chat channel.

David

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

> I just want to get predictions. I thought this would be the right way (get
> the topDownOut ouptut from TemporalPooler), but I can be wrong.
>
> I saw the OPF can do predictions, but I'm using Network API and dont
> examples with prediction (only anomaly).
>
> Do you know what should I do?
>
> 2015-01-19 14:37 GMT-03:00 cogmission1 . <[email protected]>:
>
> 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...*
>>
>
>
>
> --
>
> 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