class_docstr: Class determine the main operations for parameters search
  like finding all changing parameters.
  
  Args:
      prefix: prefix to determine special keys like "`prefix`_range", "`prefix`_bool", "`prefix`_choice"
      seed: random seed for initialization
      **kwargs: basic config with parameters
  
  Attributes:
      basic_config: dictionary with initial config with possible values of searched parameters
      prefix: prefix to determine special keys like "`prefix`_range", "`prefix`_bool", "`prefix`_choice"
      paths_to_params: list of lists of keys and/or integers (for list)
              with relative paths to searched parameters
      n_params: number of searched parameters
      eps: threshold value
docstr: Randomly initialize all the changable parameters in config
  
  Args:
      basic_config: config where changable parameters are dictionaries with keys
          ``prefix`_range`, ``prefix`_bool`, ``prefix`_choice`
      paths: list of paths to changable parameters
  
  Returns:
      config
docstr_tok: ["Randomly","initialize","all","the","changable","parameters","in","config","Args",":","basic_config",":","config","where","changable","parameters","are","dictionaries","with","keys","``","prefix","`","_range","`",",","``","prefix","`","_bool","`",",","``","prefix","`","_choice","`","paths",":","list","of","paths","to","changable","parameters","Returns",":","config"]
code: def initialize_params_in_config(
      self, basic_config: dict, paths: List[list]
  ) -> dict:
      """
      Randomly initialize all the changable parameters in config
  
      Args:
          basic_config: config where changable parameters are dictionaries with keys
              ``prefix`_range`, ``prefix`_bool`, ``prefix`_choice`
          paths: list of paths to changable parameters
  
      Returns:
          config
      """
      config = deepcopy(basic_config)
      for path_ in paths:
          param_name = path_[-1]
          value = self.get_value_from_config(basic_config, path_)
          if isinstance(value, dict):
              if (
                  value.get(self.prefix + "_choice")
                  or value.get(self.prefix + "_range")
                  or value.get(self.prefix + "_bool")
              ):
                  self.insert_value_or_dict_into_config(
                      config,
                      path_,
                      self.sample_params(
                          **{param_name: deepcopy(value)}
                      )[param_name],
                  )
  
      return config
  
file_path: DeepPavlov/deeppavlov/core/common/params_search.py
imports: import random
  from copy import deepcopy
  from logging import getLogger
  from typing import List, Generator, Any, Tuple
  import numpy
  from deeppavlov.core.common.registry import register
label_desc: Use image node_id 6 for calling the ParamsSearch obj's underlying member method code with example usage: obj.initialize_params_in_config(basic_config, paths) and returns: config