LabelEncoder.transform

LabelEncoder.transform(data_mat: np.ndarray, dobj: DataObject | None)[source]

Transforms the input.

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

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

Returns:

np.ndarray – The transformed data.