Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method gower_dinstance does not exist #24

Closed
Dantali0n opened this issue Jun 10, 2020 · 0 comments
Closed

Method gower_dinstance does not exist #24

Dantali0n opened this issue Jun 10, 2020 · 0 comments

Comments

@Dantali0n
Copy link

In the compute_distance_matrix_instances method on line 161 of Chapter5/Clustering.py the gower_distance method is referenced:

distances.iloc[i,j] = self.gower_distance(dataset.iloc[i:i+1,:], dataset.iloc[j:j+1,:])

This method does not exist, however, a similar method called gowers_similarity does exist and is referenced by k_means_over_instances. Unfortunately, a simple replacement seems to race further errors: KeyError: 0.

@mhoogen mhoogen closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants