If it helps, I also have an example Python file that shows the usage of each of the typical algorithms used in standalone fashion - in one quick easy file with an actual use-case? I can email it to you if you'd like?
Cheers, David On Mon, Feb 22, 2016 at 10:24 AM, Matthew Taylor <[email protected]> wrote: > Have you seen Scott's "Beginner's Guide"? > https://github.com/numenta/nupic/wiki/Using-NuPIC#beginners-guide-to-nupic > > He instantiates the ScalarEncoder directly and uses it in a standalone > fashion. There is a link to the code too. Does that help? > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Sat, Feb 20, 2016 at 10:36 PM, mraptor <[email protected]> wrote: > > thanks, > > > > I was talking mostly of standalone use i.e. separating it in its own > > class w/o any non-standard python dependencies > > -------| http://ifni.co > > > > > > On Sat, Feb 20, 2016 at 9:28 PM, Kentaro Iizuka > > <[email protected]> wrote: > >> 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/ > >> > > > > -- *With kind regards,* David Ray Java Solutions Architect *Cortical.io <http://cortical.io/>* Sponsor of: HTM.java <https://github.com/numenta/htm.java> [email protected] http://cortical.io
