本文整理了Java中ml.dmlc.xgboost4j.java.XGBoost.makeNFold()
方法的一些代码示例,展示了XGBoost.makeNFold()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XGBoost.makeNFold()
方法的具体详情如下:
包路径:ml.dmlc.xgboost4j.java.XGBoost
类名称:XGBoost
方法名:makeNFold
[英]make an n-fold array of CVPack from random indices
[中]从随机索引生成CVPack的n倍数组
代码示例来源:origin: ml.dmlc/xgboost4j
IObjective obj,
IEvaluation eval) throws XGBoostError {
CVPack[] cvPacks = makeNFold(data, nfold, params, metrics);
String[] evalHist = new String[round];
String[] results = new String[cvPacks.length];
代码示例来源:origin: ai.h2o/xgboost4j
IObjective obj,
IEvaluation eval) throws XGBoostError {
CVPack[] cvPacks = makeNFold(data, nfold, params, metrics);
String[] evalHist = new String[round];
String[] results = new String[cvPacks.length];
代码示例来源:origin: io.github.myui/xgboost4j
IObjective obj,
IEvaluation eval) throws XGBoostError {
CVPack[] cvPacks = makeNFold(data, nfold, params, metrics);
String[] evalHist = new String[round];
String[] results = new String[cvPacks.length];
内容来源于网络,如有侵权,请联系作者删除!