Skip to content

Latest commit

 

History

History
34 lines (16 loc) · 752 Bytes

intro.md

File metadata and controls

34 lines (16 loc) · 752 Bytes

K-means_IRIS

Please set the path of the dataset before execution

setwd("....../Rbenchmark programs/K-means_IRIS")

Instructions

Use k-means to analyze the IRIS (flower) data set.

Use k-means to analyze the IRIS (flower) data set, use the Sepal Length and Petal Length in IRIS to make k-mean clustering using these two data, and set k to 3 (divide into 3 groups). The result can be found only Converged after 6 iterations and compared with the original data set.

  • DataSet
    • Sepal Length
    • Sepal Width
    • Petal Length
    • Petal Width
    • Species
  • execution result

image-20210822163325046