DataObjectTransform.fit

DataObjectTransform.fit(data_mat: np.ndarray, dobj: DataObject | None) DataObjectTransform[source]

Fits the transformation.

Parameters:
  • data_mat (np.ndarray) – The input data.

  • dobj (Optional[DataObject]) – The data object.

Returns:

DataObjectTransform – The fitted transformation.