How can I save my k-means clustering model?
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Yusuf Suer Erdem
2021-12-21
try to save in '.mat' format.
e.g.
myMatrix = rand( 100, 100 );
filename = 'C:\Stuff\Somefile.mat';
save( filename, 'myMatrix' );
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!