class_docstr: A recipe involves both grid search and random search, only for LSTM.
code: def search_space(self):
      return {
          "model": "LSTM",
          # --------- Vanilla LSTM model parameters
          "lstm_1_units": self.lstm_1_units_config,
          "dropout_1": 0.2,
          "lstm_2_units": self.lstm_2_units_config,
          "dropout_2": self.dropout_2_config,
          # ----------- optimization parameters
          "lr": self.lr,
          "batch_size": self.batch_size,
          "epochs": self.epochs,
          "past_seq_len": self.past_seq_config,
      }
  
imports: from zoo.chronos.autots.deprecated.config.base import Recipe
  from zoo.orca.automl import hp
  from zoo.chronos.utils import deprecated
label_desc: Use image node_id 2 for calling the LSTMGridRandomRecipe obj's underlying member method code with example usage: obj.search_space() and returns: dict