public class RemoteXGBoostExecutor extends java.lang.Object implements XGBoostExecutor
| Modifier and Type | Field and Description |
|---|---|
XGBoostHttpClient |
http |
water.Key |
modelKey |
| Constructor and Description |
|---|
RemoteXGBoostExecutor(XGBoostModel model,
water.fvec.Frame train,
water.fvec.Frame valid,
java.lang.String remoteUri,
java.lang.String userName,
java.lang.String password) |
| 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 final XGBoostHttpClient http
public final water.Key modelKey
public RemoteXGBoostExecutor(XGBoostModel model, water.fvec.Frame train, water.fvec.Frame valid, java.lang.String remoteUri, java.lang.String userName, java.lang.String password)
public byte[] setup()
setup in interface XGBoostExecutorpublic void update(int treeId)
update in interface XGBoostExecutorpublic byte[] updateBooster()
updateBooster in interface XGBoostExecutorpublic EvalMetric getEvalMetric()
XGBoostExecutorgetEvalMetric in interface XGBoostExecutorpublic void close()
close in interface java.lang.AutoCloseable