Introduction Most of the time when doing a tedious hyperparameter studies in neural network or other ML method that not strongly supported by by sklearn or not the way written in sklearn. Usually a simple fix for grid search can be done using bash script. The framework of bash for hyperparameter tunning is simply copying files and folders for each case and running each cases with specific command line argument list. Things will be discussed here:
For loop Usually we want to loop over a list of string, such as number of hidden units, method of ML to use, etc. Bash script: loop over string
Pause Bash script: pause program waiting for prompt
Kill all python processes Code Editor
|
AuthorShaowu Pan Archives
December 2017
Categories
All
|