code: def setUp(self):
      study_configuration_json = {
          "goal": "MAXIMIZE",
          "maxTrials": 5,
          "maxParallelTrials": 1,
          "randomInitTrials": 1,
          "params": [
              {
                  "parameterName": "hidden2",
                  "type": "DISCRETE",
                  "feasiblePoints": "8, 16, 32, 64",
                  "scalingType": "LINEAR",
              },
              {
                  "parameterName": "optimizer",
                  "type": "CATEGORICAL",
                  "feasiblePoints": "sgd, adagrad, adam, ftrl",
                  "scalingType": "LINEAR",
              },
              {
                  "parameterName": "batch_normalization",
                  "type": "CATEGORICAL",
                  "feasiblePoints": "true, false",
                  "scalingType": "LINEAR",
              },
          ],
      }
      study_configuration = json.dumps(study_configuration_json)
      self.study = Study.create("GridSearchStudy", study_configuration)
      self.trials = []
  
file_path: advisor/advisor_server/suggestion/algorithm/grid_search_test.py
imports: import json
  from django.test import TestCase
  from suggestion.models import Study
  from suggestion.models import Trial
  from suggestion.algorithm.grid_search import GridSearchAlgorithm
label_desc: Use image node_id 1 for calling the GridSearchAlgorithmTest obj's underlying member method code with example usage: obj.setUp() without return types