run_surrogate_rendering.sh 921 B

1234567891011121314151617181920212223242526272829
  1. #! /bin/bash
  2. # default param
  3. ILS=10000
  4. LS=100
  5. SS=50
  6. LENGTH=32 # number of features
  7. POP=100
  8. ORDER=2
  9. TRAIN_EVERY=50
  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,6,7,8,9,10};
  13. for POP in {20,60,100};
  14. do
  15. for ORDER in {1,2,3};
  16. do
  17. for LS in {1000,5000,10000};
  18. do
  19. output="rendering-attributes-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}-RUN_${run}"
  20. echo "Run optim attributes using: ${output}"
  21. 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}
  22. done
  23. done
  24. done
  25. done