Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dmlc/xgboost
/ functions
Functions
6,719 in github.com/dmlc/xgboost
⨍
Functions
6,719
◇
Types & classes
1,105
↳
Endpoints
5
↓ 787 callers
Method
size
NOLINT
src/common/param_array.h:47
↓ 730 callers
Method
size
include/xgboost/span.h:698
↓ 536 callers
Method
get
include/xgboost/intrusive_ptr.h:133
↓ 491 callers
Method
Info
src/objective/regression_loss.h:124
↓ 423 callers
Method
begin
src/common/common.h:166
↓ 394 callers
Method
Size
src/common/io.cc:334
↓ 363 callers
Method
predict
Predict with data. The full model will be used unless `iteration_range` is specified, meaning users have to either slice the model or use the
python-package/xgboost/core.py:2404
↓ 359 callers
Method
DMatrix
! \brief default constructor */
include/xgboost/data.h:580
↓ 351 callers
Method
train
Train a booster given parameters. @param dtrain Data to be trained. @param params Parameters. @param round Number of boosting iterations. @param
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java:98
↓ 342 callers
Method
data
src/common/hist_util.h:308
↓ 280 callers
Method
resize
NOLINT
src/common/device_compression.h:64
↓ 270 callers
Method
end
NOLINT
src/common/common.h:167
↓ 265 callers
Method
cend
NOLINT
src/common/param_array.h:55
↓ 263 callers
Method
c_str
include/xgboost/string_view.h:50
↓ 237 callers
Method
data
Utility function for obtaining current batch of data.
tests/python-gpu/test_from_cudf.py:330
↓ 235 callers
Method
cbegin
src/common/param_array.h:54
↓ 207 callers
Method
Shape
include/xgboost/linalg.h:882
↓ 193 callers
Method
Device
include/xgboost/linalg.h:954
↓ 167 callers
Method
Configure
src/logging.cc:47
↓ 167 callers
Method
HostView
src/data/cat_container.cc:283
↓ 164 callers
Function
Success
* @brief Return success. */
include/xgboost/collective/result.h:120
↓ 162 callers
Method
empty
src/common/param_array.h:46
↓ 157 callers
Method
Threads
src/context.cc:265
↓ 152 callers
Method
GetHess
include/xgboost/base.h:177
↓ 149 callers
Function
CPU
tests/cpp/common/test_linalg.cc:18
↓ 149 callers
Method
Data
src/common/io.cc:211
↓ 149 callers
Method
Device
src/common/host_device_vector.cc:85
↓ 141 callers
Method
GenerateDMatrix
tests/cpp/helpers.cc:433
↓ 139 callers
Function
GetMetricEval
tests/cpp/helpers.cc:177
↓ 139 callers
Method
UpdateAllowUnknown
include/xgboost/context.h:158
↓ 132 callers
Method
fit
Fit gradient boosting model. Note that calling ``fit()`` multiple times will cause the model object to be re-fit from scratch. To res
python-package/xgboost/sklearn.py:1270
↓ 123 callers
Method
size
src/data/cat_container.h:38
↓ 121 callers
Function
MakeCUDACtx
* \brief Make a context that uses CUDA if device >= 0. */
tests/cpp/helpers.h:387
↓ 115 callers
Method
Values
src/common/quantile.cc:312
↓ 114 callers
Function
SafeColl
src/collective/result.cc:76
↓ 114 callers
Method
get_booster
Get the underlying xgboost Booster of this model. This will raise an exception when fit was not called Returns -------
python-package/xgboost/sklearn.py:1002
↓ 109 callers
Method
IsCUDA
* @brief Is XGBoost running on a CUDA device? */
include/xgboost/context.h:186
↓ 101 callers
Method
fit
( self, X: ArrayLike, y: ArrayLike, *, sample_weight: Optional[ArrayLi
python-package/xgboost/sklearn.py:1721
↓ 100 callers
Function
Fail
* @brief Return failure. */
include/xgboost/collective/result.h:124
↓ 99 callers
Method
inplace_predict
Run prediction in-place when possible, Unlike :py:meth:`predict` method, inplace prediction does not cache the prediction result. Cal
python-package/xgboost/core.py:2541
↓ 97 callers
Method
Slice
src/data/data.cc:404
↓ 96 callers
Function
_check_call
Check the return value of C API call.
python-package/xgboost/_c_api.py:187
↓ 93 callers
Method
SetParam
src/learner.cc:652
↓ 88 callers
Method
GetGrad
include/xgboost/base.h:176
↓ 88 callers
Method
get
(long idx)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/util/BigDenseMatrix.java:60
↓ 88 callers
Method
num_col
Get the number of columns (features) in the DMatrix.
python-package/xgboost/core.py:1178
↓ 87 callers
Function
ParallelFor
src/common/threading_utils.h:180
↓ 87 callers
Method
subspan
include/xgboost/span.h:703
↓ 86 callers
Method
ConstHostSpan
include/xgboost/host_device_vector.h:118
↓ 85 callers
Function
train
Train a booster with given parameters. Parameters ---------- params : Booster params. dtrain : Data to be trained.
python-package/xgboost/training.py:53
↓ 84 callers
Method
num_row
Get the number of rows in the DMatrix.
python-package/xgboost/core.py:1172
↓ 83 callers
Method
LeftChild
src/tree/tree_view.h:111
↓ 83 callers
Method
OK
include/xgboost/collective/result.h:87
↓ 82 callers
Function
AssertGPUSupport
src/common/common.h:185
↓ 82 callers
Method
Size
src/data/ellpack_page.cc:39
↓ 81 callers
Method
evals_result
Return the evaluation results. If **eval_set** is passed to the :py:meth:`fit` function, you can call ``evals_result()`` to get evalu
python-package/xgboost/sklearn.py:1516
↓ 81 callers
Function
fn
(_address: str, *args: _P.args, **kwargs: _P.kwargs)
python-package/xgboost/dask/__init__.py:533
↓ 80 callers
Method
get_label
Get the label of the DMatrix.
python-package/xgboost/core.py:1055
↓ 78 callers
Method
QuantileDMatrix
()
jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/QuantileDMatrix.java:58
↓ 78 callers
Method
update
Update for one iteration, with objective function calculated internally. .. warning:: This function should not be called
python-package/xgboost/core.py:2174
↓ 76 callers
Method
Reshape
include/xgboost/linalg.h:907
↓ 76 callers
Method
RightChild
src/tree/tree_view.h:114
↓ 75 callers
Function
All
* \brief Specify all elements in the axis for slicing. */
include/xgboost/linalg.h:250
↓ 75 callers
Method
save_model
Save the model to a file. The model is saved in an XGBoost internal format which is universal among the various XGBoost interfaces. A
python-package/xgboost/core.py:2768
↓ 74 callers
Method
get_dump
Returns the model dump as a list of strings. Unlike :py:meth:`save_model`, the output format is primarily used for visualization or interpret
python-package/xgboost/core.py:2963
↓ 73 callers
Method
Rank
src/collective/comm.h:81
↓ 70 callers
Method
IsCPU
* @brief Is XGBoost running on CPU? */
include/xgboost/context.h:182
↓ 67 callers
Method
HostScView
src/tree/tree_model.cc:926
↓ 66 callers
Function
MakeVec
include/xgboost/linalg.h:648
↓ 66 callers
Method
SetDevice
src/common/host_device_vector.cc:175
↓ 66 callers
Method
size
Total size of the input array.
python-package/xgboost/_data_utils.py:164
↓ 65 callers
Method
World
src/collective/comm.h:82
↓ 64 callers
Method
Stop
src/common/timer.cc:27
↓ 63 callers
Method
Start
src/common/timer.cc:16
↓ 63 callers
Function
TestRyu
tests/cpp/common/test_charconv.cc:43
↓ 63 callers
Method
set
(long idx, float val)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/util/BigDenseMatrix.java:52
↓ 62 callers
Method
reset
Reset the booster object to release data caches used for training. .. versionadded:: 3.0.0
python-package/xgboost/core.py:1990
↓ 61 callers
Method
UpdateOneIter
src/learner.cc:1108
↓ 61 callers
Method
predict
( self, X: _DataT, *, output_margin: bool = False, validate_features:
python-package/xgboost/dask/__init__.py:1483
↓ 60 callers
Method
Init
src/context.cc:223
↓ 60 callers
Method
Resize
src/common/io.h:340
↓ 60 callers
Method
copy
Copy the booster object. Returns ------- booster : A copied booster model
python-package/xgboost/core.py:1980
↓ 57 callers
Method
checkCall
Check the return code of the JNI call. @throws XGBoostError if the call failed.
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoostJNI.java:47
↓ 56 callers
Method
Ctx
src/gbm/gbtree_model.h:125
↓ 56 callers
Method
SetDevice
* \brief Set device ordinal for this tensor. */
include/xgboost/linalg.h:953
↓ 54 callers
Method
size_bytes
NOLINT
src/common/ref_resource_view.h:72
↓ 51 callers
Method
SaveModel
src/gbm/gbtree.cc:499
↓ 51 callers
Method
Size
src/tree/multi_target_tree_model.cc:381
↓ 50 callers
Function
GetRank
src/collective/comm_group.cc:138
↓ 49 callers
Method
ExpandNode
src/tree/tree_model.cc:805
↓ 49 callers
Method
GetView
include/xgboost/data.h:378
↓ 49 callers
Method
View
tests/cpp/encoder/df_mock.h:98
↓ 48 callers
Method
set_params
Set the parameters of this estimator. Modification of the sklearn method to allow unknown kwargs. This allows using the full range of xgboost
python-package/xgboost/sklearn.py:1017
↓ 47 callers
Function
GetWorldSize
src/collective/comm_group.cc:140
↓ 47 callers
Function
MakeTensorView
include/xgboost/linalg.h:568
↓ 47 callers
Method
write
Return the writer for saving the model.
python-package/xgboost/spark/core.py:1218
↓ 45 callers
Method
Predict
src/learner.cc:1197
↓ 45 callers
Method
SplitIndex
src/tree/tree_view.h:117
↓ 44 callers
Method
SaveConfig
src/gbm/gbtree.cc:452
↓ 43 callers
Method
Size
src/tree/tree_view.h:140
next →
1–100 of 6,719, ranked by callers