Run Experiment Grid Search

Submit user generated hyperparameters as an experiment.

Submit a user generated hyperparameter as an experiment:
  1. Use the following rest command to submit a user generated hyperparameter as an experiment:
    POST: platform/rest/deeplearning/v1/hypersearch/
    curl -k -X POST -H 'Authorization: Bearer <jwttoken>' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    --data ?<your model hyper parameter body>? \
    'https://${wmla-console-route}/platform/rest/deeplearning/v1/hypersearch
  2. Add experiments when submitting a task by specifying the search algorithm ExperimentGridSearch and adding experiments to the rest body in the following format:
    
       'algoDef':
           {
              'algorithm': 'ExperimentGridSearch',      
    'maxJobNum': 1,
    },
       'experiments':[ 
           {
                  'id': 1,
                  "hyperParams": [
                        { "dataType": "double",
                          "fixedVal": "0.01",
                          "name": "base_lr"}
                   ]
           },
           …
    The maxJobNum value set by user will be reset as the size of the experiments if maxJobNum is bigger or -1.