Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/xgboost
/ functions
Functions
6,719 in github.com/dmlc/xgboost
⨍
Functions
6,719
◇
Types & classes
1,105
↳
Endpoints
5
↓ 3 callers
Function
_from_scipy_csr
Initialize data from a CSR matrix.
python-package/xgboost/data.py:155
↓ 3 callers
Function
_meta_from_pandas_df
( data: DataType, name: str, dtype: Optional[NumpyDType], handle: ctypes.c_void_p, )
python-package/xgboost/data.py:679
↓ 3 callers
Function
_read_csr_matrix_from_unwrapped_spark_vec
(part: pd.DataFrame)
python-package/xgboost/spark/data.py:116
↓ 3 callers
Function
_run_predt
( device: Device, DMatrixT: Type, pred_contribs: bool, pred_interactions: bool, pred_leaf:
python-package/xgboost/testing/ordinal.py:496
↓ 3 callers
Function
_set_pyspark_xgb_cls_param_attrs
This function automatically infer to xgboost parameters and set them into corresponding pyspark estimators and models
python-package/xgboost/spark/estimator.py:24
↓ 3 callers
Function
_spark_test_device
(spark: SparkSession)
tests/test_distributed/test_with_spark/test_spark.py:99
↓ 3 callers
Function
_transform_cudf_df
( data: DataType, feature_names: Optional[FeatureNames], feature_types: Optional[Union[FeatureType
python-package/xgboost/data.py:1074
↓ 3 callers
Function
_transform_polars_df
( data: DataType, enable_categorical: bool, feature_names: Optional[FeatureNames], feature_typ
python-package/xgboost/data.py:952
↓ 3 callers
Method
_xgb_cls
(cls)
python-package/xgboost/spark/estimator.py:586
↓ 3 callers
Method
begin
src/common/hist_util.h:324
↓ 3 callers
Function
build_info
Build information of XGBoost. The returned value format is not stable. Also, please note that build time dependency is not the same as runtime de
python-package/xgboost/core.py:173
↓ 3 callers
Function
build_rpackage
(path: str)
ops/script/test_r_package.py:83
↓ 3 callers
Method
check_output
(output: str)
tests/python/test_callback.py:49
↓ 3 callers
Method
close
()
jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/CudfColumnBatch.java:140
↓ 3 callers
Method
close
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Column.java:30
↓ 3 callers
Function
copy_file
Copy a file to a target path or directory.
jvm-packages/create_jni.py:39
↓ 3 callers
Function
copyfile
(src: str, dst: str)
ops/script/pypi_variants.py:22
↓ 3 callers
Method
crbegin
include/xgboost/string_view.h:60
↓ 3 callers
Method
data
Utility function for obtaining current batch of data.
python-package/xgboost/dask/data.py:82
↓ 3 callers
Method
dispose
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:508
↓ 3 callers
Function
enc_transform
(X: pd.DataFrame)
demo/guide-python/cat_pipeline.py:71
↓ 3 callers
Method
end
src/common/row_set.h:62
↓ 3 callers
Method
eval
(float[][] predicts, DMatrix dmat)
jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/util/CustomEval.java:40
↓ 3 callers
Method
fit
( self, X: ArrayLike, y: ArrayLike, *, sample_weight: Optional[ArrayLi
python-package/xgboost/sklearn.py:2059
↓ 3 callers
Method
free
Internal function for testing.
python-package/xgboost/tracker.py:110
↓ 3 callers
Function
from_pystr_to_cstr
(data: str)
python-package/xgboost/_c_api.py:19
↓ 3 callers
Method
getExistingVersions
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ExternalCheckpointManager.java:63
↓ 3 callers
Method
getFeatureWeightsFromModel
Get the importance of each feature based purely on weights (number of splits) @return featureScoreMap key: feature index, value: feature importance s
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:705
↓ 3 callers
Method
getFloatInfo
(String field)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:335
↓ 3 callers
Method
getGlobalConfig
Get the global configuration
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ConfigContext.java:53
↓ 3 callers
Method
getLibraryPathFor
If a library-specific system property is set, this value is being used without further processing. Otherwise, the library path depends on the OS and a
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java:133
↓ 3 callers
Method
getNumFeature
Get number of model features. @return the number of features. @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:842
↓ 3 callers
Method
getPlatformFor
(OS os, Arch arch)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java:304
↓ 3 callers
Method
getQuantileCut
Get the Quantile Cut. @return QuantileCut @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:551
↓ 3 callers
Method
getWeight
get weight of the DMatrix @return weights @throws XGBoostError native error
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:384
↓ 3 callers
Method
get_callbacks
Get callback functions for iterating in C. This is an internal function.
python-package/xgboost/core.py:356
↓ 3 callers
Function
get_client_workers
Get workers from a dask client.
python-package/xgboost/testing/dask.py:185
↓ 3 callers
Function
get_current_use_rmm_flag
()
tests/python/test_config.py:24
↓ 3 callers
Function
get_current_verbosity
()
tests/python/test_config.py:11
↓ 3 callers
Method
get_external_dmat
(self)
python-package/xgboost/testing/__init__.py:290
↓ 3 callers
Function
get_mingw_bin
()
ops/script/test_r_package.py:19
↓ 3 callers
Method
get_num_boosting_rounds
(self)
python-package/xgboost/dask/__init__.py:2140
↓ 3 callers
Function
get_ref_categories
Get the optional reference categories from the `feature_types`. This is used by various `DMatrix` where the `feature_types` is reused for specifyi
python-package/xgboost/_data_utils.py:659
↓ 3 callers
Function
get_tm
(clf: xgb.XGBClassifier)
tests/python/test_with_sklearn.py:765
↓ 3 callers
Method
hasNext
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DataBatch.java:52
↓ 3 callers
Function
import_polars
Import polars with memory cache.
python-package/xgboost/compat.py:138
↓ 3 callers
Method
indices
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java:128
↓ 3 callers
Method
init
Internal initialization function. @param cacheMats The cached DMatrix. @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:858
↓ 3 callers
Method
is_leaf
Whether a node is leaf.
demo/guide-python/model_parser.py:104
↓ 3 callers
Function
is_on_cuda
Whether the data is a CUDA-based data structure.
python-package/xgboost/data.py:1699
↓ 3 callers
Function
is_pandas_available
Check the pandas package is available or not.
python-package/xgboost/compat.py:146
↓ 3 callers
Function
is_readthedocs_build
Return whether this is a Read the Docs build.
doc/conf.py:214
↓ 3 callers
Function
is_scipy_csr
Predicate for scipy CSR input.
python-package/xgboost/data.py:111
↓ 3 callers
Method
loadModel
Load a new Booster model from modelPath @param modelPath model path @return The created Booster. @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:79
↓ 3 callers
Method
loadSVMFile
(String filePath)
jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/util/DataLoader.java:82
↓ 3 callers
Function
make
(values: Dict[str, List[np.ndarray]], kwargs: Dict[str, Any])
python-package/xgboost/spark/data.py:260
↓ 3 callers
Function
make_qdm
Handle empty partition for QuantileDMatrix.
python-package/xgboost/spark/data.py:159
↓ 3 callers
Function
maybe_makedirs
(path)
dev/prepare_jvm_release.py:61
↓ 3 callers
Function
normpath
(path: str)
python-package/xgboost/testing/__init__.py:729
↓ 3 callers
Function
np_dtypes
Enumerate all supported dtypes from numpy.
python-package/xgboost/testing/data.py:49
↓ 3 callers
Function
paginate_request
(url, callback)
dev/query_contributors.py:23
↓ 3 callers
Method
read
(Kryo kryo, Input input)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:933
↓ 3 callers
Method
reraise
Reraise the exception thrown during iteration.
python-package/xgboost/core.py:388
↓ 3 callers
Function
run_basic_predict
Enable tests with mixed devices.
python-package/xgboost/testing/ordinal.py:322
↓ 3 callers
Function
run_categorical
( client: "Client", tree_method: str, device: str, X: dd.DataFrame, X_onehot: dd.DataFrame
tests/test_distributed/test_with_dask/test_with_dask.py:193
↓ 3 callers
Function
run_dask_classifier
( X: dxgb._DataT, y: dxgb._DaskCollection, w: dxgb._DaskCollection, model: str, tree_metho
tests/test_distributed/test_with_dask/test_with_dask.py:584
↓ 3 callers
Function
run_empty_dmatrix_reg
(client: "Client", parameters: dict)
tests/test_distributed/test_with_dask/test_with_dask.py:727
↓ 3 callers
Function
run_predict_leaf
Run tests for leaf index prediction.
python-package/xgboost/testing/predict.py:16
↓ 3 callers
Method
run_shap
( self, X: Any, y: Any, params: Dict[str, Any], client: "Client" )
tests/test_distributed/test_with_dask/test_with_dask.py:1787
↓ 3 callers
Method
setBaseMargin
Set base margin of DMatrix from array interface @param column the XGBoost Column to provide the array interface of base margin column @
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:423
↓ 3 callers
Method
setQueryId
Set query id of DMatrix from array interface @param column the XGBoost Column to provide the array interface of query id column @throws
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:230
↓ 3 callers
Method
setWeight
Set weight of DMatrix from array interface @param column the XGBoost Column to provide the array interface of weight column @throws XGB
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:395
↓ 3 callers
Function
set_param_attrs
(attr_name: str, param: Param)
python-package/xgboost/spark/estimator.py:41
↓ 3 callers
Method
set_params
(self, params_in: Dict[str, Any])
python-package/xgboost/testing/__init__.py:264
↓ 3 callers
Method
size
NOLINT
src/common/threading_utils.h:339
↓ 3 callers
Method
size
src/common/device_compression.h:74
↓ 3 callers
Function
sort_ltr_samples
Sort data based on query index and position.
python-package/xgboost/testing/data.py:813
↓ 3 callers
Function
to_cp
(x: Any, DMatrixT: Type)
tests/test_distributed/test_gpu_with_dask/test_gpu_with_dask.py:145
↓ 3 callers
Function
train
(booster: str, forest: Optional[int])
tests/python/test_with_sklearn.py:109
↓ 3 callers
Method
trees_to_dataframe
Parse a boosted tree model text dump into a pandas DataFrame structure. This feature is only defined when the decision tree model is chosen a
python-package/xgboost/core.py:3082
↓ 3 callers
Method
update
"Update the boosters for one iteration
python-package/xgboost/training.py:230
↓ 3 callers
Method
update_worker_args
Worker side arguments resolution.
python-package/xgboost/collective.py:75
↓ 2 callers
Method
Acc
src/common/ranking_utils.h:451
↓ 2 callers
Method
AddHistRows
plugin/sycl/tree/hist_row_adder.h:28
↓ 2 callers
Function
Allgather
src/c_api/coll_c_api.cc:49
↓ 2 callers
Function
AllgatherColumnSplit
src/tree/hist/evaluate_splits.h:39
↓ 2 callers
Method
AllocNode
allocate a new node, !!!!!! NOTE: may cause BUG here, nodes.resize
include/xgboost/tree_model.h:579
↓ 2 callers
Method
ApplySampling
src/tree/hist/sampler.cc:239
↓ 2 callers
Function
ApproxFeatureImportance
src/predictor/interpretability/shap.h:62
↓ 2 callers
Function
ArgSort
src/encoder/ordinal.h:208
↓ 2 callers
Method
ArrayInterfaceImpl
tests/cpp/helpers.cc:269
↓ 2 callers
Function
AssertSameOnAllWorkers
tests/cpp/common/test_quantile.cc:67
↓ 2 callers
Method
Assign
src/collective/in_memory_handler.h:36
↓ 2 callers
Function
AssignColumnBinIndex
src/data/gradient_index.h:304
↓ 2 callers
Function
BinaryAUC
src/metric/auc.cc:35
↓ 2 callers
Function
BinaryPRAUC
* \brief PR-AUC for binary classification. * * https://doi.org/10.1371/journal.pone.0092209 */
src/metric/auc.cc:189
↓ 2 callers
Method
BoostedRounds
src/learner.cc:1230
↓ 2 callers
Method
Bootstrap
src/collective/tracker.cc:143
↓ 2 callers
Function
BroadcastTree
Binomial tree broadcast using a fixed tree rooted at rank 0.
src/collective/broadcast.cc:18
↓ 2 callers
Method
BuildHist
Main entry point of this class, build histogram for tree nodes. */
src/tree/hist/histogram.h:150
← previous
next →
1,301–1,400 of 6,719, ranked by callers