code: def random_scaling(min, max, prng=DEFAULT_PRNG):
      """Construct a random 2D scale matrix between -max and max.
      Args
          min:  a 2D vector containing the minimum scaling factor for X and Y.
          min:  a 2D vector containing The maximum scaling factor for X and Y.
          prng: the pseudo-random number generator to use.
      Returns
          a homogeneous 3 by 3 scaling matrix
      """
      return scaling(_random_vector(min, max, prng))
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/utils/transform.py
imports: import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: random_scaling(min, max, prng) and returns: scaling