How can I save my k-means clustering model?

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?

Antworten (1)

Yusuf Suer Erdem
Yusuf Suer Erdem am 21 Dez. 2021

0 Stimmen

try to save in '.mat' format.
e.g.
myMatrix = rand( 100, 100 );
filename = 'C:\Stuff\Somefile.mat';
save( filename, 'myMatrix' );

Kategorien

Gefragt:

am 21 Dez. 2021

Beantwortet:

am 21 Dez. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by