How can I save my k-means clustering model?

조회 수: 3 (최근 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' );

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by