public class ExternalCheckpointManager extends Object
| Constructor and Description |
|---|
ExternalCheckpointManager(String checkpointPath,
org.apache.hadoop.fs.FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanPath() |
void |
cleanUpHigherVersions(int currentRound) |
List<Integer> |
getCheckpointRounds(int checkpointInterval,
int numOfRounds) |
Booster |
loadCheckpointAsBooster() |
void |
updateCheckpoint(Booster boosterToCheckpoint) |
public ExternalCheckpointManager(String checkpointPath, org.apache.hadoop.fs.FileSystem fs) throws XGBoostError
XGBoostErrorpublic void cleanPath()
throws IOException
IOExceptionpublic Booster loadCheckpointAsBooster() throws IOException, XGBoostError
IOExceptionXGBoostErrorpublic void updateCheckpoint(Booster boosterToCheckpoint) throws IOException, XGBoostError
IOExceptionXGBoostErrorpublic void cleanUpHigherVersions(int currentRound)
throws IOException
IOExceptionpublic List<Integer> getCheckpointRounds(int checkpointInterval, int numOfRounds) throws IOException
IOExceptionCopyright © 2013–2020 H2O.ai. All rights reserved.