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
↓ 14 callers
Method
IsDense
src/data/gradient_index.h:248
↓ 14 callers
Method
IsDistributed
src/collective/comm.h:83
↓ 14 callers
Method
NonBlocking
include/xgboost/collective/socket.h:366
↓ 14 callers
Method
NumRows
Indicates a number of rows/columns must be inferred
src/data/adapter.h:555
↓ 14 callers
Method
Read
src/common/io.cc:50
↓ 14 callers
Method
Report
src/collective/result.cc:14
↓ 14 callers
Method
Set
include/xgboost/json.h:170
↓ 14 callers
Method
TemporaryDirectory
tests/cpp/filesystem.cc:29
↓ 14 callers
Function
WriteVec
src/common/ref_resource_view.h:146
↓ 14 callers
Function
XGBoosterSetParam
src/c_api/c_api.cc:1075
↓ 14 callers
Method
dtype
(self)
python-package/xgboost/_data_utils.py:245
↓ 14 callers
Method
eval
evaluate with predicts and data @param predicts predictions as array @param dmat data matrix to evaluate @return result of the metric
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/IEvaluation.java:40
↓ 14 callers
Function
get_logger
Gets a logger by name, or creates and configures it for the first time.
python-package/xgboost/spark/utils.py:82
↓ 14 callers
Method
get_score
Get feature importance of each feature. For tree model Importance type can be defined as: * 'weight': the number of times a feature i
python-package/xgboost/core.py:3015
↓ 14 callers
Method
get_xgb_params
Get xgboost specific parameters.
python-package/xgboost/sklearn.py:1089
↓ 14 callers
Function
predictor_equal
Assert whether two DMatrices contain the same predictors.
python-package/xgboost/testing/utils.py:24
↓ 14 callers
Method
run
Run a snippet of code.
doc/xgboost_doc_doctest.py:34
↓ 14 callers
Method
slice
Slice the DMatrix and return a new DMatrix that only contains `rindex`. Parameters ---------- rindex List of indi
python-package/xgboost/core.py:1204
↓ 14 callers
Method
values
(self)
python-package/xgboost/_data_utils.py:248
↓ 13 callers
Function
CalcWeight
src/tree/param.h:277
↓ 13 callers
Method
CheckModelInitialized
src/learner.cc:430
↓ 13 callers
Function
CheckProbaToMargin
tests/cpp/objective/test_regression_obj.cc:30
↓ 13 callers
Method
DataGroupPtr
Constructed as [1, n_samples] if group ptr is not supplied by the user
src/common/ranking_utils.h:234
↓ 13 callers
Function
DefaultTimeoutSec
src/collective/comm.h:23
↓ 13 callers
Method
GetLine
src/data/adapter.h:517
↓ 13 callers
Function
GlobalSum
src/collective/aggregator.h:138
↓ 13 callers
Function
LastError
include/xgboost/collective/socket.h:69
↓ 13 callers
Method
Next
src/data/adapter.cc:86
↓ 13 callers
Method
Offset
src/common/hist_util.h:315
↓ 13 callers
Method
Query
src/tree/constraints.h:52
↓ 13 callers
Function
Split
! * \brief Split a string by delimiter * \param s String to be split. * \param delim The delimiter. */
src/common/common.h:53
↓ 13 callers
Function
_is_cupy_alike
(data: DataType)
python-package/xgboost/compat.py:243
↓ 13 callers
Method
group
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java:131
↓ 13 callers
Function
is_dataframe
Whether the input is a dataframe. Currently supported dataframes: - pandas - cudf - cudf.pandas - polars - pyarrow - modin
python-package/xgboost/compat.py:214
↓ 13 callers
Method
max
NOLINT
tests/cpp/helpers.h:169
↓ 13 callers
Method
train
Train a xgboost model with link. @param dtrain The training data. @param params XGBoost parameters. @param numBoostRound Number of rounds to train.
jvm-packages/xgboost4j-flink/src/main/java/ml/dmlc/xgboost4j/java/flink/XGBoost.java:181
↓ 13 callers
Method
trainBooster
(DMatrix trainMat, DMatrix testMat)
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/BoosterImplTest.java:68
↓ 12 callers
Method
AddHistRows
src/tree/hist/histogram.h:99
↓ 12 callers
Function
AsCat
src/common/categorical.h:20
↓ 12 callers
Method
CalcWeight
src/tree/split_evaluator.h:95
↓ 12 callers
Function
CheckGPairOverGridPoints
Generate prediction value ranging from 2**1 to 2**15, using grid points in log scale Then check prediction against the reference values
tests/cpp/objective/test_aft_obj.cc:38
↓ 12 callers
Function
Decision
* \brief Whether should it traverse to left branch of a tree. * * Go to left if it's NOT the matching category, which matches one-hot encoding. *
src/common/categorical.h:52
↓ 12 callers
Method
GetGradient
src/learner.cc:1321
↓ 12 callers
Function
GetSplit
tests/cpp/tree/test_partitioner.h:16
↓ 12 callers
Function
Make1dInterface
include/xgboost/linalg.h:748
↓ 12 callers
Method
SendAll
src/collective/comm.h:162
↓ 12 callers
Method
Size
src/tree/hist/hist_cache.h:112
↓ 12 callers
Method
SizeBytes
src/data/adapter.h:470
↓ 12 callers
Function
TestDistributed
tests/cpp/collective/test_worker.h:116
↓ 12 callers
Method
TestTreeGrowPolicy
tests/cpp/tree/test_tree_policy.cc:108
↓ 12 callers
Method
Value
include/xgboost/json.h:59
↓ 12 callers
Function
XGBoosterFree
src/c_api/c_api.cc:1061
↓ 12 callers
Method
_run_on_gpu
If gpu is used to do the prediction according to the parameters and spark configurations
python-package/xgboost/spark/core.py:1339
↓ 12 callers
Method
close
Close the R session.
doc/xgboost_doc_doctest.py:70
↓ 12 callers
Function
concat
Concatenate row-wise.
python-package/xgboost/compat.py:247
↓ 12 callers
Method
fit
( self, X: _DataT, y: _DaskCollection, *, sample_weight: Optional[_Das
python-package/xgboost/dask/__init__.py:1660
↓ 12 callers
Method
generateFloatArray
(int size, long seed)
jvm-packages/xgboost4j-spark-gpu/src/test/java/ml/dmlc/xgboost4j/java/DMatrixTest.java:135
↓ 12 callers
Method
generateRandomDataSet
(int size)
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/BoosterImplTest.java:273
↓ 12 callers
Method
shouldEarlyStop
(int earlyStoppingRounds, int iter, int bestIteration)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java:368
↓ 12 callers
Method
use_count
include/xgboost/intrusive_ptr.h:137
↓ 11 callers
Function
Broadcast
src/collective/broadcast.h:24
↓ 11 callers
Function
Constant
include/xgboost/linalg.h:989
↓ 11 callers
Method
Copy
src/learner.cc:283
↓ 11 callers
Function
Finalize
src/metric/rank_metric.cc:267
↓ 11 callers
Method
GetEvaluator
src/tree/split_evaluator.h:153
↓ 11 callers
Method
IsVectorLeaf
include/xgboost/learner.h:344
↓ 11 callers
Method
Load
src/data/data.cc:947
↓ 11 callers
Method
MakeCuts
src/common/quantile.cc:546
↓ 11 callers
Method
MappingView
tests/cpp/encoder/df_mock.h:101
↓ 11 callers
Method
MaxCategory
src/common/hist_util.h:92
↓ 11 callers
Method
ModifyInplace
include/xgboost/linalg.h:895
↓ 11 callers
Method
OutputLength
src/common/charconv.cc:543
↓ 11 callers
Method
Port
src/collective/tracker.h:68
↓ 11 callers
Method
RMinNext
src/common/quantile.h:52
↓ 11 callers
Method
Recode
tests/cpp/encoder/test_ordinal.cc:22
↓ 11 callers
Method
RecvAll
src/collective/comm.h:172
↓ 11 callers
Method
Size
src/data/gradient_index.h:258
↓ 11 callers
Method
Size
src/common/quantile.h:500
↓ 11 callers
Method
SortedIdx
Create a rank list by model prediction
src/common/ranking_utils.h:244
↓ 11 callers
Method
SplitIndex
!\return feature index to split on */
plugin/sycl/tree/param.h:82
↓ 11 callers
Method
Submit
src/collective/loop.cc:260
↓ 11 callers
Method
UpdatePosition
src/tree/updater_quantile_hist.cc:572
↓ 11 callers
Function
Values
* \brief Obtain a reference to the raw data. */
include/xgboost/linalg.h:555
↓ 11 callers
Function
XGBoosterCreate
xgboost implementation
src/c_api/c_api.cc:1048
↓ 11 callers
Function
XGDMatrixSetInfoFromInterface
src/c_api/c_api.cc:644
↓ 11 callers
Method
_get_type
(self)
python-package/xgboost/sklearn.py:1106
↓ 11 callers
Method
_skip_stage_level_scheduling
Check if stage-level scheduling is not needed, return true to skip stage-level scheduling
python-package/xgboost/spark/core.py:869
↓ 11 callers
Function
check_cats
( feature_types: Optional[Union[FeatureTypes, Categories]], )
python-package/xgboost/data.py:1344
↓ 11 callers
Method
getLabel
get label values @return label @throws XGBoostError native error
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:353
↓ 11 callers
Method
get_float_info
Get float property from the DMatrix. Parameters ---------- field: str The field name of the information.
python-package/xgboost/core.py:909
↓ 11 callers
Function
is_pd_cat_dtype
Wrapper for testing pandas category type.
python-package/xgboost/data.py:459
↓ 11 callers
Function
run_test
(reg: xgboost.XGBRegressor, suffix: str)
tests/python/test_demos.py:179
↓ 11 callers
Method
save_binary
Save DMatrix to an XGBoost buffer. Saved binary can be later loaded by providing the path to :py:func:`xgboost.DMatrix` as input. Pa
python-package/xgboost/core.py:977
↓ 11 callers
Method
set_base_margin
Set base margin of booster to start from. This can be used to specify a prediction value of existing model to be base_margin However,
python-package/xgboost/core.py:1025
↓ 11 callers
Method
set_group
Set group size of DMatrix (used for ranking). Parameters ---------- group : array like Group size of each group
python-package/xgboost/core.py:1043
↓ 10 callers
Method
CacheItem
include/xgboost/cache.h:145
↓ 10 callers
Method
CommitModelGroup
src/gbm/gbtree_model.cc:149
↓ 10 callers
Method
Contiguous
src/data/array_interface.h:33
↓ 10 callers
Method
Copy
src/tree/multi_target_tree_model.cc:383
↓ 10 callers
Function
DefaultRetry
30min
src/collective/comm.h:24
← previous
next →
301–400 of 6,719, ranked by callers