机器学习之 weka学习(六)最大内存
Weka 常見(jiàn)問(wèn)題處理:
weka如何安裝支持向量機(jī)工具包
方法一、打開(kāi) weka,工具欄的Tools–>Package manager,可在里面添加需要的工具包。
方法二、下載 libsvm-**.jar 包,開(kāi)源的。解壓文件夾,里面……\libsvm-3.19\java ,下面有jar包。將jar包加壓到某個(gè)路徑,如D:\Program\Weka-3-8,打開(kāi)RunWeka.in文件,在最后一行cp=%CLASSPATH%后面加個(gè)分號(hào)(路徑分隔符),把libsvm.jar包的路徑添上,將符號(hào)\改成/,weka才能識(shí)別,必要時(shí),還要重啟weka。
Out of Memory
查看weka的系統(tǒng)設(shè)置:
可在
設(shè)置weka的最大使用內(nèi)存
方法一和方法二的前提是你得有修改文件的權(quán)限。
方法一、Go to the Weka installation directory and you will find a RunWeka.bat file.
Open this file in a text editor and add -Xmx argument in the java command line.
for instance this sets to 4GB memory,
方法二、Go to the Weka installation directory and you will find a RunWeka.ini file
Open this file in a text editor and Modify the maxheap parameter in the RunWeka.ini file
總結(jié)
以上是生活随笔為你收集整理的机器学习之 weka学习(六)最大内存的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: width,clientWidth,of
- 下一篇: java 基础安装和Tomcat8配置