mkdir -p $NUPIC/build/scripts
cd $NUPIC/build/scripts
cmake $NUPIC
make -j2

If you don't run cmake from within the "build/scripts" directory, I'm
not sure it will build correctly.
---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Fri, Apr 11, 2014 at 9:50 AM, Julie Pitt <[email protected]> wrote:
> Are these the correct commands to re-build on mac?
>
>>  cmake $NUPIC
>>  make -j2
>
> I just pulled nupic and ran the above commands in the nupic/ directory. I
> tried the run swarm again and got the exact same error.
>
>
> On Thu, Apr 10, 2014 at 5:59 PM, Julie Pitt <[email protected]> wrote:
>>
>> Will do. I violated rule #1: always check out and build the latest code
>> before complaining :)
>>
>> If anyone has answers to my 3 questions below, that would be helpful.
>>
>>
>> On Thursday, April 10, 2014, Matthew Taylor <[email protected]> wrote:
>>>
>>> Julie, I recently fixed a bug in swarming:
>>>
>>> https://github.com/numenta/nupic/pull/793
>>>
>>> Please make sure your codebase has this fix and try again?
>>> ---------
>>> Matt Taylor
>>> OS Community Flag-Bearer
>>> Numenta
>>>
>>>
>>> On Thu, Apr 10, 2014 at 4:10 PM, Julie Pitt <[email protected]> wrote:
>>> > I am probably missing something obvious (working on the URL example). I
>>> > am
>>> > trying to swarm over my browsing history. The search_def is here.
>>> >
>>> > Sorry I didn't include my data file, but I don't feel like posting my
>>> > browsing history on the internet. If you're curious, you can harvest
>>> > the
>>> > data yourself if you use Chrome/Mac by following the README. I get this
>>> > error when I try to swarm:
>>> >
>>> > Traceback (most recent call last):
>>> >   File "/Users/julie/github/nupic/nta/eng/bin/run_swarm.py", line 29,
>>> > in
>>> > <module>
>>> >     permutations_runner.main()
>>> >   File
>>> >
>>> > "/Users/julie/github/nupic/nta/eng/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py",
>>> > line 126, in main
>>> >     return runPermutations(sys.argv[1:])
>>> >   File
>>> >
>>> > "/Users/julie/github/nupic/nta/eng/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py",
>>> > line 418, in runPermutations
>>> >     metricsKeys=search.getDiscoveredMetricsKeys())
>>> >   File
>>> >
>>> > "/Users/julie/github/nupic/nta/eng/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py",
>>> > line 902, in generateReport
>>> >     bestModelNum = results['bestModel']
>>> > KeyError: 'bestModel'
>>> >
>>> > Is there something obvious I'm doing wrong?
>>> >
>>> > Other questions I have are:
>>> >
>>> > 1. There are 11 fields in the swarm. Is that too much?
>>> > 2. In many cases, there is no value for one or more fields (e.g., there
>>> > is
>>> > no subdomain, or if the URL has an IP, there is no TLD). Is this a
>>> > problem?
>>> > 3. I want to predict the URL from the other fields, so I made 'url' the
>>> > predicted field. Unfortunately I can't make it a predicted field
>>> > without
>>> > also making it an input to the model. Is that expected? I'm wondering
>>> > if the
>>> > presence of the entire URL in the SDR will mess up the prediction.
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > 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

Reply via email to