code: def random_sample_from_euclidean_domain(
      bounds, num_samples, sample_type="rand"
  ):
      """Samples from a Euclidean Domain."""
      if sample_type == "rand":
          ret = map_to_bounds(
              np.random.random((int(num_samples), len(bounds))), bounds
          )
      elif sample_type == "latin_hc":
          ret = map_to_bounds(
              latin_hc_sampling(len(bounds), num_samples), bounds
          )
      else:
          raise ValueError("Unknown sample_type %s." % (sample_type))
      return list(ret)
  
imports: from __future__ import print_function
  from __future__ import division
  from argparse import Namespace
  from datetime import datetime
  from warnings import warn
  import os
  import numpy
  from .general_utils import map_to_bounds
  from .doo import DOOFunction, pdoo_wrap
label_desc: Use image node_id 13 for calling a global function with example usage: random_sample_from_euclidean_domain(bounds, num_samples, sample_type) and returns: list