How can I save my k-means clustering model?

9 ビュー (過去 30 日間)
husnir nasyuha
husnir nasyuha 2021 年 12 月 21 日
回答済み: Yusuf Suer Erdem 2021 年 12 月 21 日
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?

回答 (1 件)

Yusuf Suer Erdem
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' );

カテゴリ

Find more on Statistics and Machine Learning Toolbox 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!

Translated by