Not enough computer memory to train the data...
显示 更早的评论
If my LDA is to train the data but I have not enough computer memory to train the data, what should I do? I tried splitting the data and used one of it to train. However, how should I input the rest of the training data?
采纳的回答
per isakson
2013-1-28
编辑:per isakson
2013-1-28
- Putting the training data in a memmapfile might help.
- standard answer: memory is cheap
10 个评论
What's a memmap file? Can matlab variables be saved into it? Pardon me newbie questions...
You are welcome! The most important MATLAB command is doc. It's limitation is that you need to know a name. Try
doc memmapfile
I've read it, but still a bit unsure, I gather it is like not importing the data but rather, calling it from the excel without using memory is that right?
Tried it, however when I tried to call it out from the GUI, it didn't work...
per isakson
2013-1-28
编辑:per isakson
2013-1-28
- I don't know what you done!
- What error message you received.
However, I know
- it is possible to use a memmapfile-object like a huge matrix
- it is blasting fast - order of magnitude faster than reading from an excel file
The orignial was to import an excel file and write it into a variable. Then I get down to work by separating the labels from the training data... It didn't work with my codes when I put in m = memmapfile(LDA data). Error was undefined variable...
Write the imported data to a file in binary format. You can then memory map the binary file.
But by writing into a binary format, won't everything become ones and zeros?
Il try...
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
另请参阅
2013-1-28
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
