Hi Guys, I'm still raising an error after I follow the readme instructions. After I install all dependencies change my .bashrc file to the following, and generate build files.
export NUPIC=~/nupic export NTA=$NUPIC/build/release export NTA_ROOTDIR=$NTA export PYTHONPATH=$PYTHONPATH:$NTA/lib/python2.7/site-packages I receive the following error: [ 0%] Building CXX object lang/py/support/CMakeFiles/libsupport.dir/NumpyVector.cpp.o [ 1%] Building CXX object nta/math/CMakeFiles/libmath.dir/SparseMatrixAlgorithms.cpp.o [ 2%] Building CXX object nta/algorithms/CMakeFiles/libalgorithms.dir/bit_history.cpp.o clang: error: no input files /bin/sh: -DNDEBUG: command not found clang: error: no input files /bin/sh: -fPIC: command not found make[2]: *** [lang/py/support/CMakeFiles/libsupport.dir/NumpyVector.cpp.o] Error 127 /bin/sh: -DNDEBUG: command not found make[1]: *** [lang/py/support/CMakeFiles/libsupport.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: -fPIC: command not found make[2]: *** [nta/math/CMakeFiles/libmath.dir/SparseMatrixAlgorithms.cpp.o] Error 127 make[2]: *** Waiting for unfinished jobs.... [ 3%] [ 4%] Building CXX object nta/algorithms/CMakeFiles/libalgorithms.dir/Cell.cpp.o Building CXX object nta/math/CMakeFiles/libmath.dir/stl_io.cpp.o clangclang: error: no input files : error: no input files /bin/sh: -DNDEBUG: command not found /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found /bin/sh: -fPIC: command not found make[2]: *** [nta/math/CMakeFiles/libmath.dir/stl_io.cpp.o] Error 127 make[2]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/Cell.cpp.o] Error 127 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [nta/math/CMakeFiles/libmath.dir/all] Error 2 clang: error: no input files /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found make[2]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/bit_history.cpp.o] Error 127 make[1]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/all] Error 2 make: *** [all] Error 2 Any idea why this is so? I understand we are planning to move towards a pip install. This would we be awesome. Wondering if I should just wait. Thanks, Matt On Thu, Apr 17, 2014 at 7:42 AM, <[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: Any examples of how to use NuPic for classification > (Rajesh Nikam) > 2. Re: 'Noise' in time (Scheele, Manuel) > 3. SP for clustering (Nicholas Mitri) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 17 Apr 2014 10:30:16 +0530 > From: Rajesh Nikam <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: Re: [nupic-discuss] Any examples of how to use NuPic for > classification > Message-ID: > < > ca+gxrddfypbc6cm3c20gh-tmhmuxesn8dcgzcr1uwk6fyfp...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi Mark, > > Thanks for update. > > Rajesh > > > On Tue, Apr 15, 2014 at 3:34 PM, Marek Otahal <[email protected]> > wrote: > > > Hi Rajesh, > > > > like Matt said. However, I'm working on some. You can achieve the goal by > > exercising the abilities of SP: assign a label to your data, train it. > and > > then predict the missing (label) value in testing. Use my > > https://github.com/numenta/nupic/pull/407 of that. > > > > I hope to come back later with an example. > > Cheers, Mark > > > > > > On Sat, Apr 5, 2014 at 1:15 PM, Rajesh Nikam <[email protected] > >wrote: > > > >> Hi NuPic, > >> > >> Do you have examples of how to use NuPic for classification ? > >> > >> Thanks, > >> Rajesh > >> > >> > >> > >> _______________________________________________ > >> nupic mailing list > >> [email protected] > >> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > >> > >> > > > > > > -- > > Marek Otahal :o) > > > > _______________________________________________ > > 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/20140417/47b34c4a/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Thu, 17 Apr 2014 09:26:39 +0000 > From: "Scheele, Manuel" <[email protected]> > To: NuPIC general mailing list. <[email protected]> > Subject: Re: [nupic-discuss] 'Noise' in time > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi guys, > > Thanks for the input. I was a bit worried why nobody had tried to answer > my question. Here are my thoughts on your responses: > > Julie says: > [..], I suspect that to account for noise in the duration of a particular > pattern, you would want to have a coarser grained aggregation of your input > values when swarming. There are aggregation params in the model (although I > can't remember ATM precisely what they're called). As long as the > aggregation is mostly covering the noise, I think this would work. > > This is an interesting solution. I will think about this, but currently I > see the problem of finding the right aggregation value. The ?noise? may > lead to a halt in the sequence of 10 steps (in which case aggregating 10 > steps would get rid of all noise) or of 1 step (in which case aggregating > 10 steps would lead to a loss of information). I am still thinking of the > input as a speech signal and having faster and slower speakers. > > Sergey says: > My understanding is that variability in what you refer to as "noise in the > time domain" is handled not by a region, but by the hierarchy. > > This was my thought as well. The problem is that the current NuPIC models > don?t feature hierarchy. CLAModel for example only features a SP, TP and > classifier. I have been meaning to find out how to build a proper network > with many layers of CLAModel instances, but haven?t had the time. I am > wondering about how the current NuPIC project would deal with it or whether > it can do it at all. > > BTW, if someone knows how to build larger networks or is interested in > building one with me, let me know ;) > > Regards, > Manuel > > > > From: nupic [mailto:[email protected]] On Behalf Of Sergey > Alexashenko > Sent: 16 April 2014 22:08 > To: NuPIC general mailing list. > Subject: Re: [nupic-discuss] 'Noise' in time > > Hello all, > > My understanding is that variability in what you refer to as "noise in the > time domain" is handled not by a region, but by the hierarchy. Consider the > following example: > > You are at a Gnarls Barkley concert. He is performing "Crazy". You know > the song very well and are familiar both with the lyrics and the pace of > it. However, you have learned the song by listening to the same recording > over and over again. > > Gnarls Barkley sings "I remember when, I remember, I remember when" and > you know that the sound to come is "I lost my mind". You also know when > that sound is supposed to enter your hearing. However, this being a live > show, Gnarls Barkley makes a pause slightly longer than the one you > remember from the recording. Here's what happens in your brain: > On some lower auditory level (A1?), the prediction of hearing the exact > sounds you were expecting is not correct. But on a layer slightly higher in > the hierarchy, there is awareness that you are at a Gnarls Barkley concert, > that he is singing Crazy and that the next words are "I lost my mind". As > such, the higher region, to which the exception is escalated, sends down > the same sensory prediction it was expecting a moment ago. It will do so > for a period of time until the anomaly is so large that you might suspect > that Gnarls Barkley has stopped singing for some reason. As such, when > Gnarls Barkley ends his pause, the lower region will get the sensory input > and the prediction from a higher region that match. > > Cheers, > > Sergey > > P.S. Sorry if this response gets sent twice, I used an email address, > which is not subscribed to the list in my first response. > > On Wed, Apr 16, 2014 at 12:40 PM, Julie Pitt <[email protected]<mailto: > [email protected]>> wrote: > A NuPIC novice myself, I suspect that to account for noise in the duration > of a particular pattern, you would want to have a coarser grained > aggregation of your input values when swarming. There are aggregation > params in the model (although I can't remember ATM precisely what they're > called). As long as the aggregation is mostly covering the noise, I think > this would work. > > Interestingly, in How to Create a Mind, Ray Kurzweil discusses the problem > of variation in duration of an input pattern, using speech sounds as an > example. His model is a bit different from CLA/HTM, and he models inputs > with an expected range for the duration. > > On Tue, Apr 8, 2014 at 1:28 AM, Scheele, Manuel < > [email protected]<mailto:[email protected]>> > wrote: > Hi all, > > I have been semi-successful with learning sequences and recognising noisy > versions of them using NuPIC. > > But now I am curious about something else. What if the noise is not in the > sequence values (i.e. [1, 3, 4] plus noise becomes [1.1, 2.9, 4.05]) but in > the 'time domain' (i.e. [1, 1, 2, 2, 5, 5, 5] plus noise becomes [1, 1, 1, > 2, 5, 5]) meaning where the transitions between sequence values are the > same but the 'time' spend in one sequence state varies? > > This happens, for example, when we speak: we we spend different amounts of > time in different parts of a word depending on the speed of our speech. > Does the TP deal with this? How can I see if NuPIC can deal with this sort > of problem and if so, how well? > > Regards, > Manuel > _______________________________________________ > nupic mailing list > [email protected]<mailto:[email protected]> > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > _______________________________________________ > nupic mailing list > [email protected]<mailto:[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/20140417/954900e8/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Thu, 17 Apr 2014 17:41:45 +0300 > From: Nicholas Mitri <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: [nupic-discuss] SP for clustering > Message-ID: <[email protected]> > Content-Type: text/plain; charset="windows-1252" > > Hello all. > > I just completed a rough draft (and by rough I mean rough!) of a document > on evaluating the spatial pooler as a clustering algorithm. > I?m attaching the document here for your thoughts or in case anyone is > interested. > Please excuse any inaccuracies or typos. I?ll refine it on the second pass > before considering adding it to my thesis. > > best, > Nick > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Spatial Pooler.pdf > Type: application/pdf > Size: 846832 bytes > Desc: not available > URL: < > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20140417/77fab591/attachment.pdf > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > ------------------------------ > > End of nupic Digest, Vol 12, Issue 52 > ************************************* > -- 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
