CONJ 640 Data Slide

Background - Algorithms

  • Lloyd, Forgy, MacQueen, and Hartigan-Wong algorithms
  • All minimize the internal sum of squares/Euclidean distance
  • \(\Sigma_{i=1}^k \Sigma_{x_j\in S_i} (x_j -\mu_i)^2\)

Background - Data

species island bill_length_mm bill_depth_mm flipper_length_mm body_mass_g sex year
Adelie Torgersen 45.8 18.9 197 4150 male 2008
Gentoo Biscoe 45.3 13.7 210 4300 female 2008
Adelie Torgersen 34.6 21.1 198 4400 male 2007
Gentoo Biscoe 49.1 15.0 228 5500 male 2009
Gentoo Biscoe 50.0 15.3 220 5550 male 2007
Gentoo Biscoe 44.0 13.6 208 4350 female 2008

Citations

  • Gorman KB, Williams TD, Fraser WR (2014). Ecological sexual dimorphism and environmental variability within a community of Antarctic penguins (genus Pygoscelis). PLoS ONE 9(3):e90081.
  • Horst AM, Hill AP, Gorman KB (2020). palmerpenguins: Palmer Archipelago (Antarctica) penguin data. R package version 0.1.0. https://allisonhorst.github.io/palmerpenguins/. doi: 10.5281/zenodo.3960218.
  • https://stackoverflow.com/questions/20446053/k-means-lloyd-forgy-macqueen-hartigan-wong