C4.5

所属分类:Java编程
开发工具:Java
文件大小:2KB
下载次数:142
上传日期:2010-07-21 20:45:17
上 传 者Kevinchen110
说明:  决策树 C4.5 分类器, 用java语言写的.大家一起参考一下.
(C4.5 decision tree classifier, using the java language. U.S. with reference.)

文件列表:
C4.5java\c45\C45Driver.java (1414, 2002-05-21)
C4.5java\c45 (0, 2002-05-22)
C4.5java (0, 2010-07-21)

To compile: Set $MLJDIR = location of mlj dir. (Ex. /home/mad1333/mlj) Next, go to the shared directory and run make c45. To run ID3 Driver: Then from the shared directory run: java -cp .:../id3:../c45 C45Driver ../../data/$DATASET where $DATASET = the name of the data set you want to run. This will run the Driver over $DATASET.names, $DATASET.test, and $DATASET.data in the ../../data directory. A second argument can be supplied to change the loglevel and global loglevel to a different setting. Example: java -cp .:../id3:../c45 C45Driver ../../data/$DATASET 4 This will change the loglevel to 4 and produce more output. Not supplying a value results in a default value of 0. A third option allows switching between tree display specifications as they are in the MLC binary and specifications as they are in the MLC code. To switch between these settings, add true or false as a third setting. Example: java -cp .:../id3:../c45 C45Driver ../../data/$DATASET 4 false False sets to the source specifications and true sets to the binary specifications. The default is true.

近期下载者

相关文件


收藏者