Skip to content

Commit

Permalink
tweaks for fvec pca
Browse files Browse the repository at this point in the history
  • Loading branch information
spennihana committed Oct 29, 2013
1 parent c61ad1e commit bfe92f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bench/BMscripts/pcaBench.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ def doPCA(f, folderPath):

kwargs = params.copy()
pcaStart = time.time()
pcaResult = h2o_cmd.runPCA(parseResult = parseResult,
h2o.beta_features = True
pcaResult = h2o_cmd.runPCA(parseResult = parseResult, noPoll = True
timeoutSecs = 7200,
**kwargs)

h2j.pollWaitJobs(timeoutSecs=4800, pollTimeoutSecs=4800, retryDelaySecs=2)
pcaTime = time.time() - pcaStart
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
#stop all loggers
Expand Down
2 changes: 1 addition & 1 deletion bench/startloggers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function deepClean {
pids2=`echo ps -efww | grep h2o | grep 0xdiag| grep jar|awk '{print $2}' | xargs`
ssh spencer@$i kill $pids2
echo "Shredding all logs on machine $i"
ssh spencer@$i rm -rf /home/spencer/h2o/bench/BMLogs/starttime /home/spencer/h2o/bench/BMLogs/BigLogger* /home/spencer/h2o/bench/BMLogs/LittleLogger*
ssh spencer@$i rm -rf /home/spencer/h2o/bench/BMLogs/starttime /home/spencer/h2o/bench/BMLogs/BigLogger* /home/spencer/h2o/bench/BMLogs/LittleLogger* /home/spencer/h2o/bench/BMLogs/rawLogs
done
}

Expand Down

0 comments on commit bfe92f2

Please sign in to comment.