athena.active.ActiveSubspaces._hit_and_run_inactive

ActiveSubspaces._hit_and_run_inactive(reduced_input, n_points)[source]

A hit and run method for sampling the inactive variables from a polytope.

Parameters
  • reduced_input (numpy.ndarray) – the value of the active variables.

  • n_points (int) – the number of inactive variable samples.

Returns

n_points-by-(inactive_dim) matrix that contains values of the inactive variable that correspond to the given reduced_input.

Return type

numpy.ndarray