Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
everyday-eye-movements-predict-personality/02_train_specialized_classifiers.shGo to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains 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
|n_parallel_jobs=6 # number of jobs that will be run in parallel|
|for li in $(seq 0 $n_parallel_jobs $n_total_jobs);|
|# the for loop will start n_parallel_jobs for each trait|
|# unless n_total_jobs will be reached first (this is checked in the if statementc)|
|mi=`expr "$li" + "$n_parallel_jobs"`|
|if [ "$mi" -gt "$n_total_jobs" ]|
|for t in $(seq 0 6);|
|for a in 1 2; do|
|python2.7 -m classifiers.train_classifier -t $t -s 0 -a $a -l $li -m $mi|