gower_distance#

Module for calculating distance matrix via Gower method.

Functions

calculate_distance(vec1, vec2, range_per_feature)

Calculate distance between two vectors using Gower's method.

calculate_nearest_neighbors_distances(data, ...)

Calculate distance matrix for a dataset using Gower's method.

gower_matrix(data, cat_features)

Calculate distance matrix for a dataset using Gower's method.