机器学习之 weka学习(六)最大内存

Weka 常见问题处理:

weka如何安装支持向量机工具包

方法一、打开 weka,工具栏的Tools–>Package manager,可在里面添加需要的工具包。
方法二、下载 libsvm-**.jar 包,开源的。解压文件夹,里面……\libsvm-3.19\java ,下面有jar包。将jar包加压到某个路径,如D:\Program\Weka-3-8,打开RunWeka.in文件,在最后一行cp=%CLASSPATH%后面加个分号(路径分隔符),把libsvm.jar包的路径添上,将符号\改成/,weka才能识别,必要时,还要重启weka。

Out of Memory

查看weka的系统设置:
可在

start the SimpleCLI
run the following command:
java weka.core.SystemInfo
the property memory.max lists the maximum amount of memory available to WEKA

设置weka的最大使用内存
方法一和方法二的前提是你得有修改文件的权限。
方法一、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,

%_java% -Xmx4096m -classpath . RunWeka -i .\RunWeka.ini -w .\weka.jar -c %_cmd% "%2"

方法二、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

#maxheap=1024M
maxheap=4096M
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值