run_surrogate_rendering.sh 912 B

123456789101112131415161718192021222324252627282930
  1. #! /bin/bash
  2. # default param
  3. ILS=1000
  4. LS=100
  5. SS=50
  6. LENGTH=32 # number of features
  7. POP=20
  8. ORDER=2
  9. TRAIN_EVERY=10
  10. #output="rendering-attributes-ILS_${ILS}-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}"
  11. DATASET="rnn/data/datasets/features-selection-rendering-scaled/features-selection-rendering-scaled"
  12. for run in {1,2,3,4,5};
  13. do
  14. # for POP in {20,60,100};
  15. # do
  16. for ORDER in {1,2};
  17. do
  18. for LS in {100,500,1000};
  19. do
  20. output="rendering-attributes-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}-RUN_${run}"
  21. echo "Run optim attributes using: ${output}"
  22. python find_best_attributes_surrogate.py --data ${DATASET} --start_surrogate ${SS} --length 32 --ils ${ILS} --ls ${LS} --pop ${POP} --order ${ORDER} --train_every ${TRAIN_EVERY} --output ${output}
  23. done
  24. done
  25. # done
  26. done