decode_values

decode_values(enc_info: EncodingInfo, values: npt.NDArray[np.float64]) npt.NDArray

Decode the values using the encoding information.

Parameters:
  • enc_info (EncodingInfo) – The encoding information.

  • values (npt.NDArray[np.float64]) – The encoded values.

Raises:
  • ValueError – If the number of values does not match the number of encoded variables.

  • ValueError – If the values do not satisfy the constraints.

Returns:

The decoded values.

Return type:

npt.NDArray