AOIMatcher

class eyefeatures.preprocessing.aoi_extraction.AOIMatcher(x, y, pk=None, instance_columns=None, aoi=None, n_aoi=0)[source]

Bases: BaseEstimator, TransformerMixin

Matches AOI in the dataset.

Parameters:
  • x (str) – X coordinate column name.

  • y (str) – Y coordinate column name.

  • pk (list[str]) – list of column names used to split pd.DataFrame for scaling.

  • instance_columns (list[str]) – list of column names used to split pd.DataFrame into the similar instances for aoi extraction.

  • aoi (str) – name of AOI column.

  • n_aoi (int) –

    count of aoi in the group.

    0: any number the areas of interest.

    integer > 0: count of the areas of interest.