Created
December 2, 2012 20:00
-
-
Save hannic/4190744 to your computer and use it in GitHub Desktop.
train kernel (libsvm) - requires distances, ids, script used to run on an academic cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#$ -M [email protected] | |
#$ -m a | |
#$ -l h_cpu=16:00:00 | |
#$ -l scratch=1,scratch_size=4G,scratch_files=1000 | |
#$ -l h_vmem=4G | |
#$ -t 1-31 | |
cd /home/userdir/ProjectDir/distances | |
gamma_exponent =$( echo $SGE_TASK_ID -16 | bc -l) | |
ruby txt2krnl.rb trainset-ed id.txt $gamma_exponent > train-g$gamma_exponent.krnl | |
echo $SGE_TASK_ID | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment