|
1 | 1 | /** |
2 | | - * Copyright 2014-2025, XGBoost Contributors |
| 2 | + * Copyright 2014-2026, XGBoost Contributors |
3 | 3 | */ |
4 | 4 | #include "xgboost/c_api.h" |
5 | 5 |
|
|
29 | 29 | #include "../data/proxy_dmatrix.h" // for DMatrixProxy |
30 | 30 | #include "../data/simple_dmatrix.h" // for SimpleDMatrix |
31 | 31 | #include "../encoder/types.h" // for Overloaded |
| 32 | +#include "../learner.h" // for Learner, PredictionType |
32 | 33 | #include "c_api_error.h" // for xgboost_CHECK_C_ARG_PTR, API_END, API_BEGIN |
33 | 34 | #include "c_api_utils.h" // for RequiredArg, OptionalArg, GetMissing, CastDM... |
34 | 35 | #include "dmlc/base.h" // for BeginPtr |
|
42 | 43 | #include "xgboost/global_config.h" // for GlobalConfiguration, GlobalConfigThreadLocal... |
43 | 44 | #include "xgboost/host_device_vector.h" // for HostDeviceVector |
44 | 45 | #include "xgboost/json.h" // for Json, get, Integer, IsA, Boolean, String |
45 | | -#include "xgboost/learner.h" // for Learner, PredictionType |
46 | 46 | #include "xgboost/logging.h" // for LOG_FATAL, LogMessageFatal, CHECK, LogCheck_EQ |
47 | | -#include "xgboost/predictor.h" // for PredictionCacheEntry |
48 | 47 | #include "xgboost/span.h" // for Span |
49 | 48 | #include "xgboost/string_view.h" // for StringView, operator<< |
50 | 49 | #include "xgboost/version_config.h" // for XGBOOST_VER_MAJOR, XGBOOST_VER_MINOR, XGBOOS... |
|
0 commit comments