class_docstr: Discrete randomly sampled Hyper-Parameter object.
class_docstr_tok: ["Discrete","randomly","sampled","Hyper-Parameter","object","."]
docstr: Uniformly sample values form a list of discrete options (combinations) of parameters.
  
  :param list parameter_combinations: The list/tuple of valid parameter combinations.
  
      For example, two combinations with three specific parameters per combination:
  
      .. code-block:: javascript
  
         [ {"opt1": 10, "arg2": 20, "arg2": 30},
           {"opt2": 11, "arg2": 22, "arg2": 33} ]
  
      Two complex combination each one sampled from a different range:
  
      .. code-block:: javascript
  
         [ {"opt1": UniformParameterRange('arg1',0,1) , "arg2": 20},
           {"opt2": UniformParameterRange('arg1',11,12), "arg2": 22},]
docstr_tok: ["Uniformly","sample","values","form","a","list","of","discrete","options","(","combinations",")","of","parameters",".",":","param","list","parameter_combinations",":","The","list\/tuple","of","valid","parameter","combinations",".","For","example",",","two","combinations","with","three","specific","parameters","per","combination",":","..","code-block",":",":","javascript","[","{","``","opt1","''",":","10",",","``","arg2","''",":","20",",","``","arg2","''",":","30","}",",","{","``","opt2","''",":","11",",","``","arg2","''",":","22",",","``","arg2","''",":","33","}","]","Two","complex","combination","each","one","sampled","from","a","different","range",":","..","code-block",":",":","javascript","[","{","``","opt1","''",":","UniformParameterRange","(","'arg1',0,1",")",",","``","arg2","''",":","20","}",",","{","``","opt2","''",":","UniformParameterRange","(","'arg1',11,12",")",",","``","arg2","''",":","22","}",",","]"]
code: def __init__(self, parameter_combinations=()):
      # type: (Sequence[Mapping[str, Union[float, int, str, Parameter]]]) -> ()
      """
      Uniformly sample values form a list of discrete options (combinations) of parameters.
  
      :param list parameter_combinations: The list/tuple of valid parameter combinations.
  
          For example, two combinations with three specific parameters per combination:
  
          .. code-block:: javascript
  
             [ {"opt1": 10, "arg2": 20, "arg2": 30},
               {"opt2": 11, "arg2": 22, "arg2": 33} ]
  
          Two complex combination each one sampled from a different range:
  
          .. code-block:: javascript
  
             [ {"opt1": UniformParameterRange('arg1',0,1) , "arg2": 20},
               {"opt2": UniformParameterRange('arg1',11,12), "arg2": 22},]
      """
      super(ParameterSet, self).__init__(name=None)
      self.values = parameter_combinations
  
imports: import sys
  from itertools import product
  from random import Random
  from typing import Mapping, Any, Sequence, Optional, Union
label_desc: Use image node_id 1 to create a new ParameterSet object from inherited base classes: Parameter with example: obj = ParameterSet(parameter_combinations)