日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

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

發(fā)布時(shí)間:2023/12/13 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 机器学习之 weka学习(六)最大内存 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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è)置:
可在

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

設(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,

%_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

總結(jié)

以上是生活随笔為你收集整理的机器学习之 weka学习(六)最大内存的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。