简体   繁体   中英

Java library to generate and work with generated decision trees

I'm looking for a Java libraries that can not only build decision trees using ID3 or C4.5 algorithms, but also store newly built tree in some suitable format. The matter is that I'am planning to use a decision trees engine as a some kind of user needs deduction system, ie after generating decision tree using training data I would like to give it the input (data from user) and to use output as a recomendation to user. Simply saying, I just wan't to be able to walk through the generated tree and get the result according to input data set. I also want to build not only binary decision trees, but trees with changeable amount of children for each parent node(this means that some nodes may have two children, some three, all according to the values of attribute checked in the parent node). I just have started working with decision trees and don't have much experience in this field. I searched using google, started looking at WEKA, but I am not shure if it satisfies my requirments. Any guidance would be a great help. Thank's in advance!

Weka is the state of the art tool for classification, including C4.5. Defintitely give it a try.

In fact, many other tools (KNIME, Rapidminer) will often just wrap around Weka, essentially doing some data preprocessing, user interface, experiment runs etc., but the main task is delegated to Weka.

In my opinion Weka isn't perfectly designed for this, but it is the reference implementation when it comes to classification and prediction. So give it a try! When you are looking into other tasks such as clustering or anomaly detection, go with other tools such as ELKI instead. Wekas clustering algorithms are minimal.

与weka一起使用,它非常流行,高效,稳定,有据可查,人们将能够为您提供帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM