parameters: (self)
return_statement: return parameters
docstring: Computes list of parameter objects from list of hyperparameter
          combinations, which is needed for initializing a Study.
          
          Returns:
              list: List of Parameter objects.
docstring_summary: Computes list of parameter objects from list of hyperparameter
          combinations, which is needed for initializing a Study.
          
          Returns:
              list: List of Parameter objects.
docstring_tokens: Computes list of parameter objects from list of hyperparameter combinations which is needed for initializing a Study . Returns : list : List of Parameter objects .
function: def get_parameters(self):
          """
          Computes list of parameter objects from list of hyperparameter
          combinations, which is needed for initializing a Study.
          
          Returns:
              list: List of Parameter objects.
          """
          parameters = []
          keys = self.hp_iter[0].keys()
          for pname in keys:
              # Get unique values of this (possibly unhashable) parameter.
              prange = []
              for i,hp in enumerate(self.hp_iter):
                  if pname not in hp:
                      raise Exception('Parameter {} not found in list item {}.'.format(pname, i))
                  value = hp[pname]
                  if value not in prange:
                      prange.append(value)
              p = sherpa.Parameter.from_dict({'name': pname,
                                       'type': 'choice',
                                       'range': prange})
              parameters.append(p)
          return parameters
function_tokens: def get_parameters ( self ) : parameters = [ ] keys = self . hp_iter [ 0 ] . keys ( ) for pname in keys : # Get unique values of this (possibly unhashable) parameter. prange = [ ] for i , hp in enumerate ( self . hp_iter ) : if pname not in hp : raise Exception ( 'Parameter {} not found in list item {}.' . format ( pname , i ) ) value = hp [ pname ] if value not in prange : prange . append ( value ) p = sherpa . Parameter . from_dict ( { 'name' : pname , 'type' : 'choice' , 'range' : prange } ) parameters . append ( p ) return parameters