class_docstr: Random proposer
  
  :param config: experiment configuration contains the details searching space
  :param random_seed: default random seed if not in config
class_docstr_tok: ["Random","proposer",":","param","config",":","experiment","configuration","contains","the","details","searching","space",":","param","random_seed",":","default","random","seed","if","not","in","config"]
code: def __init__(self, config, random_seed=0):
      super(RandomProposer, self).__init__(config)
      self.verify_config(config)
      self.nSamples = config["n_samples"]
      set_default_keyvalue(
          "random_seed", random_seed, config, log=logger
      )
      random.seed(config["random_seed"])
      self.random_state = None  # for suspend and resume
      self.params_gen = {}
      for param in config["parameter_config"]:
          p = self.parse_param_config(param)
          self.params_gen[p["name"]] = _random_fun[p["type"]](
              p["range"]
          )
  
file_path: auptimizer/src/aup/Proposer/RandomProposer.py
imports: import logging
  from numpy import random
  from six.moves import input
  from .AbstractProposer import AbstractProposer
  from ..utils import check_missing_key, set_default_keyvalue
label_desc: Use image node_id 1 to create a new RandomProposer object from inherited base classes: AbstractProposer with example: obj = RandomProposer(config, random_seed)