()
| 18 | |
| 19 | |
| 20 | def build_dataset() -> Tuple[np.ndarray, np.ndarray]: |
| 21 | N = 10 |
| 22 | x = np.linspace(0, N * N, N * N) |
| 23 | x = x.reshape((N, N)) |
| 24 | y = np.linspace(0, N, N) |
| 25 | return x, y |
| 26 | |
| 27 | |
| 28 | def save_pickle(bst: Union[xgb.Booster, xgb.XGBModel], path: str) -> None: |
no outgoing calls
no test coverage detected