catonetestresult.java

来自「基于数据挖掘的决策树改进算法和贝叶斯改进算法」· Java 代码 · 共 35 行

JAVA
35
字号
package shared;
import java.lang.*;

/** This object contains the result information on one instance passed through
 * an inducer.
 * @author James Louis 12/08/2000  Ported to Java.
 */
public class CatOneTestResult {
    /** The instance whose information is stored in this object.**/
    public Instance instance;
    /** The information on the category of the instance associated with this
        object. **/
    public AugCategory augCat;
    /** The correct category for the instance. **/
    public int correctCat;
    /** The predicted classification distribution. **/
    public CatDist predDist;
    /** The correct classification distribution. **/
    public CatDist correctDist;
    /** Indicator for whether this instance is part of a training instance
        list. **/
    public boolean inTrainIL;
    
    /** Constructor.
     */
    public CatOneTestResult() {
        instance = null;
        augCat = null;
        correctCat = Globals.UNDEFINED_INT;
        predDist = null;
        correctDist = null;
        inTrainIL = false;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?