hopsy.back_transform#

hopsy.back_transform(problem, samples=None, points=None)#

Transform samples from the sampling space to the original parameter space.

Parameters:
  • problem (hopsy.Problem) – A hopsy.Problem with populated problem.transformation and problem.shift of shape (m, d) and (d, ), respectively. If not populated, the identity operation is performed.

  • samples (np.array) – Parameter samples of shape (…, d) which are to be transformed.

  • points (np.array) – Parameter samples of shape (…, d) which are to be transformed. To be deprecated.

Returns:

Transformed samples of shape (…, m)

Return type:

np.array