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

📄 crossvalidation.java

📁 Multi-label classification 和weka集成
💻 JAVA
字号:
package mulan.evaluation;

/**
 * CrossValidation - has identical semantics with Evaluation.
 * User is passed an instance of this class when calling
 * Evaluator.crossValidate() and friends.
 */
public class CrossValidation extends Evaluation {

	protected int numFolds;

	// TODO: add some stratification options?
	protected CrossValidation(LabelBasedEvaluation labelBased,
			ExampleBasedEvaluation exampleBased,
			LabelRankingBasedEvaluation rankingBased, int numFolds) {
		super(labelBased, exampleBased, rankingBased);
		this.numFolds = numFolds;
	}

	public int numFolds() {
		return numFolds;
	}
}

⌨️ 快捷键说明

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