Also, see our wiki page on encoders:

https://github.com/numenta/nupic/wiki/Encoders#scalar-encoders

and you can take a look at the hotgym model params to see how the
AdaptiveScalarEncoder is specified here:

https://github.com/numenta/nupic/blob/master/examples/opf/clients/hotgym/model_params.py#L66


---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Sep 12, 2013 at 12:51 PM, Chetan Surpur <[email protected]> wrote:

> Hi,
>
> Use a ScalarEncoder:
> https://github.com/numenta/nupic/blob/master/py/nupic/encoders/scalar.py?source=c
>
> See this part of the CLA Basics talk to understand how encoders work,
> specifically for scalars: http://youtu.be/3gjVVNPnPYA?t=2m40s
>
> - Chetan
>
>
> On Thu, Sep 12, 2013 at 12:41 PM, mraptor <[email protected]> wrote:
>
>> Can you guys give me some pointers and/or explanations how do you encode
>> numbers into sparse representation ?
>> What algorithm or mapping do you use..etc..
>> (In case when I use numbers to represent test data).
>>
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to