athena.active.ActiveSubspaces._rejection_sampling_inactive¶
-
ActiveSubspaces.
_rejection_sampling_inactive
(reduced_input, n_points)[source]¶ A rejection sampling method for sampling the 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