class_docstr: Holds the param-space coordinates (X) and target values (Y)
  
  Parameters
  ----------
  pbounds : dict
      Dictionary with parameters names and legal values.
  
  random_state : int, RandomState, or None
      optionally specify a seed for a random number generator, by default None.
class_docstr_tok: ["Holds","the","param-space","coordinates","(","X",")","and","target","values","(","Y",")","Parameters","--","--","--","--","--","pbounds",":","dict","Dictionary","with","parameters","names","and","legal","values",".","random_state",":","int",",","RandomState",",","or","None","optionally","specify","a","seed","for","a","random","number","generator",",","by","default","None","."]
docstr: Get maximum target value found and its corresponding parameters.
  
  Returns
  -------
  dict
      target value and parameters, empty dict if nothing registered
docstr_tok: ["Get","maximum","target","value","found","and","its","corresponding","parameters",".","Returns","--","--","--","-","dict","target","value","and","parameters",",","empty","dict","if","nothing","registered"]
code: def max(self):
      """
      Get maximum target value found and its corresponding parameters.
  
      Returns
      -------
      dict
          target value and parameters, empty dict if nothing registered
      """
      try:
          res = {
              "target": self.target.max(),
              "params": dict(
                  zip(self.keys, self.params[self.target.argmax()])
              ),
          }
      except ValueError:
          res = {}
      return res
  
file_path: nni/nni/algorithms/hpo/gp_tuner/target_space.py
imports: import numpy
  import nni.parameter_expressions
label_desc: Use image node_id 13 for calling the TargetSpace obj's underlying member method code with example usage: obj.max() and returns: res