ml.dmlc.xgboost4j.java.XGBoost.makeNFold()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(120)

本文整理了Java中ml.dmlc.xgboost4j.java.XGBoost.makeNFold()方法的一些代码示例,展示了XGBoost.makeNFold()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XGBoost.makeNFold()方法的具体详情如下:
包路径:ml.dmlc.xgboost4j.java.XGBoost
类名称:XGBoost
方法名:makeNFold

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];

相关文章