robustx.lib.distance_functions package

Submodules

robustx.lib.distance_functions.DistanceFunctions module

robustx.lib.distance_functions.DistanceFunctions.euclidean(x, c)[source]

Computes the Euclidean distance between two DataFrames.

@param x: pd.DataFrame, the first DataFrame to compare. @param c: pd.DataFrame, the second DataFrame to compare. @return: float, the Euclidean distance between the two DataFrames.

Return type:

float

robustx.lib.distance_functions.DistanceFunctions.manhattan(x, c)[source]

Computes the Manhattan distance between two DataFrames.

@param x: pd.DataFrame, the first DataFrame to compare. @param c: pd.DataFrame, the second DataFrame to compare. @return: float, the Manhattan distance between the two DataFrames.

Return type:

float

Module contents