Skip to content

Added updates to assignment 5 #3

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sskadamb
Copy link

No description provided.

# print(type(sums))
print(shDistL)
sums = sum(shDistL)
mean_d = mean_sum/len(shDistL)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you computing sums, but then using mean_sum? I would remove mean_sum entirely and just take the sum of the list of the shortest distances divided by the total length of that list.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for catching that! I put in mean_sum to test something else, but forgot to take it out afterwards.

@jlaura
Copy link
Contributor

jlaura commented Mar 16, 2016

👍

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