Found it. Great. I noted the file location in the YouTube comments.
I definitely think it's useful to have several examples that newbies can play work with to get their feet wet with, as well as showing various changes to the examples and how the changes effect the output. I know in my case, I definitely learn easier and faster if I have some example code to play around with instead of just reading documentation. Thanks, Dean On Wed, Mar 26, 2014 at 10:25 AM, Matthew Taylor <[email protected]> wrote: > Thanks, Dean! I didn't really explain that file very much, because > it's a bit out of > scope to describe how matplotlib plots. But the file is in the repo: > > https://github.com/rhyolight/nupic.examples/blob/master/sine-prediction/nupic_output.py > > I'm thinking about putting together another screencast using hotgym, > and making 1 and 5 step ahead predictions, especially analyzing the > model results being returned. Do you think that would be useful? > > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Wed, Mar 26, 2014 at 7:12 AM, Dean Horak <[email protected]> wrote: > > Matt, > > > > Just viewed the Sine wave tutorial - great job. That helps explain the > > process a lot. > > > > Just one point of confusion however. Where did the nupic_output.py file > come > > from? I scanned the repository and don't see it anywhere. > > > > Thanks, > > Dean > > > > > > > > On Mon, Mar 24, 2014 at 5:17 PM, Matthew Taylor <[email protected]> > wrote: > >> > >> Subutai said that the ScalarEncoder should do better than the > >> AdaptiveScalarEncoder. And the RDSE will probably be the same as the > Scalar. > >> Apparently, there are some manual things that need to be done in order > to > >> allow the swarm process to include the RDSE in the pso parameters. > >> > >> --------- > >> Matt Taylor > >> OS Community Flag-Bearer > >> Numenta > >> > >> > >> On Mon, Mar 24, 2014 at 3:02 PM, Chetan Surpur <[email protected]> > wrote: > >>> > >>> My guess is that since the sine wave has a fixed range, the > ScalarEncoder > >>> would work as well or better than the AdaptiveScalarEncoder. > >>> > >>> As for the RDSE, I believe you also need to specify the 'resolution' > >>> parameter (also, a couple of the parameters you specified are not > >>> necessary). > >>> > >>> > >>> On Mon, Mar 24, 2014 at 2:56 PM, Matthew Taylor <[email protected]> > wrote: > >>>> > >>>> Yes, the swarm picked a ScalarEncoder, but I wonder why it didn't pick > >>>> the AdaptiveScalarEncoder or the RDSE. I'm not very familiar with > swarms, so > >>>> I'm not sure. When I tried to replace the "ScalarEncoder" in the > >>>> model_params.py file with "RandomDistributedScalarEncoder", I got this > >>>> message: > >>>> > >>>> Error in constructing RandomDistributedScalarEncoder encoder. Possibly > >>>> missing some required constructor parameters. Parameters that were > provided > >>>> are: {'maxval': 1.0, 'name': 'sine', 'minval': -1.0, 'clipInput': > True, 'n': > >>>> 427, 'w': 21} > >>>> > >>>> It worked ok when I used "AdaptiveScalarEncoder", however, so this > makes > >>>> me wonder if the swarming process will include the RDSE as a > possibility or > >>>> not? > >>>> > >>>> --------- > >>>> Matt Taylor > >>>> OS Community Flag-Bearer > >>>> Numenta > >>>> > >>>> > >>>> On Mon, Mar 24, 2014 at 2:01 PM, Fergal Byrne > >>>> <[email protected]> wrote: > >>>>> > >>>>> Great question Hideaki. I have a feeling it's using the old scalar > >>>>> encoder, which only has a small number of SDR's. It'd be interesting > to > >>>>> re-run that with the RDSE set to a finer resolution (Chetan?). > >>>>> > >>>>> Regards > >>>>> Fergal Byrne > >>>>> > >>>>> > >>>>> On Mon, Mar 24, 2014 at 8:42 PM, Hideaki Suzuki <[email protected]> > >>>>> wrote: > >>>>>> > >>>>>> Thank you Matt, > >>>>>> This is a really cool tutorial! > >>>>>> > >>>>>> I was wondering what was causing prediction gaps and what can bring > >>>>>> better precision... turning off/down SP boosting? Anyway, that is > a > >>>>>> different issue. > >>>>>> > >>>>>> The screencast is definitely easy to understand for me. Nice. :) > >>>>>> > >>>>>> > >>>>>> > >>>>>> 2014-03-21 11:41 GMT+09:00 Matthew Taylor <[email protected]>: > >>>>>>> > >>>>>>> Subutai and I have been working on some examples of using NuPIC to > >>>>>>> predict sine waves, which is a common task NuPIC newbies attempt > when > >>>>>>> experimenting. > >>>>>>> > >>>>>>> He has put together an example that walks through several examples > of > >>>>>>> swarming with sine wave data step by step: > >>>>>>> > >>>>>>> > https://github.com/subutai/nupic.subutai/tree/master/swarm_examples > >>>>>>> > >>>>>>> And I have created a screencast that goes over programmatic > swarming > >>>>>>> and model creating using sine data: > >>>>>>> > >>>>>>> http://www.youtube.com/watch?v=KuFfm3ncEwI > >>>>>>> > >>>>>>> I hope this helps some of you trying to figure out different ways > of > >>>>>>> using NuPIC. Enjoy! > >>>>>>> > >>>>>>> --------- > >>>>>>> Matt Taylor > >>>>>>> OS Community Flag-Bearer > >>>>>>> Numenta > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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 > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> > >>>>> Fergal Byrne, Brenter IT > >>>>> > >>>>> http://inbits.com - Better Living through Thoughtful Technology > >>>>> http://ie.linkedin.com/in/fergbyrne/ > >>>>> https://github.com/fergalbyrne > >>>>> > >>>>> e:[email protected] t:+353 83 4214179 > >>>>> Formerly of Adnet [email protected] http://www.adnet.ie > >>>>> > >>>>> _______________________________________________ > >>>>> 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 > >>> > >> > >> > >> _______________________________________________ > >> 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 >
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
