How can I save my k-means clustering model?

3 visualizaciones (últimos 30 días)
husnir nasyuha
husnir nasyuha el 21 de Dic. de 2021
Respondida: Yusuf Suer Erdem el 21 de Dic. de 2021
After running k-means clustering to a dataset, how do I save the model so that it can be used to cluster new set of data?

Respuestas (1)

Yusuf Suer Erdem
Yusuf Suer Erdem el 21 de Dic. de 2021
try to save in '.mat' format.
e.g.
myMatrix = rand( 100, 100 );
filename = 'C:\Stuff\Somefile.mat';
save( filename, 'myMatrix' );

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by