How to import XML files in WEKA

余生颓废 提交于 2019-12-05 14:09:48

There's no straightforward way to load instances into Weka from XML. Your only real options are CSV, arff or a database, so you'll have to write some conversion code. I've used rarff in the past to build arff files using Ruby.

WEKA does not support XML file as input dataset. WEKA allows to start Classifiers and Experiments with the -xml option followed by a filename to retrieve the command line options from the XML file instead of the command line. see this link: https://www.cs.waikato.ac.nz/~ml/weka/xml/index_old.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!