binaryprediction.java

来自「Multi-label classification 和weka集成」· Java 代码 · 共 20 行

JAVA
20
字号
package mulan.evaluation;
/**
 * Data holding structure to make evaluation computation a little cleaner. 
 * Note that the confidence, refers to the confidence of the result being true,
 * and not the confidence of the result itself which can be true or false. 
 */
public class BinaryPrediction
{
	public BinaryPrediction(boolean predicted, boolean actual, double confidenceTrue)
	{
		this.predicted = predicted;
		this.actual = actual;
		this.confidenceTrue = confidenceTrue;
	}

	protected boolean actual;
	protected boolean predicted;
	protected double confidenceTrue;
}

⌨️ 快捷键说明

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