Hello mraptor,

Yes!
You can use NuPIC's ScalarEncoder as Python class.
NuPIC’s unit test code of ScalarEncoder may helpful for you.
https://github.com/numenta/nupic/blob/master/tests/unit/nupic/encoders/scalar_test.py

Here is my small sample code using ScalarEncoder.
https://gist.github.com/iizukak/2c77e9e4ee8a842e86b7

Best regards.

2016-02-21 5:01 GMT+09:00 mraptor <[email protected]>:
> hi,
>
> Is there a easy way to separate Scalar encoder as a standalone class.
> I only need init, encode/decode functionality.
>
> https://github.com/numenta/nupic/blob/master/src/nupic/encoders/scalar.py
>
> I don't want to reinvent the wheel :)
>
> thanks
>
> -------| http://ifni.co
>



-- 
Kentaro Iizuka<[email protected]>

Github
https://github.com/iizukak/

Reply via email to