run_surrogate_rendering.sh 821 B

12345678910111213141516171819202122232425262728
  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 POP in {20,60,100};
  13. do
  14. for ORDER in {2,3};
  15. do
  16. for LS in {1000,5000,10000};
  17. do
  18. output="rendering-attributes-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}"
  19. echo "Run optim attributes using: ${output}"
  20. python find_best_attributes_surrogate.py --data ${DATASET} --start_surrogate ${SS} --length 30 --ils ${ILS} --ls ${LS} --pop ${POP} --order ${ORDER} --train_every ${TRAIN_EVERY} --output ${output}
  21. done
  22. done
  23. done