(bst: Union[xgb.Booster, xgb.XGBModel], path: str)
| 26 | |
| 27 | |
| 28 | def save_pickle(bst: Union[xgb.Booster, xgb.XGBModel], path: str) -> None: |
| 29 | with open(path, "wb") as fd: |
| 30 | pickle.dump(bst, fd) |
| 31 | |
| 32 | |
| 33 | def load_pickle(path: str) -> Any: |
no outgoing calls
no test coverage detected