How can I save my k-means clustering model?
9 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Yusuf Suer Erdem
on 21 Dec 2021
try to save in '.mat' format.
e.g.
myMatrix = rand( 100, 100 );
filename = 'C:\Stuff\Somefile.mat';
save( filename, 'myMatrix' );
0 Comments
See Also
Categories
Find more on Cluster Analysis and Anomaly Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!