gpt4 book ai didi

linux - 在命令行中使用 weka

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:01:18 24 4
gpt4 key购买 nike

我正在尝试在命令行中使用 weka,但我什至无法开始。我有这个错误;

$ java weka.core.Instances data/soybean.arff

Exception in thread "main" java.lang.NoClassDefFoundError: weka/core/Instances
Caused by: java.lang.ClassNotFoundException: weka.core.Instances
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: weka.core.Instances. Program will exit.

当我用谷歌搜索时,我认为这是关于类路径的东西,但我什至不熟悉这些东西。我在 windows 机器上使用 weka,我需要习惯 linux 系统(我是 linux 上的新手)。所以,请详细说明。

谢谢

最佳答案

它不是您应该使用的标准终端。相反,当您在“Weka GUI Chooser”中时,您应该选择底部选项“Simple CLI”。这将打开相应的界面。

The bottom option is the one you want.

关于linux - 在命令行中使用 weka,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19752518/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com