ink.base.transform.levels.create_levels¶
-
ink.base.transform.levels.create_levels(dct, dct_t, verbose=True)¶ Function which create the level columns from the numerical data. By using this function, additional features comparing numerical data with each other are added in the node’s neighborhoods. These are later transformed into a binary representation.
- Parameters
dct (dict) – Neighborhood dictionary from which numerical levels are added.
dct_t (dict) – Neighborhood dictionary from previously fitted neighborhoods (dct and dct_t are equal during the fit_transform function, but different when using the transform function).
verbose (bool) – Parameter to show tqdm tracker (default False).
- Returns
Original neighborhood with additional level-based information.
- Return type
dict