humancompatible.detect.data_handler.types module

humancompatible.detect.data_handler.types.CategValue = int | str

integer-coded or string.

Type:

A categorical value

humancompatible.detect.data_handler.types.DataLike = numpy.ndarray | pandas.core.frame.DataFrame

a NumPy array or a pandas DataFrame.

Type:

Tabular data

humancompatible.detect.data_handler.types.FeatureID = int | str

column index (int) or column name (str).

Type:

Feature identifier

humancompatible.detect.data_handler.types.OneDimData = numpy.ndarray | pandas.core.series.Series

a NumPy array or a pandas Series.

Type:

One-dimensional data