2
$\begingroup$

I'm trying to add Gower distance for my KNN implementation but I can't find out the formula for Gower distance. What is the formula for Gower distance?

$\endgroup$
1

1 Answer 1

3
$\begingroup$

The formula is defined in section two of Gower's A general coefficient of similarity and some of its properties.

Abstract A general coefficient measuring the similarity between two sampling units is defined. The matrix of similarities between all pairs of sample units is shown to be positive semidefinite (except possibly when there are missing values). This is important for the multidimensional Euclidean representation of the sample and also establishes some inequalities amongst the similarities relating three individuals. The definition is extended to cope with a hierarchy of characters.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.