Skip to content

Code in Chapter 20 Clustering has redundant line #57 #116

Open
@danli349

Description

@danli349

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions