如何在新算法中添加weka功能? [英] How to add weka features in a new algorithm?

查看:106
本文介绍了如何在新算法中添加weka功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在weka中添加一种具有分类,聚类,关联等功能的新算法。我应该如何编写代码以包含所有weka功能并为该新算法向weka添加标签。
我向weka添加了一个虚拟算法,现在可以了,我想添加一个具有weka功能组合的算法。

I want to add a new algorithm to weka with features of classification, clustering, association etc in one algo. How should I write a code to include all the weka features and add a tab to weka for this new algorithm. I have added a dummy algorithm to weka and it works now I want to add an algorithm which has combination of features of weka.

谢谢

推荐答案

如果要在Weka中添加新算法,请查看Weka手册( http://www.cs.waikato.ac.nz/ml/weka/index.html

If you want to add a new algorithm in Weka, have a look at the Weka Manual ( http://www.cs.waikato.ac.nz/ml/weka/index.html )

在第四部分-附录中,有扩展Weka 章节,在编写新分类器部分。从根本上说,您必须扩展一个类别,例如 AbstractClassifier RandomizableClassifier

In the part IV - Appendix, you have the chapter Extending Weka and inside the part Writing a new Classifier. Very basically, you have to extend a Classifier like AbstractClassifier or RandomizableClassifier.

对于聚类算法,请参见其他算法部分。例如,您将必须扩展类 weka.clusterers.AbstractClusterer

In the case of clustering algorithms look at the part Other Algorithms. You will have to extend, for instance, the class weka.clusterers.AbstractClusterer.

但是,如果需要要在您自己的程序中使用现有算法,请查看以下链接: http://weka.wikispaces.com/How+do+I+use+WEKA%27s+classes+in+my+own+code%3F

But, if you want to use existing algorithms in your own program, have a look to this link: http://weka.wikispaces.com/How+do+I+use+WEKA%27s+classes+in+my+own+code%3F

这篇关于如何在新算法中添加weka功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆