日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

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

發布時間:2023/12/13 57 豆豆
生活随笔 收集整理的這篇文章主要介紹了 机器学习之 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

總結

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

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。