⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dectreerandom.java

📁 Decision Tree Decision Tree Decision Tree
💻 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 + -