We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
The code in Chapter 20 Clustering has redundant line 57 https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/clustering.py
self.means = cluster_means(self.k, inputs, assignments)
This line is repeated with line 47 and can be deleted. Thanks
The text was updated successfully, but these errors were encountered:
@danli349 If you look closely, it's not repeated, as assignments is reassigned in line 56.
assignments
Sorry, something went wrong.
@KianYang-Lee I know the assignments changed, but this line is not necessary and can be deleted without changing anything.
No branches or pull requests
Hello,
The code in Chapter 20 Clustering has redundant line 57
https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/clustering.py
This line is repeated with line 47 and can be deleted.
Thanks
The text was updated successfully, but these errors were encountered: