Hello, I read this question about how to set initial centers of k-mean on Stackoverflow. I read the answer, but I have no idea how to implement it in C ++. Could anyone give me any suggestions?
1 | initial version |
Hello, I read this question about how to set initial centers of k-mean on Stackoverflow. I read the answer, but I have no idea how to implement it in C ++. Could anyone give me any suggestions?
2 | No.2 Revision |
Hello, I read this question about how to set initial centers of k-mean on Stackoverflow. I read the answer, but I have no idea how to implement it in C ++. Could anyone give me any suggestions?suggestions? I'd like to calculate first labels using centers that I already have and pass them to kmeans function with flag KMEANS_USE_INITIAL_LABELS for calculate new centers on new (but similar) data. Data are features of images.