code: def from_random(
      cls,
      dimension: int,
      random_state: Optional[np.random.RandomState] = None,
  ) -> "Rotation":
      if random_state is None:
          random_state = np.random  # type: ignore
      return cls(
          np.linalg.qr(
              random_state.normal(0, 1, size=(dimension, dimension))
          )[0]
      )
  
imports: from typing import List, Callable, Optional
  from math import exp, sqrt
  import numpy
label_desc: Use image node_id 3 for calling the Rotation obj's underlying member method code with example usage: obj.from_random(cls, dimension, random_state) and returns: cls