docstr: Here we configure some shortcut names for hyperparameters that we expect to use frequently.
  Essentially anything in the preset file can be overridden through a hyperparameter with a name
  like "rl.agent_params.algorithm.etc".
docstr_tok: ["Here","we","configure","some","shortcut","names","for","hyperparameters","that","we","expect","to","use","frequently",".","Essentially","anything","in","the","preset","file","can","be","overridden","through","a","hyperparameter","with","a","name","like","``","rl.agent_params.algorithm.etc","''","."]
code: def map_hyperparameter(self, name, value):
      """Here we configure some shortcut names for hyperparameters that we expect to use frequently.
      Essentially anything in the preset file can be overridden through a hyperparameter with a name
      like "rl.agent_params.algorithm.etc".
      """
      # maps from alias (key) to fully qualified coach parameter (value)
      mapping = {
          "discount": "rl.agent_params.algorithm.discount",
          "evaluation_episodes": "rl.evaluation_steps:EnvironmentEpisodes",
          "improve_steps": "rl.improve_steps:TrainingSteps",
      }
      if name in mapping:
          self.apply_hyperparameter(mapping[name], value)
      else:
          super().map_hyperparameter(name, value)
  
imports: from sagemaker_rl.coach_launcher import SageMakerCoachPresetLauncher
label_desc: Use image node_id 2 for calling the MyLauncher obj's underlying member method code with example usage: obj.map_hyperparameter(name, value) without return types