Hi Kevin, Thank you. I modified the cpu example in the nupic code base. I used pygame to create a basic game display that pulls events and feeds them into nupic. If you look at the runGame() function specifically:
for event in pygame.event.get(): This for loop iterates through each event the user commands. For example you can 'print event' or 'print direction' to see events displayed to the console. I am trying to think of other uses nupic might be able to do in creating game intelligence. Any ideas? Thank you! Matt On Sun, Mar 9, 2014 at 8:59 PM, <[email protected]> wrote: > Send nupic mailing list submissions to > [email protected] > > To subscribe or unsubscribe, visit > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of nupic digest..." > > > Today's Topics: > > 1. Re: Simple Game Event Prediction (Kevin Martin) > 2. Installing new nupic (Kevin Martin) > 3. Re: Installing new nupic (David Ragazzi) > 4. nupic-digitrecognizer (Traun Leyden) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 9 Mar 2014 16:05:45 +0530 > From: Kevin Martin <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: Re: [nupic-discuss] Simple Game Event Prediction > Message-ID: > <CAJisb+nWPSS= > [email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > This is good news. Some of us have been discussing about bringing nupic to > predict game events. Can u specify which is the cpu example you modified? > Is it in the examples folder of the nupic code base? > > > On Sat, Mar 8, 2014 at 10:54 AM, Matt Roesener <[email protected]> > wrote: > > > Hi everyone, > > > > I've been following the Nupic community for sometime, this is my first > > post. > > > > I wanted to share some of my work. I modified the cpu example and created > > a simple game that takes in user input such as up, down, right and left > > keys and feeds these events into nupic. > > > > The idea is for nupic to learn and predict future events. I want to build > > on top of this overtime to create more sophisticated game events, bad guy > > moves, boundaries, etc.. > > > > I wanted to make sure my code is working correctly, specifically in terms > > of the model input and inference, as well as the correct encoders. Below > is > > my code. > > > > Thank you! I've learned so much from just reading and experimenting with > > everyones code and ideas! > > > > https://github.com/roesenerm/nupicGame.git > > > > Matt > > > > > > > > > > _______________________________________________ > > nupic mailing list > > [email protected] > > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20140309/c0b82723/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sun, 9 Mar 2014 16:31:11 +0530 > From: Kevin Martin <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: [nupic-discuss] Installing new nupic > Message-ID: > <CAJisb+=Bf8nNH4yAWNqd=9kLcxzpACDTER=ssa27CY= > [email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > I installed nupic before the build process was moved to cmake. If I want to > use the new version, should I remove the old nupic and build again from the > newly cloned repo? In any case, is there a way to remove nupic completely > (make uninstall did not work)? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20140309/16c22c9c/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Sun, 9 Mar 2014 10:26:18 -0300 > From: David Ragazzi <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: Re: [nupic-discuss] Installing new nupic > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hi Kevin, > > It is not necessary remove old build system.. Although this is > recomendable to leave your repo clean.. > > There's no "make uninstall", our ittention is having a folder called > "build" which will contain the scripts (make files or IDE) and the binaries > generated. So you wish remove Nupic, it's just remove the repo folder > entirely. > > I hope have help you.. :-) > > David > Ps: Also there's no "make clean", everytime you run Cmake, it cleans $NTA > (in future will be "build/release"), and temp folder. > > Sent from my iPhone > > > On 09/03/2014, at 08:01, Kevin Martin <[email protected]> > wrote: > > > > I installed nupic before the build process was moved to cmake. If I want > to use the new version, should I remove the old nupic and build again from > the newly cloned repo? In any case, is there a way to remove nupic > completely (make uninstall did not work)? > > _______________________________________________ > > nupic mailing list > > [email protected] > > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > > ------------------------------ > > Message: 4 > Date: Sun, 9 Mar 2014 12:27:08 -0700 > From: Traun Leyden <[email protected]> > To: [email protected] > Subject: [nupic-discuss] nupic-digitrecognizer > Message-ID: > < > cacsshcf89f80kho6ruagthzbhm2vbtww7execqzcbwgrkqi...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I created a simple example to recognize digits using the spatial pooler, > it's available on github here: > > https://github.com/tleyden/nupic-digitrecognizer > > It was able to get exact matches with SDR's, and I didn't need to use the > KNNClassifier. Having said that, the test data was relatively "easy", in > that I just went through the training data and removed a few pixels. > > However when I tried to recognize a digit that's been entirely shifted to > the right by a few pixels > (original<http://cl.ly/image/2G1D1U3f2u16/0-original.png> > - shifted <http://cl.ly/image/2S3f3B0e0M3I/0-shifted.png>) it wasn't able > to find a match. > > What are some suggested approaches to add spatial invariance so it can > handle this? > > I did see this mailing list > thread< > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000538.html > > > but > so far no simple answer has jumped out at me. > > Also thanks to all the folks who responded to my questions, those were > useful pointers. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20140309/cbbf772f/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > ------------------------------ > > End of nupic Digest, Vol 11, Issue 17 > ************************************* > -- Regards, Matthew W. Roesener Tel: +808.542.9978 Email: [email protected] LinkedIn: http://www.linkedin.com/in/matthewroesener
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
