DataBool.transform

DataBool.transform(data_mat: ndarray, refit: bool = False)[source]

Transforms the data matrix according to specification DataObject.transformations. Be aware that transformations can change the dimensionality of the data.

Parameters:
  • data_mat (np.ndarray) – Data matrix to transform.

  • refit (bool, optional, default=False) – If True, the transformations are refitted.

Returns:

np.ndarray – Transformed data matrix.