在java中编写weka代码 [英] Writing weka code in java
本文介绍了在java中编写weka代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在创建一个小应用程序来访问Java for Machine Learning中的WEKA代码。在代码中我应该指定一个要处理的数据文件,主要是一个Arff文件。如何使用用户上传/打开或选择的文件?
我的GUI应该是这样的:
https://www.dropbox.com/s/qo20ektnogvgktq/Untitled.jpg [ ^ ]
Hello, I am making a small application to access WEKA code in Java for Machine Learning. In the code I should specify a data file to work on and mainly it is an Arff file. How to use a file that the user has uploaded/opened or chosen ?
My GUI should be like this:
https://www.dropbox.com/s/qo20ektnogvgktq/Untitled.jpg[^]
推荐答案
如果你在谈论打开文件对话框,请看这里:使用显示简单的打开文件对话框JFileChooser [ ^ ]
在Java代码中使用WEKA [ ^ ]
从WEKA课程生成源代码 [ ^ ]
但最有趣的是: weka overview [ ^ ]和类ArffLoader.ArffReader [ ^ ]
[/ EDIT]
If you're talking about open file dialog, please have a look here: Show simple open file dialog using JFileChooser[^]
Use WEKA in your Java code[^]
Generating source code from WEKA classes[^]
But the most interesting is: weka overview[^] together with Class ArffLoader.ArffReader[^]
[/EDIT]
这篇关于在java中编写weka代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文