📄 dectreerandom.java
字号:
/* -------------------------------------------------------------------------- */
/* */
/* DECISION TREE (RANDOM) */
/* */
/* Frans Coenen */
/* */
/* Tuesday 20 November 2007 */
/* */
/* Department of Computer Science */
/* The University of Liverpool */
/* */
/* -------------------------------------------------------------------------- */
/* Generates a decision tree using most frterquent attribute selection as a the
splitting criteria. */
//package lucsKDD_ARM;
/** decision tree classifier generator (inforamtion gain).
@author Frans Coenen
@version 20 November 2007 */
public class DecTreeRandom extends DecisionTree {
/* ------ CONSTRUCTORS ------ */
/** Constructor with command line arguments to be process.
@param args the command line arguments (array of String instances). */
public DecTreeRandom(String[] args) {
super(args);
}
/* ------ METHODS ------ */
/** Selects attribute from attribute list on which to split (stub).
@param attributeList the cuttent list of attrbutes.
@param exampleList the currebt list of examples.
@return the attribute index of the selected attribute. */
protected int selectAttribute(short[] attributeList, int[] exampleList) {
return(0);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -