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
↓ 43 callers
Method
save_config
Output internal parameter configuration of Booster as a JSON string. .. versionadded:: 1.0.0
python-package/xgboost/core.py:1947
↓ 42 callers
Function
TestLearnerSerialization
tests/cpp/test_serialization.cc:150
↓ 41 callers
Method
Size
src/predictor/data_accessor.h:193
↓ 41 callers
Method
load
load model.
python-package/xgboost/spark/core.py:1703
↓ 40 callers
Method
empty
include/xgboost/span.h:701
↓ 39 callers
Method
Name
src/metric/auc.cc:456
↓ 39 callers
Method
View
src/common/cuda_stream.h:96
↓ 39 callers
Function
assert_allclose
Dispatch the assert_allclose for devices.
python-package/xgboost/testing/utils.py:13
↓ 37 callers
Method
ConstDeviceSpan
src/common/host_device_vector.cc:101
↓ 37 callers
Method
IsLeaf
src/tree/tree_view.h:107
↓ 37 callers
Function
make_regression
Make a simple regression dataset.
python-package/xgboost/testing/__init__.py:219
↓ 36 callers
Method
LeafValue
src/tree/tree_view.h:135
↓ 36 callers
Method
RunTest
tests/cpp/tree/test_tree_stat.cc:368
↓ 36 callers
Method
transform
(float[][] predicts)
jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/CustomObjective.java:56
↓ 35 callers
Function
FailWithCode
include/xgboost/collective/socket.h:78
↓ 35 callers
Method
equals
(Object obj)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java:108
↓ 34 callers
Function
GetArrayInterface
tests/cpp/helpers.h:212
↓ 34 callers
Method
IsSycl
* @brief Is XGBoost running on any SYCL device? */
include/xgboost/context.h:202
↓ 34 callers
Method
LoadModel
src/gbm/gbtree.cc:481
↓ 34 callers
Method
SetInfo
src/data/data.cc:531
↓ 34 callers
Method
SetParams
Short hand for setting multiple parameters
src/learner.cc:663
↓ 34 callers
Method
set_param
Set parameters into the Booster. Parameters ---------- params : list of key,value pairs, dict of key to value or s
python-package/xgboost/core.py:2146
↓ 34 callers
Function
swap
include/xgboost/intrusive_ptr.h:209
↓ 33 callers
Method
Data
plugin/sycl/data.h:99
↓ 33 callers
Method
get_dmat
(self)
python-package/xgboost/testing/__init__.py:271
↓ 33 callers
Method
num_boosted_rounds
Get number of boosted rounds. For gblinear this is reset to 0 after serializing the model.
python-package/xgboost/core.py:2901
↓ 33 callers
Method
size
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java:127
↓ 32 callers
Method
empty
Returns True if there's no category.
python-package/xgboost/_data_utils.py:644
↓ 32 callers
Method
fit
Fit gradient boosting ranker Note that calling ``fit()`` multiple times will cause the model object to be re-fit from scratch. To res
python-package/xgboost/sklearn.py:2167
↓ 32 callers
Function
make_categorical
( # pylint: disable=too-many-locals, too-many-arguments client: Client, n_samples: int, n_feature
python-package/xgboost/testing/dask.py:278
↓ 31 callers
Method
Empty
src/data/cat_container.cc:285
↓ 31 callers
Method
Set
src/common/bitfield.h:148
↓ 31 callers
Method
Size
plugin/sycl/common/host_device_vector.cc:297
↓ 31 callers
Method
predict
( self, X: ArrayLike, *, output_margin: bool = False, validate_feature
python-package/xgboost/sklearn.py:1833
↓ 30 callers
Function
CheckObjFunction
tests/cpp/helpers.cc:123
↓ 30 callers
Method
GetQueue
plugin/sycl/device_manager.cc:12
↓ 30 callers
Method
Size
plugin/sycl/data/gradient_index.h:47
↓ 30 callers
Method
load_model
Load the model from a file or a bytearray. The model is saved in an XGBoost internal format which is universal among the various XGBo
python-package/xgboost/core.py:2826
↓ 29 callers
Method
Chan
src/collective/comm.h:94
↓ 29 callers
Method
DeviceName
* @brief Name of the current device. */
include/xgboost/context.h:222
↓ 29 callers
Method
Resize
plugin/sycl/data.h:120
↓ 29 callers
Method
data
NOLINT
include/xgboost/span.h:702
↓ 29 callers
Method
get_categories
Get the categories in the dataset. .. versionadded:: 3.1.0 .. warning:: This function is experimental. Paramet
python-package/xgboost/core.py:1132
↓ 29 callers
Method
set_info
Set meta info for DMatrix. See doc string for :py:obj:`xgboost.DMatrix`.
python-package/xgboost/core.py:858
↓ 28 callers
Method
Cats
src/data/data.cc:897
↓ 28 callers
Method
HostMtView
src/tree/tree_model.cc:928
↓ 28 callers
Method
Init
src/common/timer.h:78
↓ 28 callers
Method
IsMultiTarget
* \brief Whether this is a multi-target tree. */
include/xgboost/tree_model.h:371
↓ 28 callers
Method
SumHess
src/tree/tree_view.h:146
↓ 28 callers
Method
Update
tests/cpp/tree/test_tree_stat.cc:222
↓ 28 callers
Function
c_str
Convert a python string to cstring.
python-package/xgboost/_c_api.py:193
↓ 28 callers
Method
predict
An advanced prediction function with all the options. @param data the test data for which prodictions are to be made @param outputMargin outp
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:365
↓ 27 callers
Method
GetDepth
src/tree/tree_model.cc:788
↓ 27 callers
Method
GetMultiTargetTree
* \brief Get the underlying implementaiton of multi-target tree. */
include/xgboost/tree_model.h:379
↓ 27 callers
Method
IsColumnSplit
@brief Whether the data is split column-wise. */
include/xgboost/data.h:206
↓ 27 callers
Function
get_basescore
(model: XGBModel)
python-package/xgboost/testing/updater.py:32
↓ 26 callers
Function
Allreduce
src/c_api/coll_c_api.cc:31
↓ 26 callers
Method
Booster
Create a new Booster with empty stage. @param params Model parameters that are used to build the Booster @param cacheMats Cached DMatrix entries tha
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:68
↓ 26 callers
Function
IsDistributed
src/collective/comm_group.cc:142
↓ 26 callers
Method
Seed
tests/cpp/helpers.h:154
↓ 26 callers
Method
SplitCond
src/tree/tree_view.h:123
↓ 26 callers
Function
TestDistributedGlobal
tests/cpp/collective/test_worker.h:155
↓ 26 callers
Function
ToJson
include/xgboost/json.h:640
↓ 26 callers
Method
data
plugin/sycl/data/gradient_index.h:38
↓ 26 callers
Method
reset
(self)
tests/python/test_data_iterator.py:214
↓ 25 callers
Method
Check
src/common/bitfield.h:177
↓ 25 callers
Method
ConstDevicePointer
plugin/sycl/common/host_device_vector.cc:310
↓ 25 callers
Function
InitializeRange
tests/cpp/common/test_span.h:11
↓ 25 callers
Method
fit
( self, X: _DataT, y: _DaskCollection, *, sample_weight: Optional[_Das
python-package/xgboost/dask/__init__.py:1772
↓ 24 callers
Method
Batches
tests/cpp/helpers.h:435
↓ 24 callers
Function
MakeIndexTransformIter
src/common/transform_iterator.h:97
↓ 24 callers
Method
NumNodes
* \brief Get the total number of nodes including deleted ones in this tree. */
include/xgboost/tree_model.h:390
↓ 24 callers
Method
Update
src/tree/updater_sync.cc:35
↓ 24 callers
Method
fit
( self, X: _DataT, y: _DaskCollection, *, group: Optional[_DaskCollect
python-package/xgboost/dask/__init__.py:1975
↓ 24 callers
Method
save_raw
Save the model to a in memory buffer representation instead of file. The model is saved in an XGBoost internal format which is universal amon
python-package/xgboost/core.py:2796
↓ 23 callers
Method
Add
include/xgboost/base.h:150
↓ 23 callers
Method
Empty
! \brief Return true if this summary has no valid entries. */
src/common/quantile.h:62
↓ 23 callers
Function
FromJson
include/xgboost/json.h:659
↓ 23 callers
Function
MakeFixedVecWithMalloc
src/common/ref_resource_view.h:164
↓ 23 callers
Method
UpdateAllowUnknown
src/learner.cc:165
↓ 23 callers
Function
generate_array
( with_weights: bool = False, )
tests/test_distributed/test_with_dask/test_with_dask.py:66
↓ 23 callers
Function
non_increasing
Values in the sequence are not increasing.
python-package/xgboost/testing/utils.py:37
↓ 23 callers
Function
train_result
(param, dmat, num_rounds)
tests/python-sycl/test_sycl_updaters.py:34
↓ 22 callers
Method
Block
src/collective/loop.cc:223
↓ 22 callers
Function
EraseType
src/common/type.h:12
↓ 22 callers
Method
GenerateSparsePageDMatrix
tests/cpp/helpers.cc:471
↓ 22 callers
Function
Make1dInterfaceTest
tests/cpp/helpers.h:497
↓ 22 callers
Method
Save
src/common/json.cc:30
↓ 22 callers
Method
Str
Path can be implicitly converted to string on unix, but not on windows, due its use of wchar.
tests/cpp/filesystem.h:21
↓ 22 callers
Function
XGDMatrixFree
src/c_api/c_api.cc:614
↓ 22 callers
Method
run
Run clang-tidy.
ops/script/run_clang_tidy.py:226
↓ 22 callers
Method
to_arrow
Get the categories in the dataset. The results are stored in a list of (feature name, arrow array) pairs, with one array for each categorical
python-package/xgboost/_data_utils.py:629
↓ 21 callers
Function
ArrayInterfaceStr
include/xgboost/linalg.h:734
↓ 21 callers
Method
Device
plugin/sycl/common/host_device_vector.cc:300
↓ 21 callers
Function
GetDMatrixFromData
tests/cpp/common/test_hist_util.h:69
↓ 21 callers
Method
Handle
src/common/cuda_stream.h:97
↓ 21 callers
Method
HostSpan
include/xgboost/host_device_vector.h:116
↓ 21 callers
Method
Read
src/data/gradient_index_format.cc:18
↓ 21 callers
Method
Write
src/data/gradient_index_format.cc:70
↓ 21 callers
Method
Write
src/common/column_matrix.cc:108
← previous
next →
101–200 of 6,719, ranked by callers