Package | Description |
---|---|
ml.dmlc.xgboost4j.java |
Modifier and Type | Method and Description |
---|---|
Booster |
ExternalCheckpointManager.loadCheckpointAsBooster() |
static Booster |
XGBoost.loadModel(byte[] buffer)
Load a new Booster model from a byte array buffer.
|
static Booster |
XGBoost.loadModel(InputStream in)
Load a new Booster model from a file opened as input stream.
|
static Booster |
XGBoost.loadModel(String modelPath)
load model from 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)
Train a booster given parameters.
|
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)
Train a booster given parameters.
|
static Booster |
XGBoost.train(DMatrix dtrain,
Map<String,Object> params,
int round,
Map<String,DMatrix> watches,
IObjective obj,
IEvaluation eval)
Train a booster given parameters.
|
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) |
Modifier and Type | Method and Description |
---|---|
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)
Train a booster given parameters.
|
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) |
Copyright © 2021. All rights reserved.