athena.active.ActiveSubspaces.inverse_transform

ActiveSubspaces.inverse_transform(reduced_inputs, n_points=1)[source]

Map the points in the active variable space to the original parameter space.

Parameters
  • reduced_inputs (numpy.ndarray) – n_samples-by-dim matrix that contains points in the space of active variables.

  • n_points (int) – the number of points in the original parameter space that are returned that map to the given active variables. Defaults to 1.

Returns

(n_samples * n_points)-by-n_params matrix that contains points in the original parameter space, (n_samples * n_points)-by-n_params matrix that contains integer indices. These indices identify which rows of the previous matrix (the full parameters) map to which rows of the active variables matrix.

Return type

numpy.ndarray, numpy.ndarray

Raises

TypeError

Note

The inverse map depends critically on the self._sample_inactive method.