public class LocalXGBoostExecutor extends java.lang.Object implements XGBoostExecutor
| Modifier and Type | Field and Description |
|---|---|
water.Key |
modelKey |
| Constructor and Description |
|---|
LocalXGBoostExecutor(water.Key key,
XGBoostExecReq.Init init)
Used when executing from a remote model
|
LocalXGBoostExecutor(XGBoostModel model,
water.fvec.Frame train,
water.fvec.Frame valid)
Used when executing from a local model
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EvalMetric |
getEvalMetric()
Retrieves the value of the evaluation metric both for training and validation dataset.
|
byte[] |
setup() |
void |
update(int treeId) |
byte[] |
updateBooster() |
public LocalXGBoostExecutor(water.Key key,
XGBoostExecReq.Init init)
public LocalXGBoostExecutor(XGBoostModel model, water.fvec.Frame train, water.fvec.Frame valid)
public byte[] setup()
setup in interface XGBoostExecutorpublic void update(int treeId)
update in interface XGBoostExecutorpublic EvalMetric getEvalMetric()
XGBoostExecutorgetEvalMetric in interface XGBoostExecutorpublic byte[] updateBooster()
updateBooster in interface XGBoostExecutorpublic void close()
close in interface java.lang.AutoCloseable