if i am using 3*3 matrix my own k means code is dividing the matrix into 2 clusters(user input) and giving me an array of 3*1 matrix .But what i want is assigning each data point in matrix to a giving cluster and not the entire row into the cluster what should i do ??? the link is given below to code use any data set i prefer iris.
No products are associated with this question.
Play games and win prizes!Learn more