matlab kmeans clustering using coder generator

2 visualizaciones (últimos 30 días)
ariel cohen
ariel cohen el 24 de Mzo. de 2020
I'm trying to figure out how the matlab coder generates its code for matlab kmeans function. My line of matlab code:
"[idx,C,sumd,D] = kmeans(gridIn,nQuads,'MaxIter',100,'Replicates',3)"
Was generated into c++ code as follows:
kmeans(b_gridIn, nQuads, b_idx, C, sumd, D);
My problem is not with the implemantation of the function but rather where did my arguments disappear to? The left part of arguments list ('MaxIter',100,'Replicates',3) doesn't appear in the c++ code.
Does anyone know how many iterations the c++ code does? are there any built in replicates?
Thanks a lot for your help,
Ariel

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by