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
XGBoostError
public void cleanPath() throws IOException
IOException
public Booster loadCheckpointAsBooster() throws IOException, XGBoostError
IOException
XGBoostError
public void updateCheckpoint(Booster boosterToCheckpoint) throws IOException, XGBoostError
IOException
XGBoostError
public void cleanUpHigherVersions(int currentRound) throws IOException
IOException
public List<Integer> getCheckpointRounds(int checkpointInterval, int numOfRounds) throws IOException
IOException
Copyright © 2020. All rights reserved.