(y_true, y_pred)
| 513 | pass |
| 514 | |
| 515 | def dummy_objective(y_true, y_pred): |
| 516 | raise XGBCustomObjectiveException() |
| 517 | |
| 518 | xgb_model = xgb.XGBRegressor(objective=dummy_objective) |
| 519 | np.testing.assert_raises(XGBCustomObjectiveException, xgb_model.fit, X, y) |
nothing calls this directly
no test coverage detected