How to save a variable of a original method to disk
1 view (last 30 days)
Show older comments
I have large data and managed to put it into .mat file. But 'out of memory' still appears when I call kmeans() method. Is there a way to store all variables in kmeans to disk.
0 Comments
Answers (2)
Image Analyst
on 15 Feb 2014
Take a subset of your data and throw the rest away. I doubt your kmeans results will change much if you have that much data. If you have 50 million points and run kmeans, then you'll almost certainly come up with the same clusters if you run it on only 1% of those input points.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!