Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. objectives=""
  4. objectives="${objectives} precision"
  5. objectives="${objectives} precision_feature"
  6. objectives="${objectives} precision_georisk"
  7. objectives="${objectives} feature_georisk"
  8. objectives="${objectives} precision_feature_georisk"
  9.  
  10. for base in 3 #4
  11. do
  12.     for i in 1 #2 3 4 5
  13.     do
  14.         for objective in ${objectives}
  15.         do
  16.             for stat_test in 0 1
  17.             do
  18.                 if [ ${objective} == "feature_georisk" ] && [ ${stat_test} == 1 ]
  19.                 then
  20.                     continue
  21.                 else
  22.                     echo "TD200${base} FOLD ${i}"
  23.                     echo "SPEA2 ${objective} ${stat_test}"
  24.                     #echo "GA/spea2/main.rb config.json ${i} 200${base}_td_dataset ${objective} ${stat_test}"
  25.                     ruby GA/spea2/main.rb config.json ${i} 200${base}_td_dataset ${objective} ${stat_test}
  26.  
  27.                     echo "TD200${base} FOLD ${i}"
  28.                     echo "NSGAII ${objective} ${stat_test}"
  29.                     #echo "GA/nsgaii/main.rb config.json ${i} 200${base}_td_dataset ${objective} ${stat_test}"
  30.                     ruby GA/nsgaii/main.rb config.json ${i} 200${base}_td_dataset ${objective} ${stat_test}
  31.                 fi
  32.             done
  33.         done
  34.     done
  35. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement