Skip to content

Conversation

@gioravioli
Copy link

Implement kMediods algorithm with these assumptions:

  • All data is input in the correct format
  • We use the manhattan distance

Run tests with the following: python -m unittest -v test.test_k_mediods

Implement kMediods algorithm

Run tests with the following:

python -m unittest -v test.test_k_medoids
Copy link
Owner

@Ecohen4 Ecohen4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, very nice. Just a few comments:

  1. Written in Python 2, which has been superseded by Python 3 for years.
  2. Only two commit messages -- I would have expected a commit-as-you-go approach. Atomic commits also provides insight to the reviewer on your approach and order of operations.
  3. Test are green, which is always good.

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

Successfully merging this pull request may close these issues.

2 participants