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
↓ 4 callers
Function
XGDMatrixCreateFromCSR
src/c_api/c_api.cc:517
↓ 4 callers
Function
XGDMatrixCreateFromFile
src/c_api/c_api.cc:267
↓ 4 callers
Function
XGDMatrixNumNonMissing
We name the function non-missing instead of non-zero since zero is perfectly valid for XGBoost.
src/c_api/c_api.cc:920
↓ 4 callers
Function
XGDMatrixSetStrFeatureInfo
src/c_api/c_api.cc:665
↓ 4 callers
Function
XGDMatrixSliceDMatrixEx
src/c_api/c_api.cc:601
↓ 4 callers
Function
_add_column
(df: dd.DataFrame, col: dd.Series)
python-package/xgboost/dask/data.py:110
↓ 4 callers
Function
_arrow_buf_inf
(address: int, typestr: str, size: int, stream: None)
python-package/xgboost/_data_utils.py:288
↓ 4 callers
Method
_create_fn_args
Create a dictionary of objects that can be pickled for function arguments.
python-package/xgboost/dask/__init__.py:484
↓ 4 callers
Function
_from_numpy_array
Initialize data from a 2-D numpy matrix.
python-package/xgboost/data.py:269
↓ 4 callers
Method
_gen_xgb_params_dict
Generate the xgboost parameters which will be passed into xgboost library
python-package/xgboost/spark/core.py:305
↓ 4 callers
Function
_get_dask_config
()
python-package/xgboost/dask/__init__.py:685
↓ 4 callers
Function
_get_default_params_from_func
Returns a dictionary of parameters and their default value of function fn. Only the parameters with a default value will be included.
python-package/xgboost/spark/utils.py:29
↓ 4 callers
Method
_get_fit_params_default
Get the xgboost.XGBModel().fit() parameters
python-package/xgboost/spark/core.py:329
↓ 4 callers
Method
_get_predict_params_default
Get the parameters from xgboost.XGBModel().predict()
python-package/xgboost/spark/core.py:351
↓ 4 callers
Function
_get_qid
Get the special qid column from X if exists.
python-package/xgboost/sklearn.py:2079
↓ 4 callers
Function
_invalid_dataframe_dtype
(data: DataType)
python-package/xgboost/data.py:352
↓ 4 callers
Function
_is_arrow
(data: DataType)
python-package/xgboost/compat.py:175
↓ 4 callers
Function
_is_cudf_pandas
Must go before both pandas and cudf checks.
python-package/xgboost/compat.py:187
↓ 4 callers
Function
_is_df_cat
(data: Any)
python-package/xgboost/_data_utils.py:261
↓ 4 callers
Function
_is_list
(data: DataType)
python-package/xgboost/data.py:1262
↓ 4 callers
Function
_is_polars
(data: DataType)
python-package/xgboost/compat.py:169
↓ 4 callers
Function
_is_polars_lazyframe
(data: DataType)
python-package/xgboost/compat.py:161
↓ 4 callers
Function
_is_polars_series
(data: DataType)
python-package/xgboost/compat.py:165
↓ 4 callers
Function
_is_tuple
(data: DataType)
python-package/xgboost/data.py:1287
↓ 4 callers
Function
_make_dm
(DMatrixT: Type[U], ref: DMatrix, *args: Any, **kwargs: Any)
python-package/xgboost/testing/ordinal.py:490
↓ 4 callers
Function
_make_subsample_params
(device: Device, sampling_method: str)
python-package/xgboost/testing/multi_target.py:752
↓ 4 callers
Function
_objective_decorator
Decorate an objective function Converts an objective function using the typical sklearn metrics signature so that it is usable with ``xgboost
python-package/xgboost/sklearn.py:115
↓ 4 callers
Function
_parse_eval_str
Parse an eval result string from the booster.
python-package/xgboost/core.py:98
↓ 4 callers
Function
_py_version
Get the XGBoost version from Python version file.
python-package/xgboost/_c_api.py:83
↓ 4 callers
Function
_transform_arrow_table
( data: "pa.Table", enable_categorical: bool, feature_names: Optional[FeatureNames], feature_t
python-package/xgboost/data.py:823
↓ 4 callers
Function
_transform_cupy_array
(data: DataType)
python-package/xgboost/data.py:1174
↓ 4 callers
Function
_transform_pandas_df
( data: "PdDataFrame", enable_categorical: bool, feature_names: Optional[FeatureNames] = None,
python-package/xgboost/data.py:651
↓ 4 callers
Method
_validate_features
(self, feature_names: Optional[FeatureNames])
python-package/xgboost/core.py:3231
↓ 4 callers
Function
_wrap_evaluation_matrices
Convert array_like evaluation matrices into DMatrix. Perform sanity checks on the way.
python-package/xgboost/sklearn.py:682
↓ 4 callers
Function
array_hasobject
Whether the numpy array has object dtype.
python-package/xgboost/_data_utils.py:87
↓ 4 callers
Function
asarray
Wrapper to get an array.
python-package/xgboost/testing/ordinal.py:44
↓ 4 callers
Function
assert_constraint
(constraint: int, tree_method: str)
tests/python-gpu/test_monotonic_constraints.py:19
↓ 4 callers
Function
build_dataset
()
tests/python-gpu/test_gpu_pickling.py:20
↓ 4 callers
Function
cache_partitions
Extract partitions from pyspark iterator. `append` is a user defined function for accepting new partition.
python-package/xgboost/spark/data.py:38
↓ 4 callers
Method
cbegin
include/xgboost/string_view.h:52
↓ 4 callers
Function
check_extmem_qdm
Basic test for the `ExtMemQuantileDMatrix`.
python-package/xgboost/testing/updater.py:231
↓ 4 callers
Function
check_pred
(preds, labels, output_margin)
tests/python/test_with_sklearn.py:55
↓ 4 callers
Function
check_quantile_loss_extmem
Check external memory with the quantile objective.
python-package/xgboost/testing/updater.py:200
↓ 4 callers
Function
check_quantile_loss_rf
Test quantile loss with boosting random forest.
python-package/xgboost/testing/updater.py:149
↓ 4 callers
Method
convertFloatTofloat
(Float[]... datas)
jvm-packages/xgboost4j-spark-gpu/src/test/java/ml/dmlc/xgboost4j/java/DMatrixTest.java:186
↓ 4 callers
Function
copy_glob
Copy files matching a glob pattern to a target directory.
jvm-packages/create_jni.py:45
↓ 4 callers
Function
copytree_with_logging
Call shutil.copytree() with logging
python-package/packager/util.py:10
↓ 4 callers
Function
cp
(source, target)
dev/prepare_jvm_release.py:54
↓ 4 callers
Function
create_spark_df
(X: np.ndarray, y: np.ndarray)
demo/guide-python/spark_estimator_examples.py:21
↓ 4 callers
Method
empty
src/encoder/ordinal.h:67
↓ 4 callers
Method
evalSet
Evaluate the Booster model with given dmatrixs. @param evalMatrixs dmatrixs for evaluation @param evalNames name for eval dmatrixs, used for check
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:291
↓ 4 callers
Method
from_delayed
(fut: Any, x: np.ndarray)
tests/test_distributed/test_with_dask/test_with_dask.py:1564
↓ 4 callers
Method
getIndptr
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:537
↓ 4 callers
Method
getLabel
()
jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/CudfColumnBatch.java:104
↓ 4 callers
Method
getScore
Get the feature importances for gain or cover (average or total) @return featureImportanceMap key: feature index, values: feature importance score ba
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:732
↓ 4 callers
Method
getValues
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:541
↓ 4 callers
Function
get_class_name
Return the class name.
python-package/xgboost/spark/utils.py:24
↓ 4 callers
Function
get_feature_weights
Get feature weights using the demo parser.
python-package/xgboost/testing/shared.py:53
↓ 4 callers
Method
get_handle
R-package/src/xgboost_R.cc:1277
↓ 4 callers
Function
get_model_categories
Extract the optional reference categories from the booster. Used for training continuation. The result should be passed to the :py:func:`pick_ref_
python-package/xgboost/sklearn.py:623
↓ 4 callers
Method
get_xgb_params
(self)
python-package/xgboost/dask/__init__.py:2135
↓ 4 callers
Function
inet_ntop
dummy definition for old mysys32.
include/xgboost/collective/socket.h:171
↓ 4 callers
Method
inplace_predict
Perform thread-safe prediction. @param data Flattened input matrix of features for prediction @param nrow The number of preditions to make
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:405
↓ 4 callers
Method
label
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java:126
↓ 4 callers
Method
load_model
(self, fname: ModelIn)
python-package/xgboost/sklearn.py:1128
↓ 4 callers
Function
make_ltr
Synthetic dataset for learning to rank.
python-package/xgboost/testing/dask.py:192
↓ 4 callers
Function
make_pyproject
( *, use_suffix: str, require_nccl_dep: str, create_stub: bool = False )
ops/script/pypi_variants.py:29
↓ 4 callers
Method
nonMissingNum
Get the number of non-missing values of DMatrix. @return The number of non-missing values @throws XGBoostError native error
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:483
↓ 4 callers
Function
normpath
Normalize UNIX path to a native path.
dev/prepare_jvm_release.py:45
↓ 4 callers
Function
pack_rpackage
Compose the directory used for creating R package tar ball.
ops/script/test_r_package.py:25
↓ 4 callers
Method
predict
( self, X: ArrayLike, *, output_margin: bool = False, validate_feature
python-package/xgboost/sklearn.py:2328
↓ 4 callers
Function
recursive_compare
(obj_0: T, obj_1: T)
python-package/xgboost/testing/continuation.py:38
↓ 4 callers
Function
run
(params: Dict[str, Any], metric: str)
python-package/xgboost/testing/updater.py:157
↓ 4 callers
Function
run_boost_from_prediction_binary
Parameters ---------- as_frame: A callable function to convert margin into DataFrame, useful for different df implementations.
python-package/xgboost/testing/with_skl.py:17
↓ 4 callers
Function
run_clf
( X: np.ndarray, y: np.ndarray, w: Optional[np.ndarray] = None )
python-package/xgboost/testing/intercept.py:56
↓ 4 callers
Function
run_data_iterator
( n_samples_per_batch: int, n_features: int, n_batches: int, tree_method: str, subsample:
tests/python/test_data_iterator.py:77
↓ 4 callers
Method
run_evaluation_monitor
( self, D_train: xgb.DMatrix, D_valid: xgb.DMatrix, rounds: int, verbo
tests/python/test_callback.py:42
↓ 4 callers
Method
run_model_json_io
(self, parameters: dict, ext: str)
tests/python/test_model_io.py:39
↓ 4 callers
Method
run_pickling
(self, bst: Union[xgb.Booster, xgb.XGBModel])
tests/python-gpu/test_gpu_pickling.py:42
↓ 4 callers
Function
run_threaded_predict
(X, rows, predict_func)
tests/python/test_predict.py:16
↓ 4 callers
Function
run_tree_stats
assert that different workers count dosn't affect summ statistic's on root
tests/test_distributed/test_with_dask/test_with_dask.py:1981
↓ 4 callers
Function
save_pickle
(bst: Union[xgb.Booster, xgb.XGBModel], path: str)
tests/python-gpu/test_gpu_pickling.py:28
↓ 4 callers
Method
setFeatureNames
Set feature names @param values feature names to be set @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:281
↓ 4 callers
Method
setFeatureTypes
Set feature types @param values feature types to be set @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:301
↓ 4 callers
Method
setXGBDMatrixInfo
(String type, String json)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:234
↓ 4 callers
Function
shap_values
Return SHAP values for an XGBoost model. .. warning:: This function is still working in progress. This function accepts either a :py:
python-package/xgboost/interpret.py:53
↓ 4 callers
Function
skl_json
(model: str)
tests/python/generate_models.py:33
↓ 4 callers
Function
skl_ubj
(model: str)
tests/python/generate_models.py:29
↓ 4 callers
Method
split_index
Split feature index of node.
demo/guide-python/model_parser.py:73
↓ 4 callers
Method
toJson
Return array interface json string for this Column
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Column.java:28
↓ 4 callers
Function
train_result
Get training result from parameters and data.
python-package/xgboost/testing/updater.py:673
↓ 4 callers
Function
train_result
(param: dict, dmat: xgb.DMatrix, num_rounds: int)
tests/python/test_linear.py:25
↓ 4 callers
Method
update
update one iteration @param iter iteration num @throws XGBoostError native error
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java:607
↓ 4 callers
Function
validate_or_none
(meta: Optional[Sequence], name: str)
python-package/xgboost/sklearn.py:726
↓ 4 callers
Method
write
(Kryo kryo, Output output)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:920
↓ 3 callers
Method
Acc
tests/cpp/collective/test_allreduce.cc:58
↓ 3 callers
Method
Adapter
src/data/proxy_dmatrix.h:129
↓ 3 callers
Method
AddHistRow
create an empty histogram for i-th node
src/common/hist_util.h:442
↓ 3 callers
Method
AddSplit
plugin/sycl/tree/split_evaluator.h:181
↓ 3 callers
Method
AddSplit
src/tree/split_evaluator.h:166
← previous
next →
1,001–1,100 of 6,719, ranked by callers