包 | 描述 |
---|---|
ml.dmlc.xgboost4j.java |
修饰符和类型 | 方法和描述 |
---|---|
Booster |
ExternalCheckpointManager.loadCheckpointAsBooster() |
static Booster |
XGBoost.loadModel(byte[] buffer) 从字节数组缓冲区加载新的 Booster 模型。
|
static Booster |
XGBoost.loadModel(InputStream in) 从作为输入流打开的文件加载新的 Booster 模型。
|
static Booster |
XGBoost.loadModel(String modelPath) 从 modelPath 加载模型
|
static Booster |
XGBoost.train(DMatrix dtrain, Map<String,Object> params, int round, Map<String,DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRound) 给定参数训练一个 booster。
|
static Booster |
XGBoost.train(DMatrix dtrain, Map<String,Object> params, int round, Map<String,DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster) 给定参数训练一个 booster。
|
static Booster |
XGBoost.train(DMatrix dtrain, Map<String,Object> params, int round, Map<String,DMatrix> watches, IObjective obj, IEvaluation eval) 给定参数训练一个 booster。
|
static Booster |
XGBoost.trainAndSaveCheckpoint(DMatrix dtrain, Map<String,Object> params, int numRounds, Map<String,DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster, int checkpointInterval, String checkpointPath, org.apache.hadoop.fs.FileSystem fs) |
修饰符和类型 | 方法和描述 |
---|---|
static Booster |
XGBoost.train(DMatrix dtrain, Map<String,Object> params, int round, Map<String,DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster) 给定参数训练一个 booster。
|
static Booster |
XGBoost.trainAndSaveCheckpoint(DMatrix dtrain, Map<String,Object> params, int numRounds, Map<String,DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster, int checkpointInterval, String checkpointPath, org.apache.hadoop.fs.FileSystem fs) |
void |
ExternalCheckpointManager.updateCheckpoint(Booster boosterToCheckpoint) |
版权所有 © 2025. 保留所有权利。