SYMBOL INDEX (6110 symbols across 730 files) FILE: R-package/src/init.c function R_init_xgboost (line 149) | __declspec(dllexport) FILE: R-package/src/xgboost_R.cc type ErrorWithUnwind (line 40) | struct ErrorWithUnwind {} function ThrowExceptionFromRError (line 42) | void ThrowExceptionFromRError(void *, Rboolean jump) { type PtrToConstChar (line 48) | struct PtrToConstChar { function SEXP (line 52) | SEXP WrappedMkChar(void *void_ptr) { function SEXP (line 56) | SEXP SafeMkChar(const char *c_str, SEXP continuation_token) { type RFunAndEnv (line 64) | struct RFunAndEnv { function SEXP (line 69) | SEXP WrappedExecFun(void *void_ptr) { function SEXP (line 77) | SEXP SafeExecFun(SEXP R_fun, SEXP R_calling_env, SEXP continuation_token) { function SEXP (line 85) | SEXP WrappedAllocReal(void *void_ptr) { function SEXP (line 90) | SEXP SafeAllocReal(size_t size, SEXP continuation_token) { function SEXP (line 97) | SEXP WrappedAllocInteger(void *void_ptr) { function SEXP (line 102) | SEXP SafeAllocInteger(size_t size, SEXP continuation_token) { function MakeArrayInterfaceFromRMat (line 109) | [[nodiscard]] std::string MakeArrayInterfaceFromRMat(SEXP R_mat) { function MakeArrayInterfaceFromRVector (line 148) | [[nodiscard]] std::string MakeArrayInterfaceFromRVector(SEXP R_vec) { function MakeArrayInterfaceFromRDataFrame (line 174) | [[nodiscard]] std::string MakeArrayInterfaceFromRDataFrame(SEXP R_df) { function AddMissingToJson (line 215) | void AddMissingToJson(xgboost::Json *jconfig, SEXP missing, SEXPTYPE arr... function MakeJsonConfigForArray (line 229) | [[nodiscard]] std::string MakeJsonConfigForArray(SEXP missing, SEXP n_th... function SEXP (line 238) | [[nodiscard]] SEXP CopyArrayToR(const char *array_str, SEXP ctoken) { function XGB_DLL (line 327) | XGB_DLL SEXP XGCheckNullPtr_R(SEXP handle) { function XGB_DLL (line 331) | XGB_DLL SEXP XGSetArrayDimNamesInplace_R(SEXP arr, SEXP dim_names) { function XGB_DLL (line 336) | XGB_DLL SEXP XGSetVectorNamesInplace_R(SEXP arr, SEXP names) { function _DMatrixFinalizer (line 342) | void _DMatrixFinalizer(SEXP ext) { function XGB_DLL (line 351) | XGB_DLL SEXP XGBSetGlobalConfig_R(SEXP json_str) { function XGB_DLL (line 358) | XGB_DLL SEXP XGBGetGlobalConfig_R() { function XGB_DLL (line 366) | XGB_DLL SEXP XGDMatrixCreateFromURI_R(SEXP uri, SEXP silent, SEXP data_s... function XGB_DLL (line 385) | XGB_DLL SEXP XGDMatrixCreateFromMat_R(SEXP mat, SEXP missing, SEXP n_thr... function XGB_DLL (line 405) | XGB_DLL SEXP XGDMatrixCreateFromDF_R(SEXP df, SEXP missing, SEXP n_threa... function CreateFromSparse (line 431) | void CreateFromSparse(SEXP indptr, SEXP indices, SEXP data, std::string ... function XGB_DLL (line 445) | XGB_DLL SEXP XGDMatrixCreateFromCSC_R(SEXP indptr, SEXP indices, SEXP da... function XGB_DLL (line 479) | XGB_DLL SEXP XGDMatrixCreateFromCSR_R(SEXP indptr, SEXP indices, SEXP da... function XGB_DLL (line 513) | XGB_DLL SEXP XGDMatrixSliceDMatrix_R(SEXP handle, SEXP idxset, SEXP allo... function XGB_DLL (line 542) | XGB_DLL SEXP XGDMatrixSaveBinary_R(SEXP handle, SEXP fname, SEXP silent) { function XGB_DLL (line 551) | XGB_DLL SEXP XGDMatrixSetInfo_R(SEXP handle, SEXP field, SEXP array) { function XGB_DLL (line 568) | XGB_DLL SEXP XGDMatrixSetStrFeatureInfo_R(SEXP handle, SEXP field, SEXP ... function XGB_DLL (line 606) | XGB_DLL SEXP XGDMatrixGetStrFeatureInfo_R(SEXP handle, SEXP field) { function XGB_DLL (line 627) | XGB_DLL SEXP XGDMatrixGetFloatInfo_R(SEXP handle, SEXP field) { function XGB_DLL (line 640) | XGB_DLL SEXP XGDMatrixGetUIntInfo_R(SEXP handle, SEXP field) { function XGB_DLL (line 653) | XGB_DLL SEXP XGDMatrixNumRow_R(SEXP handle) { function XGB_DLL (line 661) | XGB_DLL SEXP XGDMatrixNumCol_R(SEXP handle) { function XGB_DLL (line 669) | XGB_DLL SEXP XGProxyDMatrixCreate_R() { function XGB_DLL (line 681) | XGB_DLL SEXP XGProxyDMatrixSetDataDense_R(SEXP handle, SEXP R_mat) { function XGB_DLL (line 694) | XGB_DLL SEXP XGProxyDMatrixSetDataCSR_R(SEXP handle, SEXP lst) { function XGB_DLL (line 714) | XGB_DLL SEXP XGProxyDMatrixSetDataColumnar_R(SEXP handle, SEXP lst) { type _RDataIterator (line 729) | struct _RDataIterator { method _RDataIterator (line 735) | _RDataIterator( method reset (line 740) | void reset() { method next (line 744) | int next() { function _reset_RDataIterator (line 753) | void _reset_RDataIterator(DataIterHandle iter) { function _next_RDataIterator (line 757) | int _next_RDataIterator(DataIterHandle iter) { function SEXP (line 761) | SEXP XGDMatrixCreateFromCallbackGeneric_R( function XGB_DLL (line 827) | XGB_DLL SEXP XGQuantileDMatrixCreateFromCallback_R( function XGB_DLL (line 836) | XGB_DLL SEXP XGDMatrixCreateFromCallback_R( function XGB_DLL (line 845) | XGB_DLL SEXP XGDMatrixFree_R(SEXP proxy_dmat) { function XGB_DLL (line 850) | XGB_DLL SEXP XGGetRNAIntAsDouble() { function XGB_DLL (line 855) | XGB_DLL SEXP XGDuplicate_R(SEXP obj) { function XGB_DLL (line 859) | XGB_DLL SEXP XGPointerEqComparison_R(SEXP obj1, SEXP obj2) { function XGB_DLL (line 863) | XGB_DLL SEXP XGDMatrixGetQuantileCut_R(SEXP handle) { function XGB_DLL (line 882) | XGB_DLL SEXP XGDMatrixNumNonMissing_R(SEXP handle) { function XGB_DLL (line 893) | XGB_DLL SEXP XGDMatrixGetDataAsCSR_R(SEXP handle) { function _BoosterFinalizer (line 932) | void _BoosterFinalizer(SEXP R_ptr) { function R_xlen_t (line 943) | R_xlen_t XGBAltrepPointerLength_R(SEXP R_altrepped_obj) { function SEXP (line 947) | SEXP XGBAltrepPointerGetElt_R(SEXP R_altrepped_obj, R_xlen_t idx) { function SEXP (line 951) | SEXP XGBMakeEmptyAltrep() { function XGBAltrepSetPointer (line 964) | void XGBAltrepSetPointer(SEXP R_altrepped_obj, BoosterHandle handle) { function SEXP (line 970) | SEXP XGBAltrepSerializer_R(SEXP R_altrepped_obj) { function SEXP (line 987) | SEXP XGBAltrepDeserializer_R(SEXP /*unused*/, SEXP R_state) { function Rboolean (line 1006) | Rboolean XGBAltrepInspector_R( function SEXP (line 1014) | SEXP XGBAltrepDuplicate_R(SEXP R_altrepped_obj, Rboolean deep) { function XGB_DLL (line 1047) | XGB_DLL void XGBInitializeAltrepClass_R(DllInfo *dll) { function XGB_DLL (line 1057) | XGB_DLL SEXP XGBoosterCreate_R(SEXP dmats) { function XGB_DLL (line 1078) | XGB_DLL SEXP XGBoosterReset_R(SEXP handle) { function XGB_DLL (line 1085) | XGB_DLL SEXP XGBoosterCopyInfoFromDMatrix_R(SEXP booster, SEXP dmat) { function XGB_DLL (line 1116) | XGB_DLL SEXP XGBoosterSetStrFeatureInfo_R(SEXP handle, SEXP field, SEXP ... function XGB_DLL (line 1138) | XGB_DLL SEXP XGBoosterGetStrFeatureInfo_R(SEXP handle, SEXP field) { function XGB_DLL (line 1155) | XGB_DLL SEXP XGBoosterBoostedRounds_R(SEXP handle) { function XGB_DLL (line 1166) | XGB_DLL SEXP XGBoosterGetNumFeature_R(SEXP handle) { function XGB_DLL (line 1177) | XGB_DLL SEXP XGBoosterSetParam_R(SEXP handle, SEXP name, SEXP val) { function XGB_DLL (line 1189) | XGB_DLL SEXP XGBoosterUpdateOneIter_R(SEXP handle, SEXP iter, SEXP dtrai... function XGB_DLL (line 1198) | XGB_DLL SEXP XGBoosterTrainOneIter_R(SEXP handle, SEXP dtrain, SEXP iter... function XGB_DLL (line 1220) | XGB_DLL SEXP XGBoosterEvalOneIter_R(SEXP handle, SEXP iter, SEXP dmats, ... type ProxyDmatrixError (line 1258) | struct ProxyDmatrixError : public std::exception {} type ProxyDmatrixWrapper (line 1260) | struct ProxyDmatrixWrapper { method ProxyDmatrixWrapper (line 1263) | ProxyDmatrixWrapper() { method DMatrixHandle (line 1277) | DMatrixHandle get_handle() { function GetProxyDMatrixWithBaseMargin (line 1282) | std::unique_ptr GetProxyDMatrixWithBaseMargin(SEXP ... type PredictionInputType (line 1305) | enum class PredictionInputType {DMatrix, DenseMatrix, CSRMatrix, DataFrame} function SEXP (line 1307) | SEXP XGBoosterPredictGeneric(SEXP handle, SEXP input_data, SEXP json_con... function XGB_DLL (line 1414) | XGB_DLL SEXP XGBoosterPredictFromDMatrix_R(SEXP handle, SEXP dmat, SEXP ... function XGB_DLL (line 1419) | XGB_DLL SEXP XGBoosterPredictFromDense_R(SEXP handle, SEXP R_mat, SEXP m... function XGB_DLL (line 1425) | XGB_DLL SEXP XGBoosterPredictFromCSR_R(SEXP handle, SEXP lst, SEXP missing, function XGB_DLL (line 1431) | XGB_DLL SEXP XGBoosterPredictFromColumnar_R(SEXP handle, SEXP R_df, SEXP... function XGB_DLL (line 1437) | XGB_DLL SEXP XGBoosterLoadModel_R(SEXP handle, SEXP fname) { function XGB_DLL (line 1444) | XGB_DLL SEXP XGBoosterSaveModel_R(SEXP handle, SEXP fname) { function XGB_DLL (line 1451) | XGB_DLL SEXP XGBoosterLoadModelFromRaw_R(SEXP handle, SEXP raw) { function XGB_DLL (line 1460) | XGB_DLL SEXP XGBoosterSaveModelToRaw_R(SEXP handle, SEXP json_config) { function XGB_DLL (line 1476) | XGB_DLL SEXP XGBoosterSaveJsonConfig_R(SEXP handle) { function XGB_DLL (line 1487) | XGB_DLL SEXP XGBoosterLoadJsonConfig_R(SEXP handle, SEXP value) { function XGB_DLL (line 1494) | XGB_DLL SEXP XGBoosterSerializeToBuffer_R(SEXP handle) { function XGB_DLL (line 1509) | XGB_DLL SEXP XGBoosterUnserializeFromBuffer_R(SEXP handle, SEXP raw) { function XGB_DLL (line 1518) | XGB_DLL SEXP XGBoosterDumpModel_R(SEXP handle, SEXP fmap, SEXP with_stat... function XGB_DLL (line 1564) | XGB_DLL SEXP XGBoosterGetAttr_R(SEXP handle, SEXP name) { function XGB_DLL (line 1584) | XGB_DLL SEXP XGBoosterSetAttr_R(SEXP handle, SEXP name, SEXP val) { function XGB_DLL (line 1603) | XGB_DLL SEXP XGBoosterGetAttrNames_R(SEXP handle) { function XGB_DLL (line 1623) | XGB_DLL SEXP XGBoosterFeatureScore_R(SEXP handle, SEXP json_config) { function XGB_DLL (line 1667) | XGB_DLL SEXP XGBoosterSlice_R(SEXP handle, SEXP begin_layer, SEXP end_la... function XGB_DLL (line 1682) | XGB_DLL SEXP XGBoosterSliceAndReplace_R(SEXP handle, SEXP begin_layer, S... FILE: R-package/src/xgboost_custom.cc type dmlc (line 10) | namespace dmlc { type xgboost (line 16) | namespace xgboost { type common (line 33) | namespace common { function CheckNAN (line 36) | bool CheckNAN(double v) { function LogGamma (line 40) | double LogGamma(double v) { type xgboost (line 32) | namespace xgboost { type common (line 33) | namespace common { function CheckNAN (line 36) | bool CheckNAN(double v) { function LogGamma (line 40) | double LogGamma(double v) { FILE: demo/aft_survival/aft_survival_demo_with_optuna.py function objective (line 42) | def objective(trial): FILE: demo/aft_survival/aft_survival_viz_demo.py function plot_censored_labels (line 19) | def plot_censored_labels( class PlotIntermediateModel (line 67) | class PlotIntermediateModel(xgb.callback.TrainingCallback): method __init__ (line 70) | def __init__(self) -> None: method after_iteration (line 73) | def after_iteration( FILE: demo/c-api/basic/c-api-demo.c function MakeArrayInterface (line 25) | static void MakeArrayInterface(size_t data, size_t n, char const* typest... function MakeConfig (line 33) | static void MakeConfig(int n_threads, size_t length, char* out) { function main (line 39) | int main() { FILE: demo/c-api/external-memory/external_memory.c type DMatrixHandle (line 23) | typedef DMatrixHandle DMatrix; type BoosterHandle (line 24) | typedef BoosterHandle Booster; type DataIter (line 26) | typedef struct _DataIter { function DataIterator_Init (line 59) | void DataIterator_Init(DataIter *self, size_t batch_size, size_t n_batch... function DataIterator_Free (line 94) | void DataIterator_Free(DataIter *self) { function DataIterator_Next (line 105) | int DataIterator_Next(DataIterHandle handle) { function DataIterator_Reset (line 129) | void DataIterator_Reset(DataIterHandle handle) { function TrainModel (line 137) | void TrainModel(DMatrix Xy) { function main (line 163) | int main() { FILE: demo/c-api/inference/inference.c type BoosterHandle (line 31) | typedef BoosterHandle Booster; type DMatrixHandle (line 32) | typedef DMatrixHandle DMatrix; type _Matrix (line 35) | struct _Matrix { type _Matrix (line 44) | struct _Matrix function Matrix_Create (line 47) | void Matrix_Create(Matrix *self, float const *data, size_t n_samples, function Matrix_Random (line 68) | void Matrix_Random(Matrix *self, size_t n_samples, size_t n_features) { function Matrix_NSamples (line 86) | size_t Matrix_NSamples(Matrix self) { return self->shape[0]; } function Matrix_NFeatures (line 88) | size_t Matrix_NFeatures(Matrix self) { return self->shape[1]; } function Matrix_At (line 90) | float Matrix_At(Matrix self, size_t i, size_t j) { function Matrix_Print (line 94) | void Matrix_Print(Matrix self) { function Matrix_Free (line 103) | void Matrix_Free(Matrix self) { function main (line 115) | int main() { FILE: demo/dask/cpu_survival.py function main (line 17) | def main(client: Client) -> da.Array: FILE: demo/dask/cpu_training.py function main (line 14) | def main(client: Client) -> None: FILE: demo/dask/dask_callbacks.py function probability_for_going_backward (line 18) | def probability_for_going_backward(epoch: int) -> float: class CustomEarlyStopping (line 23) | class CustomEarlyStopping(xgb.callback.TrainingCallback): method __init__ (line 28) | def __init__( method after_iteration (line 41) | def after_iteration( function main (line 63) | def main(client: Client) -> None: FILE: demo/dask/dask_learning_to_rank.py function load_mslr_10k (line 32) | def load_mslr_10k( function ranking_demo (line 99) | def ranking_demo(client: Client, args: argparse.Namespace) -> None: function ranking_wo_split_demo (line 123) | def ranking_wo_split_demo(client: Client, args: argparse.Namespace) -> N... function gen_client (line 153) | def gen_client(device: str) -> Generator[Client, None, None]: FILE: demo/dask/forward_logging.py function _get_logger (line 22) | def _get_logger() -> logging.Logger: class ForwardLoggingMonitor (line 31) | class ForwardLoggingMonitor(EvaluationMonitor): method __init__ (line 32) | def __init__( class WorkerEventMonitor (line 62) | class WorkerEventMonitor(EvaluationMonitor): method __init__ (line 69) | def __init__(self, rank: int = 0, period: int = 1) -> None: function hist_train (line 75) | def hist_train( FILE: demo/dask/gpu_training.py function using_dask_matrix (line 17) | def using_dask_matrix(client: Client, X: da.Array, y: da.Array) -> da.Ar... function using_quantile_device_dmatrix (line 42) | def using_quantile_device_dmatrix(client: Client, X: da.Array, y: da.Arr... FILE: demo/dask/sklearn_cpu_training.py function main (line 12) | def main(client: Client) -> dxgb.Booster: FILE: demo/dask/sklearn_gpu_training.py function main (line 16) | def main(client: Client) -> dxgb.Booster: FILE: demo/guide-python/callbacks.py class Plotting (line 21) | class Plotting(xgb.callback.TrainingCallback): method __init__ (line 27) | def __init__(self, rounds: int) -> None: method _get_key (line 36) | def _get_key(self, data: str, metric: str) -> str: method after_iteration (line 39) | def after_iteration( function custom_callback (line 62) | def custom_callback() -> None: function check_point_callback (line 89) | def check_point_callback() -> None: FILE: demo/guide-python/cat_in_the_dat.py function load_cat_in_the_dat (line 37) | def load_cat_in_the_dat() -> tuple[pd.DataFrame, pd.Series]: function categorical_model (line 76) | def categorical_model(X: pd.DataFrame, y: pd.Series, output_dir: str) ->... function onehot_encoding_model (line 100) | def onehot_encoding_model(X: pd.DataFrame, y: pd.Series, output_dir: str... FILE: demo/guide-python/cat_pipeline.py function make_example_data (line 34) | def make_example_data() -> Tuple[pd.DataFrame, pd.Series, List[str]]: function native (line 58) | def native() -> None: function pipeline (line 104) | def pipeline() -> None: FILE: demo/guide-python/categorical.py function make_categorical (line 29) | def make_categorical( function main (line 57) | def main() -> None: FILE: demo/guide-python/continuation.py function training_continuation (line 15) | def training_continuation(tmpdir: str, use_pickle: bool) -> None: function training_continuation_early_stop (line 50) | def training_continuation_early_stop(tmpdir: str, use_pickle: bool) -> N... FILE: demo/guide-python/cross_validation.py function fpreproc (line 58) | def fpreproc( function logregobj (line 80) | def logregobj(preds: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[np.ndarra... function evalerror (line 88) | def evalerror(preds: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[str, float]: FILE: demo/guide-python/custom_rmsle.py function generate_data (line 41) | def generate_data() -> Tuple[xgb.DMatrix, xgb.DMatrix]: function native_rmse (line 67) | def native_rmse(dtrain: xgb.DMatrix, function native_rmsle (line 88) | def native_rmsle(dtrain: xgb.DMatrix, function py_rmsle (line 109) | def py_rmsle(dtrain: xgb.DMatrix, dtest: xgb.DMatrix) -> Dict: function plot_history (line 158) | def plot_history( function main (line 184) | def main(args: argparse.Namespace) -> None: FILE: demo/guide-python/custom_softmax.py function softmax (line 38) | def softmax(x: np.ndarray) -> np.ndarray: function softprob_obj (line 44) | def softprob_obj(predt: np.ndarray, data: xgb.DMatrix) -> Tuple[np.ndarr... function predict (line 90) | def predict(booster: xgb.Booster, X: xgb.DMatrix) -> np.ndarray: function merror (line 108) | def merror(predt: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[str, np.floa... function plot_history (line 129) | def plot_history( function main (line 149) | def main(args: argparse.Namespace) -> None: FILE: demo/guide-python/distributed_extmem_basic.py function _checkcu (line 41) | def _checkcu(status: "cudaError_t") -> None: function device_mem_total (line 48) | def device_mem_total() -> int: function make_batches (line 57) | def make_batches( class Iterator (line 73) | class Iterator(xgboost.DataIter): method __init__ (line 76) | def __init__(self, device: str, file_paths: List[Tuple[str, str]]) -> ... method load_file (line 85) | def load_file(self) -> Tuple[np.ndarray, np.ndarray]: method next (line 102) | def next(self, input_data: Callable) -> bool: method reset (line 118) | def reset(self) -> None: function setup_numa (line 123) | def setup_numa() -> None: function setup_async_pool (line 145) | def setup_async_pool() -> None: function try_run (line 179) | def try_run(fn: Callable[P, R]) -> Callable[P, R]: function hist_train (line 197) | def hist_train( function launch_workers (line 254) | def launch_workers(tmpdir: str, args: argparse.Namespace) -> None: function main (line 294) | def main() -> None: FILE: demo/guide-python/external_memory.py function _checkcu (line 51) | def _checkcu(status: "cudaError_t") -> None: function device_mem_total (line 58) | def device_mem_total() -> int: function make_batches (line 67) | def make_batches( class Iterator (line 85) | class Iterator(xgboost.DataIter): method __init__ (line 88) | def __init__( method load_file (line 99) | def load_file(self) -> Tuple[np.ndarray, np.ndarray]: method next (line 114) | def next(self, input_data: Callable) -> bool: method reset (line 130) | def reset(self) -> None: function hist_train (line 135) | def hist_train(it: Iterator) -> None: function approx_train (line 154) | def approx_train(it: Iterator) -> None: function main (line 171) | def main(tmpdir: str, args: argparse.Namespace) -> None: function setup_async_pool (line 184) | def setup_async_pool() -> None: function setup_rmm (line 212) | def setup_rmm() -> None: FILE: demo/guide-python/feature_weights.py function main (line 16) | def main(args: argparse.Namespace) -> None: FILE: demo/guide-python/individual_trees.py function individual_tree (line 19) | def individual_tree() -> None: function model_slices (line 61) | def model_slices() -> None: FILE: demo/guide-python/learning_to_rank.py function load_mslr_10k (line 34) | def load_mslr_10k(data_path: str, cache_path: str) -> RelDataCV: function ranking_demo (line 90) | def ranking_demo(args: argparse.Namespace) -> None: function click_data_demo (line 124) | def click_data_demo(args: argparse.Namespace) -> None: FILE: demo/guide-python/model_parser.py function to_integers (line 26) | def to_integers(data: Union[bytes, List[int]]) -> List[int]: class SplitType (line 32) | class SplitType(IntEnum): class Node (line 38) | class Node: class Tree (line 54) | class Tree: method __init__ (line 57) | def __init__(self, tree_id: int, nodes: Sequence[Node]) -> None: method loss_change (line 61) | def loss_change(self, node_id: int) -> float: method sum_hessian (line 65) | def sum_hessian(self, node_id: int) -> float: method base_weight (line 69) | def base_weight(self, node_id: int) -> float: method split_index (line 73) | def split_index(self, node_id: int) -> int: method split_condition (line 77) | def split_condition(self, node_id: int) -> float: method split_categories (line 81) | def split_categories(self, node_id: int) -> List[int]: method is_categorical (line 85) | def is_categorical(self, node_id: int) -> bool: method is_numerical (line 89) | def is_numerical(self, node_id: int) -> bool: method parent (line 92) | def parent(self, node_id: int) -> int: method left_child (line 96) | def left_child(self, node_id: int) -> int: method right_child (line 100) | def right_child(self, node_id: int) -> int: method is_leaf (line 104) | def is_leaf(self, node_id: int) -> bool: method is_deleted (line 108) | def is_deleted(self, node_id: int) -> bool: method __str__ (line 112) | def __str__(self) -> str: class Model (line 143) | class Model: method __init__ (line 146) | def __init__(self, model: dict) -> None: method print_model (line 256) | def print_model(self) -> None: FILE: demo/guide-python/multioutput_reduced_gradient.py class LsObjMean (line 28) | class LsObjMean(TreeObjective): method __init__ (line 31) | def __init__(self, device: str) -> None: method __call__ (line 34) | def __call__( method split_grad (line 49) | def split_grad( function svd_class (line 62) | def svd_class(device: str) -> BaseEstimator: class LsObjSvd (line 71) | class LsObjSvd(LsObjMean): method __init__ (line 74) | def __init__(self, device: str) -> None: method split_grad (line 77) | def split_grad( function main (line 97) | def main() -> None: FILE: demo/guide-python/multioutput_regression.py function plot_predt (line 30) | def plot_predt( function gen_circle (line 39) | def gen_circle() -> Tuple[np.ndarray, np.ndarray]: function rmse_model (line 50) | def rmse_model(strategy: str, ax: Optional[matplotlib.axes.Axes]) -> None: function custom_rmse_model (line 69) | def custom_rmse_model(strategy: str, ax: Optional[matplotlib.axes.Axes])... FILE: demo/guide-python/predict_first_ntree.py function native_interface (line 17) | def native_interface() -> None: function sklearn_interface (line 37) | def sklearn_interface() -> None: FILE: demo/guide-python/quantile_data_iterator.py class IterForDMatrixDemo (line 36) | class IterForDMatrixDemo(xgboost.core.DataIter): method __init__ (line 44) | def __init__(self) -> None: method as_array (line 59) | def as_array(self) -> cupy.ndarray: method as_array_labels (line 62) | def as_array_labels(self) -> cupy.ndarray: method as_array_weights (line 65) | def as_array_weights(self) -> cupy.ndarray: method data (line 68) | def data(self) -> cupy.ndarray: method labels (line 72) | def labels(self) -> cupy.ndarray: method weights (line 76) | def weights(self) -> cupy.ndarray: method reset (line 79) | def reset(self) -> None: method next (line 83) | def next(self, input_data: Callable) -> bool: function main (line 96) | def main() -> None: FILE: demo/guide-python/quantile_regression.py function f (line 26) | def f(x: np.ndarray) -> np.ndarray: function quantile_loss (line 31) | def quantile_loss(args: argparse.Namespace) -> None: FILE: demo/guide-python/spark_estimator_examples.py function create_spark_df (line 21) | def create_spark_df(X: np.ndarray, y: np.ndarray) -> DataFrame: FILE: demo/guide-python/update_process.py function main (line 18) | def main() -> None: FILE: demo/kaggle-higgs/higgs-cv.py function fpreproc (line 20) | def fpreproc(dtrain, dtest, param): FILE: demo/nvflare/horizontal/custom/controller.py class XGBoostController (line 17) | class XGBoostController(Controller): method __init__ (line 18) | def __init__(self, port: int, world_size: int, server_key_path: str, method start_controller (line 37) | def start_controller(self, fl_ctx: FLContext): method stop_controller (line 44) | def stop_controller(self, fl_ctx: FLContext): method process_result_of_unknown_task (line 48) | def process_result_of_unknown_task(self, client: Client, task_name: str, method control_flow (line 53) | def control_flow(self, abort_signal: Signal, fl_ctx: FLContext): FILE: demo/nvflare/horizontal/custom/trainer.py class SupportedTasks (line 13) | class SupportedTasks(object): class XGBoostTrainer (line 17) | class XGBoostTrainer(Executor): method __init__ (line 18) | def __init__(self, server_address: str, world_size: int, server_cert_p... method execute (line 37) | def execute(self, task_name: str, shareable: Shareable, fl_ctx: FLCont... method _do_training (line 52) | def _do_training(self, fl_ctx: FLContext): FILE: demo/nvflare/vertical/custom/controller.py class XGBoostController (line 17) | class XGBoostController(Controller): method __init__ (line 18) | def __init__(self, port: int, world_size: int, server_key_path: str, method start_controller (line 37) | def start_controller(self, fl_ctx: FLContext): method stop_controller (line 44) | def stop_controller(self, fl_ctx: FLContext): method process_result_of_unknown_task (line 48) | def process_result_of_unknown_task(self, client: Client, task_name: str, method control_flow (line 53) | def control_flow(self, abort_signal: Signal, fl_ctx: FLContext): FILE: demo/nvflare/vertical/custom/trainer.py class SupportedTasks (line 13) | class SupportedTasks(object): class XGBoostTrainer (line 17) | class XGBoostTrainer(Executor): method __init__ (line 18) | def __init__(self, server_address: str, world_size: int, server_cert_p... method execute (line 37) | def execute(self, task_name: str, shareable: Shareable, fl_ctx: FLCont... method _do_training (line 52) | def _do_training(self, fl_ctx: FLContext): FILE: demo/rmm_plugin/rmm_mgpu_with_dask.py function main (line 14) | def main(client): FILE: dev/prepare_jvm_release.py function normpath (line 45) | def normpath(path): function cp (line 54) | def cp(source, target): function maybe_makedirs (line 61) | def maybe_makedirs(path): function cd (line 72) | def cd(path): function run (line 83) | def run(command, **kwargs): function get_current_commit_hash (line 88) | def get_current_commit_hash(): function get_current_git_branch (line 93) | def get_current_git_branch(): function retrieve (line 101) | def retrieve(url, filename=None): function main (line 106) | def main(): FILE: dev/query_contributors.py function paginate_request (line 23) | def paginate_request(url, callback): function process_commit_list (line 37) | def process_commit_list(commit_list): function process_review_list (line 44) | def process_review_list(review_list): function process_comment_list (line 46) | def process_comment_list(comment_list): FILE: doc/conf.py function run_doxygen (line 37) | def run_doxygen() -> None: function get_branch (line 69) | def get_branch() -> str: function get_sha (line 99) | def get_sha(branch: str) -> str | None: function download_jvm_docs (line 113) | def download_jvm_docs() -> None: function download_r_docs (line 162) | def download_r_docs() -> None: function is_readthedocs_build (line 215) | def is_readthedocs_build(): function setup (line 408) | def setup(app): FILE: include/xgboost/base.h function namespace (line 89) | namespace xgboost { FILE: include/xgboost/byteswap.h function namespace (line 18) | namespace xgboost { FILE: include/xgboost/c_api.h type bst_ulong (line 28) | typedef uint64_t bst_ulong; type XGBoostBatchCSR (line 379) | typedef struct { // NOLINT(*) FILE: include/xgboost/cache.h function namespace (line 18) | namespace xgboost { function ClearExpired (line 71) | void ClearExpired() { function key (line 177) | auto key = Key{m.get(), std::this_thread::get_id()} function Container (line 188) | decltype(container_) const& Container() { FILE: include/xgboost/collective/poll_utils.h type WSAPOLLFD (line 62) | typedef struct pollfd { function namespace (line 76) | namespace rabit { FILE: include/xgboost/collective/result.h type ResultImpl (line 14) | struct ResultImpl { function explicit (line 29) | explicit ResultImpl(std::string msg, std::unique_ptr prev) FILE: include/xgboost/collective/socket.h function MingWError (line 65) | inline void MingWError() { LOG(FATAL) << "Distributed training on mingw ... function namespace (line 68) | namespace system { type class (line 184) | enum class function class (line 192) | class SockAddrV6 { function class (line 216) | class SockAddrV4 { function explicit (line 253) | explicit SockAddress(SockAddrV4 const &addr) : v4_{addr} function SockDomain (line 277) | SockDomain domain_{SockDomain::kV4}; type sockaddr (line 321) | struct sockaddr function errc (line 343) | auto errc = std::error_code{system::LastError(), std::system_category()}; function errc (line 347) | auto errc = std::error_code{optval, std::system_category()} function Result (line 366) | [[nodiscard]] Result NonBlocking(bool non_block) { function Result (line 392) | [[nodiscard]] Result RecvTimeout(std::chrono::seconds timeout) { function Result (line 411) | [[nodiscard]] Result SetBufSize(std::int32_t n_bytes) { function Result (line 425) | [[nodiscard]] Result SendBufSize(std::int32_t *n_bytes) { function Result (line 434) | [[nodiscard]] Result RecvBufSize(std::int32_t *n_bytes) { function Result (line 444) | [[nodiscard]] Result PendingSendSize(std::int32_t *n_bytes) const { function Result (line 448) | [[nodiscard]] Result PendingRecvSize(std::int32_t *n_bytes) const { function Result (line 454) | [[nodiscard]] Result SetKeepAlive() { function Result (line 484) | [[nodiscard]] Result Accept(TCPSocket *out, SockAddress *addr) { function noexcept (line 530) | noexcept(true) { std::swap(this->handle_, that.handle_); } function noexcept (line 532) | noexcept(true) { function Result (line 549) | [[nodiscard]] Result BindHost(std::int32_t* p_out) { function Result (line 608) | [[nodiscard]] Result Bind(StringView ip, std::int32_t *port) { function Result (line 639) | [[nodiscard]] Result SendAll(void const *buf, std::size_t len, std::size... function Result (line 659) | [[nodiscard]] Result RecvAll(void *buf, std::size_t len, std::size_t *n_... function Result (line 715) | [[nodiscard]] Result Close() { function Result (line 735) | [[nodiscard]] Result Shutdown() { function TCPSocket (line 765) | TCPSocket socket{fd}; function socket (line 782) | auto socket = new TCPSocket{fd}; function string (line 817) | string *p_out) { FILE: include/xgboost/context.h function namespace (line 18) | namespace xgboost { function InvalidOrdinal (line 40) | struct DeviceOrd { function device (line 45) | enum Type : std::int16_t { function that (line 108) | [[nodiscard]] bool operator==(DeviceOrd const& that) const { function that (line 111) | [[nodiscard]] bool operator!=(DeviceOrd const& that) const { return !(*t... type Context (line 142) | struct Context function DeviceOrd (line 147) | DeviceOrd device_{DeviceOrd::CPU()}; function fail_on_invalid_gpu_id (line 171) | bool fail_on_invalid_gpu_id{false}; FILE: include/xgboost/data.h type Context (line 31) | struct Context type class (line 34) | enum class type class (line 36) | enum class type class (line 38) | enum class type TypedArrayRef (line 44) | struct TypedArrayRef { function SizeType (line 51) | SizeType ndim{0} function bst_idx_t (line 73) | bst_idx_t num_row_{0} function DataSplitMode (line 81) | DataSplitMode data_split_mode{DataSplitMode::kRow}; type BatchParam (line 274) | struct BatchParam { function prefetch_copy (line 301) | bool prefetch_copy{true}; function class (line 453) | class CSCPage : public SparsePage { function explicit (line 466) | explicit ExtSparsePage(std::shared_ptr p) : page{std::... function class (line 469) | class SortedCSCPage : public SparsePage { function explicit (line 493) | explicit BatchIterator(BatchIteratorImpl* impl) { impl_.reset(impl); } function explicit (line 494) | explicit BatchIterator(std::shared_ptr> impl) { imp... function AtEnd (line 509) | [[nodiscard]] bool AtEnd() const { type XGBAPIThreadLocalEntry (line 531) | struct XGBAPIThreadLocalEntry type ExtMemConfig (line 534) | struct ExtMemConfig { function hw_decomp_ratio (line 549) | float hw_decomp_ratio{std::numeric_limits::quiet_NaN()}; function class (line 577) | class DMatrix { function namespace (line 797) | namespace dmlc { FILE: include/xgboost/feature_map.h function namespace (line 17) | namespace xgboost { FILE: include/xgboost/gbm.h function namespace (line 23) | namespace xgboost { type GradientBoosterReg (line 175) | struct GradientBoosterReg FILE: include/xgboost/global_config.h type GlobalConfiguration (line 16) | struct GlobalConfiguration function use_rmm (line 18) | bool use_rmm{false}; FILE: include/xgboost/gradient.h function namespace (line 12) | namespace xgboost { FILE: include/xgboost/host_device_vector.h function namespace (line 59) | namespace xgboost { FILE: include/xgboost/intrusive_ptr.h function class (line 20) | class IntrusivePtrCell { function DecRef (line 80) | void DecRef(T *ptr) { type Hash (line 94) | struct Hash { function explicit (line 104) | explicit IntrusivePtr(T *p) : ptr_{p} function ptr_ (line 111) | IntrusivePtr(IntrusivePtr const &that) : ptr_{that.ptr_} function reset (line 125) | void reset() { // NOLINT function reset (line 129) | void reset(element_type *that) { IntrusivePtr{that}.swap(*this); } FILE: include/xgboost/json.h function namespace (line 19) | namespace xgboost { function class (line 223) | class JsonObject : public Value { function IsClassOf (line 249) | static bool IsClassOf(Value const* value) { return value->Type() == Valu... function namespace (line 253) | namespace detail { function class (line 261) | class JsonNumber : public Value { function class (line 396) | class Json { FILE: include/xgboost/json_io.h function namespace (line 17) | namespace xgboost { function class (line 111) | class JsonWriter { function virtual (line 143) | virtual void Visit(F64Array const*) { LOG(FATAL) << "Only UBJSON format ... function T (line 161) | T ToBigEndian(T v) { function T (line 166) | T ToBigEndian(T v) { function class (line 181) | class UBJReader : public JsonReader { FILE: include/xgboost/learner.h type XGBAPIThreadLocalEntry (line 36) | struct XGBAPIThreadLocalEntry type class (line 41) | enum class function virtual (line 146) | virtual int32_t BoostedRounds() const = 0; FILE: include/xgboost/linalg.h function namespace (line 41) | namespace xgboost::linalg { function detail (line 250) | constexpr detail::AllTag All() { return {}; } type Order (line 259) | enum Order : std::uint8_t { function ShapeT (line 289) | ShapeT shape_{0} function T (line 291) | T *ptr_{nullptr}; // pointer of data_ to avoid bound check. function Json (line 691) | Json array_interface{Object{}} function ShapeT (line 767) | ShapeT shape_{0} function Order (line 768) | Order order_{Order::kC}; function SetDevice (line 953) | void SetDevice(DeviceOrd device) const { data_.SetDevice(device); } FILE: include/xgboost/linear_updater.h function namespace (line 18) | namespace xgboost { FILE: include/xgboost/logging.h function namespace (line 24) | namespace xgboost { FILE: include/xgboost/metric.h function namespace (line 22) | namespace xgboost { FILE: include/xgboost/model.h function namespace (line 10) | namespace xgboost { FILE: include/xgboost/multi_target_tree_model.h function namespace (line 20) | namespace xgboost { FILE: include/xgboost/objective.h function namespace (line 22) | namespace xgboost { function virtual (line 86) | virtual void ProbToMargin(linalg::Vector* /*base_score*/) const {} function Context (line 112) | [[nodiscard]] Context const* Ctx() const { return this->ctx_; } FILE: include/xgboost/parameter.h function namespace (line 82) | namespace xgboost { FILE: include/xgboost/predictor.h function namespace (line 22) | namespace xgboost::gbm { function namespace (line 26) | namespace xgboost { function class (line 49) | class PredictionContainer : public DMatrixCache { function class (line 72) | class Predictor { type PredictorReg (line 183) | struct PredictorReg FILE: include/xgboost/span.h function namespace (line 76) | namespace xgboost::common { function typename (line 281) | typename SpanType::index_type index_ { 0 }; type ExtentValue (line 296) | struct ExtentValue type IsAllowedExtentConversion (line 311) | struct IsAllowedExtentConversion function XGBOOST_DEVICE (line 330) | XGBOOST_DEVICE constexpr bool operator()(const T& _x, const T& _y) const { function XGBOOST_DEVICE (line 337) | XGBOOST_DEVICE constexpr bool operator()(const T& _x, const T& _y) const { function LexicographicalCompare (line 345) | bool LexicographicalCompare(InputIt1 first1, InputIt1 last1, function XGBOOST_DEVICE (line 458) | XGBOOST_DEVICE Span(pointer _first, pointer _last) : function XGBOOST_DEVICE (line 503) | XGBOOST_DEVICE constexpr iterator begin() const __span_noexcept { // NO... function XGBOOST_DEVICE (line 515) | XGBOOST_DEVICE constexpr const_iterator cend() const __span_noexcept { ... function pointer (line 620) | pointer data_ { nullptr }; function index_type (line 690) | index_type size_{0} function XGBOOST_DEVICE (line 694) | XGBOOST_DEVICE IterSpan(It it, index_type size) : it_{std::move(it)}, si... FILE: include/xgboost/string_view.h function namespace (line 15) | namespace xgboost { FILE: include/xgboost/task.h function namespace (line 11) | namespace xgboost { FILE: include/xgboost/tree_model.h function namespace (line 27) | namespace xgboost { type RTreeNodeStat (line 57) | struct RTreeNodeStat { function class (line 81) | class RegTree : public Model { function XGBOOST_DEVICE (line 135) | XGBOOST_DEVICE void SetLeftChild(int nid) { this->cleft_ = nid; } function XGBOOST_DEVICE (line 140) | XGBOOST_DEVICE void SetRightChild(int nid) { this->cright_ = nid; } function XGBOOST_DEVICE (line 159) | XGBOOST_DEVICE void SetLeaf(bst_float value, int right = kInvalidNodeId) { function XGBOOST_DEVICE (line 165) | XGBOOST_DEVICE void MarkDelete() { this->sindex_ = kDeletedNodeMarker; } function XGBOOST_DEVICE (line 167) | XGBOOST_DEVICE void Reuse() { this->sindex_ = 0; } function parent_ (line 189) | int32_t parent_{kInvalidNodeId}; function CategoricalSplitMatrix (line 521) | [[nodiscard]] CategoricalSplitMatrix GetCategoriesMatrix(DeviceOrd devic... function bst_node_t (line 534) | [[nodiscard]] bst_node_t LeftChild(bst_node_t nidx) const { function bst_node_t (line 540) | [[nodiscard]] bst_node_t RightChild(bst_node_t nidx) const { function bst_node_t (line 579) | bst_node_t AllocNode() { function DeleteNode (line 597) | void DeleteNode(int nid) { function Init (line 612) | inline void RegTree::FVec::Init(size_t size) { function Fill (line 618) | inline void RegTree::FVec::Fill(SparsePage::Inst const& inst) { function Drop (line 629) | inline void RegTree::FVec::Drop() { this->Init(this->Size()); } function GetFvalue (line 633) | inline float RegTree::FVec::GetFvalue(size_t i) const { return data_[i]; } function IsMissing (line 635) | inline bool RegTree::FVec::IsMissing(size_t i) const { return std::isnan... function StringView (line 640) | inline StringView MTNotImplemented() { FILE: include/xgboost/tree_updater.h function namespace (line 25) | namespace xgboost { FILE: jvm-packages/create_jni.py function cd (line 28) | def cd(path): function maybe_makedirs (line 39) | def maybe_makedirs(path): function run (line 49) | def run(command, **kwargs): function cp (line 54) | def cp(source, target): function normpath (line 61) | def normpath(path): function native_build (line 70) | def native_build(cli_args: argparse.Namespace) -> None: FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/BasicWalkThrough.java class BasicWalkThrough (line 35) | public class BasicWalkThrough { method checkPredicts (line 36) | public static boolean checkPredicts(float[][] fPredicts, float[][] sPr... method saveDumpModel (line 50) | public static void saveDumpModel(String modelPath, String[] modelInfos... method main (line 63) | public static void main(String[] args) throws IOException, XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/BoostFromPrediction.java class BoostFromPrediction (line 30) | public class BoostFromPrediction { method main (line 31) | public static void main(String[] args) throws XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/CrossValidation.java class CrossValidation (line 30) | public class CrossValidation { method main (line 31) | public static void main(String[] args) throws IOException, XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/CustomObjective.java class CustomObjective (line 38) | public class CustomObjective { class LogRegObj (line 42) | public static class LogRegObj implements IObjective { method sigmoid (line 51) | public float sigmoid(float input) { method transform (line 56) | public float[][] transform(float[][] predicts) { method getGradient (line 67) | @Override class EvalError (line 104) | public static class EvalError implements IEvaluation { method EvalError (line 109) | public EvalError() { method getMetric (line 112) | @Override method eval (line 117) | @Override method main (line 140) | public static void main(String[] args) throws XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/EarlyStopping.java class EarlyStopping (line 29) | public class EarlyStopping { method main (line 30) | public static void main(String[] args) throws IOException, XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/GeneralizedLinearModel.java class GeneralizedLinearModel (line 32) | public class GeneralizedLinearModel { method main (line 33) | public static void main(String[] args) throws XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/PredictFirstNtree.java class PredictFirstNtree (line 31) | public class PredictFirstNtree { method main (line 32) | public static void main(String[] args) throws XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/PredictLeafIndices.java class PredictLeafIndices (line 30) | public class PredictLeafIndices { method main (line 31) | public static void main(String[] args) throws XGBoostError { FILE: jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/flink/DistTrainWithFlinkExample.java class DistTrainWithFlinkExample (line 39) | public class DistTrainWithFlinkExample { method runPrediction (line 41) | static Tuple2> runPrediction( method parseCsv (line 75) | private static MapOperator mapFunction(Tuple13 params, int round, Map> it, method trainBooster (line 108) | private Booster trainBooster(DMatrix trainMat, class VectorToPointMapper (line 138) | private static class VectorToPointMapper method apply (line 141) | @Override method loadModelFromHadoopFile (line 165) | public static XGBoostModel loadModelFromHadoopFile(final String modelP... method train (line 181) | public static XGBoostModel train(DataSet> dtrain, FILE: jvm-packages/xgboost4j-flink/src/main/java/ml/dmlc/xgboost4j/java/flink/XGBoostModel.java class XGBoostModel (line 40) | public class XGBoostModel implements Serializable { method XGBoostModel (line 48) | public XGBoostModel(Booster booster) { method saveModelAsHadoopFile (line 58) | public void saveModelAsHadoopFile(String modelPath) throws IOException... method toByteArray (line 62) | public byte[] toByteArray(String format) throws XGBoostError { method saveModelAsHadoopFile (line 74) | public void saveModelAsHadoopFile(String modelPath, String format) method predict (line 85) | public float[][] predict(DMatrix testSet) throws XGBoostError { method predict (line 95) | public DataSet predict(DataSet data) { class PredictorFunction (line 100) | private static class PredictorFunction implements MapPartitionFunction... method PredictorFunction (line 104) | public PredictorFunction(Booster booster) { method mapPartition (line 108) | @Override method fromVector (line 125) | private static LabeledPoint fromVector(SparseVector vector) { FILE: jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/CudfColumn.java class CudfColumn (line 32) | @JsonInclude(JsonInclude.Include.NON_NULL) method CudfColumn (line 40) | public CudfColumn(long shape, long data, String typestr, int version) { method from (line 51) | public static CudfColumn from(ColumnVector cv) { method getShape (line 80) | public List getShape() { method getData (line 84) | public List getData() { method getTypestr (line 88) | public String getTypestr() { method getVersion (line 92) | public int getVersion() { method getMask (line 96) | public CudfColumn getMask() { method setMask (line 100) | public void setMask(CudfColumn mask) { method toJson (line 104) | @Override FILE: jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/CudfColumnBatch.java class CudfColumnBatch (line 33) | public class CudfColumnBatch extends ColumnBatch { method CudfColumnBatch (line 51) | public CudfColumnBatch(Table featureTable, Table labelTable, Table wei... method initializeCudfColumns (line 80) | private List initializeCudfColumns(Table table) { method getFeatureTable (line 90) | public Table getFeatureTable() { method getLabelTable (line 95) | public Table getLabelTable() { method getFeatures (line 100) | public List getFeatures() { method getLabel (line 104) | public List getLabel() { method getWeight (line 108) | public List getWeight() { method getBaseMargin (line 112) | public List getBaseMargin() { method getQid (line 116) | public List getQid() { method toJson (line 120) | public String toJson() { method toFeaturesJson (line 130) | @Override method close (line 140) | @Override FILE: jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/ExtMemQuantileDMatrix.java class ExtMemQuantileDMatrix (line 25) | public class ExtMemQuantileDMatrix extends QuantileDMatrix { method ExtMemQuantileDMatrix (line 28) | public ExtMemQuantileDMatrix(Iterator iter, method ExtMemQuantileDMatrix (line 49) | public ExtMemQuantileDMatrix( method ExtMemQuantileDMatrix (line 57) | public ExtMemQuantileDMatrix( method getConfig (line 64) | private String getConfig(float missing, int maxBin, int nthread, FILE: jvm-packages/xgboost4j-spark-gpu/src/main/java/ml/dmlc/xgboost4j/java/QuantileDMatrix.java class F64NaNSerializer (line 29) | class F64NaNSerializer extends JsonSerializer { method serialize (line 30) | @Override class F32NaNSerializer (line 41) | class F32NaNSerializer extends JsonSerializer { method serialize (line 42) | @Override class QuantileDMatrix (line 56) | public class QuantileDMatrix extends DMatrix { method QuantileDMatrix (line 58) | protected QuantileDMatrix() { method QuantileDMatrix (line 71) | public QuantileDMatrix( method QuantileDMatrix (line 93) | public QuantileDMatrix( method setLabel (line 112) | @Override method setWeight (line 117) | @Override method setBaseMargin (line 122) | @Override method setLabel (line 127) | @Override method setWeight (line 132) | @Override method setBaseMargin (line 137) | @Override method setBaseMargin (line 142) | @Override method setGroup (line 147) | @Override method getConfig (line 152) | private String getConfig(float missing, int maxBin, int nthread) { FILE: jvm-packages/xgboost4j-spark-gpu/src/test/java/ml/dmlc/xgboost4j/java/BoosterTest.java class BoosterTest (line 34) | public class BoosterTest { method testBooster (line 36) | @Test FILE: jvm-packages/xgboost4j-spark-gpu/src/test/java/ml/dmlc/xgboost4j/java/DMatrixTest.java class DMatrixTest (line 30) | public class DMatrixTest { method testCreateFromArrayInterfaceColumns (line 32) | @Test method testCreateFromColumnDataIterator (line 86) | @Test method generateFloatArray (line 135) | private Float[] generateFloatArray(int size, long seed) { method testGetQuantileCut (line 144) | @Test method convertFloatTofloat (line 186) | private float[] convertFloatTofloat(Float[]... datas) { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/LabeledPoint.java class LabeledPoint (line 26) | public final class LabeledPoint implements Serializable { method LabeledPoint (line 44) | public LabeledPoint( method LabeledPoint (line 67) | public LabeledPoint( method LabeledPoint (line 80) | public LabeledPoint( method LabeledPoint (line 94) | public LabeledPoint( method hashCode (line 102) | @Override method equals (line 108) | @Override method label (line 126) | public float label() { return this.label; } method size (line 127) | public int size() { return this.size; } method indices (line 128) | public int[] indices() { return this.indices; } method values (line 129) | public float[] values() { return this.values; } method weight (line 130) | public float weight() { return this.weight; } method group (line 131) | public int group() { return this.group; } method baseMargin (line 132) | public float baseMargin() { return this.baseMargin; } FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java class Booster (line 36) | public class Booster implements Serializable, KryoSerializable { type PredictionType (line 47) | public enum PredictionType { method PredictionType (line 52) | private PredictionType(final Integer ptype) { method getPType (line 55) | public Integer getPType() { method Booster (line 68) | Booster(Map params, DMatrix[] cacheMats) throws XGBoos... method loadModel (line 79) | static Booster loadModel(String modelPath) throws XGBoostError { method loadModel (line 97) | static Booster loadModel(byte[] buffer) throws XGBoostError { method setParam (line 110) | public final void setParam(String key, Object value) throws XGBoostErr... method setParams (line 120) | public void setParams(Map params) throws XGBoostError { method getAttrs (line 134) | public final Map getAttrs() throws XGBoostError { method getAttr (line 151) | public final String getAttr(String key) throws XGBoostError { method setAttr (line 164) | public final void setAttr(String key, String value) throws XGBoostError { method setAttrs (line 174) | public void setAttrs(Map attrs) throws XGBoostError { method getFeatureNames (line 187) | public final String[] getFeatureNames() throws XGBoostError { method setFeatureNames (line 200) | public void setFeatureNames(String[] featureNames) throws XGBoostError { method getFeatureTypes (line 210) | public final String[] getFeatureTypes() throws XGBoostError { method setFeatureTypes (line 222) | public void setFeatureTypes(String[] featureTypes) throws XGBoostError { method update (line 234) | public void update(DMatrix dtrain, int iter) throws XGBoostError { method update (line 238) | @Deprecated method update (line 253) | public void update(DMatrix dtrain, int iter, IObjective obj) throws XG... method boost (line 259) | @Deprecated method boost (line 273) | public void boost(DMatrix dtrain, int iter, float[] grad, float[] hess... method evalSet (line 291) | public String evalSet(DMatrix[] evalMatrixs, String[] evalNames, int i... method evalSet (line 309) | public String evalSet(DMatrix[] evalMatrixs, String[] evalNames, int i... method evalSet (line 335) | public String evalSet(DMatrix[] evalMatrixs, String[] evalNames, IEval... method evalSet (line 341) | public String evalSet(DMatrix[] evalMatrixs, String[] evalNames, IEval... method predict (line 365) | private float[][] predict(DMatrix data, method inplace_predict (line 405) | public float[][] inplace_predict(float[] data, method inplace_predict (line 431) | public float[][] inplace_predict(float[] data, method inplace_predict (line 455) | public float[][] inplace_predict(float[] data, method predictLeaf (line 494) | public float[][] predictLeaf(DMatrix data, int treeLimit) throws XGBoo... method predictContrib (line 506) | public float[][] predictContrib(DMatrix data, int treeLimit) throws XG... method predict (line 517) | public float[][] predict(DMatrix data) throws XGBoostError { method predict (line 528) | public float[][] predict(DMatrix data, boolean outputMargin) throws XG... method predict (line 540) | public float[][] predict(DMatrix data, boolean outputMargin, int treeL... method saveModel (line 549) | public void saveModel(String modelPath) throws XGBoostError{ method saveModel (line 561) | public void saveModel(OutputStream out) throws XGBoostError, IOExcepti... method saveModel (line 576) | public void saveModel(OutputStream out, String format) throws XGBoostE... method getModelDump (line 589) | public String[] getModelDump(String featureMap, boolean withStats) thr... method getModelDump (line 603) | public String[] getModelDump(String featureMap, boolean withStats, Str... method getModelDump (line 628) | public String[] getModelDump(String[] featureNames, boolean withStats)... method getModelDump (line 642) | public String[] getModelDump(String[] featureNames, boolean withStats,... class FeatureImportanceType (line 666) | public static class FeatureImportanceType { method getFeatureScore (line 682) | public Map getFeatureScore(String[] featureNames) thr... method getFeatureScore (line 693) | public Map getFeatureScore(String featureMap) throws ... method getFeatureWeightsFromModel (line 705) | private Map getFeatureWeightsFromModel(String[] model... method getScore (line 732) | public Map getScore( method getScore (line 745) | public Map getScore( method getFeatureImportanceFromModel (line 758) | private Map getFeatureImportanceFromModel( method toByteArray (line 819) | public byte[] toByteArray() throws XGBoostError { method toByteArray (line 831) | public byte[] toByteArray(String format) throws XGBoostError { method getNumFeature (line 842) | public long getNumFeature() throws XGBoostError { method getNumBoostedRound (line 847) | public int getNumBoostedRound() throws XGBoostError { method init (line 858) | private void init(DMatrix[] cacheMats) throws XGBoostError { method dmatrixsToHandles (line 875) | private static long[] dmatrixsToHandles(DMatrix[] dmatrixs) { method writeObject (line 884) | private void writeObject(java.io.ObjectOutputStream out) throws IOExce... method readObject (line 894) | private void readObject(java.io.ObjectInputStream in) method finalize (line 907) | @Override method dispose (line 913) | public synchronized void dispose() { method write (line 920) | @Override method read (line 933) | @Override FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Column.java class Column (line 23) | public abstract class Column implements AutoCloseable { method toJson (line 28) | public abstract String toJson(); method close (line 30) | @Override FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ColumnBatch.java class ColumnBatch (line 23) | public abstract class ColumnBatch extends Column { method toFeaturesJson (line 26) | public abstract String toFeaturesJson(); FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Communicator.java class Communicator (line 17) | public class Communicator { type OpType (line 19) | public enum OpType implements Serializable { method getOperand (line 24) | public int getOperand() { method OpType (line 28) | OpType(int op) { type DataType (line 33) | public enum DataType implements Serializable { method getEnumOp (line 41) | public int getEnumOp() { method getSize (line 45) | public int getSize() { method DataType (line 49) | DataType(int enumOp, int size) { method checkCall (line 55) | private static void checkCall(int ret) throws XGBoostError { method init (line 67) | public static void init(Map envs) throws XGBoostError { method shutdown (line 82) | public static void shutdown() throws XGBoostError { method communicatorPrint (line 92) | public static void communicatorPrint(String msg) throws XGBoostError { method getRank (line 102) | public static int getRank() throws XGBoostError { method getWorldSize (line 114) | public static int getWorldSize() throws XGBoostError { method allReduce (line 127) | public static float[] allReduce(float[] elements, OpType op) { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ConfigContext.java class ConfigContext (line 33) | public class ConfigContext implements AutoCloseable { method ConfigContext (line 36) | public ConfigContext() throws XGBoostError { method ConfigContext (line 41) | public ConfigContext(Map params) throws XGBoostError { method getGlobalConfig (line 53) | private String getGlobalConfig() throws XGBoostError { method getConfig (line 59) | public Object getConfig(String name) throws XGBoostError { method setConfig (line 73) | public void setConfig(String key, Object value) throws XGBoostError { method setConfigs (line 86) | public void setConfigs(Map configs) throws XGBoostError { method close (line 96) | @Override FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java class DMatrix (line 28) | public class DMatrix { method DMatrix (line 38) | public DMatrix(Iterator iter, String cacheInfo) throws X... method DMatrix (line 50) | public DMatrix(Iterator iter, method DMatrix (line 71) | public DMatrix(String dataPath) throws XGBoostError { method DMatrix (line 89) | @Deprecated method DMatrix (line 106) | public DMatrix(long[] headers, int[] indices, float[] data, DMatrix.Sp... method DMatrix (line 111) | public DMatrix(long[] headers, int[] indices, float[] data, DMatrix.Sp... method DMatrix (line 136) | @Deprecated method DMatrix (line 149) | public DMatrix(BigDenseMatrix matrix) throws XGBoostError { method DMatrix (line 161) | public DMatrix(float[] data, int nrow, int ncol, float missing) throws... method DMatrix (line 173) | public DMatrix(BigDenseMatrix matrix, float missing) throws XGBoostErr... method DMatrix (line 183) | protected DMatrix(long handle) { method DMatrix (line 196) | public DMatrix(ColumnBatch columnBatch, float missing, int nthread) th... method flatten (line 210) | private static float[] flatten(float[][] mat) { method setQueryId (line 230) | public void setQueryId(Column column) throws XGBoostError { method setXGBDMatrixInfo (line 234) | private void setXGBDMatrixInfo(String type, String json) throws XGBoos... method setXGBDMatrixFeatureInfo (line 241) | private void setXGBDMatrixFeatureInfo(String type, String[] values) th... method getXGBDMatrixFeatureInfo (line 251) | private String[] getXGBDMatrixFeatureInfo(String type) throws XGBoostE... method getFeatureNames (line 271) | public String[] getFeatureNames() throws XGBoostError { method setFeatureNames (line 281) | public void setFeatureNames(String[] values) throws XGBoostError { method getFeatureTypes (line 291) | public String[] getFeatureTypes() throws XGBoostError { method setFeatureTypes (line 301) | public void setFeatureTypes(String[] values) throws XGBoostError { method getGroup (line 311) | public int[] getGroup() throws XGBoostError { method setGroup (line 321) | public void setGroup(int[] group) throws XGBoostError { method setQueryId (line 331) | public void setQueryId(int[] qid) throws XGBoostError { method getFloatInfo (line 335) | private float[] getFloatInfo(String field) throws XGBoostError { method getIntInfo (line 341) | private int[] getIntInfo(String field) throws XGBoostError { method getLabel (line 353) | public float[] getLabel() throws XGBoostError { method setLabel (line 364) | public void setLabel(Column column) throws XGBoostError { method setLabel (line 374) | public void setLabel(float[] labels) throws XGBoostError { method getWeight (line 384) | public float[] getWeight() throws XGBoostError { method setWeight (line 395) | public void setWeight(Column column) throws XGBoostError { method setWeight (line 405) | public void setWeight(float[] weights) throws XGBoostError { method getBaseMargin (line 412) | public float[] getBaseMargin() throws XGBoostError { method setBaseMargin (line 423) | public void setBaseMargin(Column column) throws XGBoostError { method setBaseMargin (line 433) | public void setBaseMargin(float[] baseMargin) throws XGBoostError { method setBaseMargin (line 446) | public void setBaseMargin(float[][] baseMargin) throws XGBoostError { method slice (line 457) | public DMatrix slice(int[] rowIndex) throws XGBoostError { method rowNum (line 471) | public long rowNum() throws XGBoostError { method nonMissingNum (line 483) | public long nonMissingNum() throws XGBoostError { method saveBinary (line 492) | public void saveBinary(String filePath) { method getHandle (line 499) | public long getHandle() { method finalize (line 503) | @Override method dispose (line 508) | public synchronized void dispose() { type SparseType (line 518) | public enum SparseType { class QuantileCut (line 526) | public class QuantileCut { method QuantileCut (line 532) | QuantileCut(long[] indptr, float[] values) { method getIndptr (line 537) | public long[] getIndptr() { method getValues (line 541) | public float[] getValues() { method getQuantileCut (line 551) | public QuantileCut getQuantileCut() throws XGBoostError { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DataBatch.java class DataBatch (line 18) | class DataBatch { method DataBatch (line 33) | DataBatch(long[] rowOffset, float[] weight, float[] label, int[] featu... class BatchIterator (line 43) | static class BatchIterator implements Iterator { method BatchIterator (line 47) | BatchIterator(Iterator base, int batchSize) { method hasNext (line 52) | @Override method next (line 57) | @Override method remove (line 110) | @Override FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ExternalCheckpointManager.java class ExternalCheckpointManager (line 35) | public class ExternalCheckpointManager { method ExternalCheckpointManager (line 50) | public ExternalCheckpointManager(String checkpointPath, FileSystem fs)... method getPath (line 59) | private String getPath(int version) { method getExistingVersions (line 63) | private List getExistingVersions() throws IOException { method latest (line 77) | private Integer latest(List versions) { method cleanPath (line 87) | public void cleanPath() throws IOException { method loadCheckpointAsBooster (line 100) | public Booster loadCheckpointAsBooster() throws IOException, XGBoostEr... method updateCheckpoint (line 123) | public void updateCheckpoint(Booster boosterToCheckpoint) throws IOExc... method cleanUpHigherVersions (line 152) | public void cleanUpHigherVersions(int currentRound) throws IOException { method getCheckpointRounds (line 170) | public List getCheckpointRounds( FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/IEvaluation.java type IEvaluation (line 25) | public interface IEvaluation extends Serializable { method getMetric (line 31) | String getMetric(); method eval (line 40) | float eval(float[][] predicts, DMatrix dmat); FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/IObjective.java type IObjective (line 26) | public interface IObjective extends Serializable { method getGradient (line 34) | List getGradient(float[][] predicts, DMatrix dtrain); FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/ITracker.java type ITracker (line 23) | public interface ITracker extends Thread.UncaughtExceptionHandler { method getWorkerArgs (line 25) | Map getWorkerArgs() throws XGBoostError; method start (line 27) | boolean start() throws XGBoostError; method stop (line 29) | void stop() throws XGBoostError; method waitFor (line 31) | void waitFor(long taskExecutionTimeout) throws XGBoostError; FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java class NativeLibLoader (line 37) | class NativeLibLoader { type OS (line 43) | enum OS { method OS (line 51) | OS(String name) { method detectOS (line 61) | static OS detectOS() { type Arch (line 81) | enum Arch { method Arch (line 88) | Arch(String name) { method detectArch (line 97) | static Arch detectArch() { class LibraryPathProvider (line 114) | static class LibraryPathProvider { method getPropertyNameForLibrary (line 119) | static String getPropertyNameForLibrary(String libName) { method getLibraryPathFor (line 130) | static String getLibraryPathFor(OS os, Arch arch, String libName) { method initXGBoost (line 161) | static synchronized void initXGBoost() throws IOException { method loadLibraryFromJar (line 227) | private static void loadLibraryFromJar(String path) throws IOException... method createTempFileFromResource (line 246) | static String createTempFileFromResource(String path) throws method getPlatformFor (line 297) | private static String getPlatformFor(OS os, Arch arch) { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/RabitTracker.java class RabitTracker (line 30) | public class RabitTracker implements ITracker { method RabitTracker (line 36) | public RabitTracker(int numWorkers) throws XGBoostError { method RabitTracker (line 40) | public RabitTracker(int numWorkers, String hostIp) method RabitTracker (line 44) | public RabitTracker(int numWorkers, String hostIp, int port, int timeo... method uncaughtException (line 54) | public void uncaughtException(Thread t, Throwable e) { method getWorkerArgs (line 69) | public Map getWorkerArgs() throws XGBoostError { method stop (line 83) | public void stop() throws XGBoostError { method start (line 87) | public boolean start() throws XGBoostError { method waitFor (line 103) | public void waitFor(long timeout) throws XGBoostError { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java class XGBoost (line 32) | public class XGBoost { method loadModel (line 46) | public static Booster loadModel(String modelPath) method loadModel (line 62) | public static Booster loadModel(InputStream in) throws XGBoostError, I... method loadModel (line 82) | public static Booster loadModel(byte[] buffer) throws XGBoostError, IO... method train (line 98) | public static Booster train( method train (line 125) | public static Booster train( method saveCheckpoint (line 137) | private static void saveCheckpoint( method trainAndSaveCheckpoint (line 152) | public static Booster trainAndSaveCheckpoint( method train (line 307) | public static Booster train( method tryGetIntFromObject (line 327) | private static Integer tryGetIntFromObject(Object o) { method shouldPrint (line 341) | private static boolean shouldPrint(Map params, int ite... method shouldEarlyStop (line 368) | static boolean shouldEarlyStop(int earlyStoppingRounds, int iter, int ... method getMetricNameFromlog (line 375) | private static String getMetricNameFromlog(String evalInfo, String[] e... method isMaximizeEvaluation (line 399) | public static boolean isMaximizeEvaluation(String evalInfo, method crossValidation (line 444) | public static String[] crossValidation( method makeNFold (line 488) | private static CVPack[] makeNFold(DMatrix data, int nfold, Map genRandPermutationNums(int start, int end) { method aggCVResults (line 544) | private static String aggCVResults(String[] results) { class CVPack (line 577) | private static class CVPack { method CVPack (line 592) | public CVPack(DMatrix dtrain, DMatrix dtest, Map par... method update (line 607) | public void update(int iter) throws XGBoostError { method update (line 617) | public void update(IObjective obj) throws XGBoostError { method eval (line 628) | public String eval(int iter) throws XGBoostError { method eval (line 639) | public String eval(IEvaluation eval) throws XGBoostError { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoostError.java class XGBoostError (line 23) | public class XGBoostError extends Exception { method XGBoostError (line 24) | public XGBoostError(String message) { method XGBoostError (line 28) | public XGBoostError(String message, Throwable cause) { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoostJNI.java class XGBoostJNI (line 30) | public class XGBoostJNI { method checkCall (line 47) | static void checkCall(int ret) throws XGBoostError { method XGBGetLastError (line 53) | public final static native String XGBGetLastError(); method XGDMatrixCreateFromFile (line 55) | public final static native int XGDMatrixCreateFromFile(String fname, i... method XGDMatrixCreateFromDataIter (line 57) | final static native int XGDMatrixCreateFromDataIter(java.util.Iterator... method XGDMatrixCreateFromCSR (line 60) | public final static native int XGDMatrixCreateFromCSR(long[] indptr, i... method XGDMatrixCreateFromCSC (line 65) | public final static native int XGDMatrixCreateFromCSC(long[] colptr, i... method XGDMatrixCreateFromMat (line 70) | public final static native int XGDMatrixCreateFromMat(float[] data, in... method XGDMatrixCreateFromMatRef (line 73) | public final static native int XGDMatrixCreateFromMatRef(long dataRef,... method XGDMatrixSliceDMatrix (line 76) | public final static native int XGDMatrixSliceDMatrix(long handle, int[... method XGDMatrixFree (line 78) | public final static native int XGDMatrixFree(long handle); method XGDMatrixSaveBinary (line 80) | public final static native int XGDMatrixSaveBinary(long handle, String... method XGDMatrixSetFloatInfo (line 82) | public final static native int XGDMatrixSetFloatInfo(long handle, Stri... method XGDMatrixSetUIntInfo (line 84) | public final static native int XGDMatrixSetUIntInfo(long handle, Strin... method XGDMatrixGetFloatInfo (line 86) | public final static native int XGDMatrixGetFloatInfo(long handle, Stri... method XGDMatrixGetUIntInfo (line 88) | public final static native int XGDMatrixGetUIntInfo(long handle, Strin... method XGDMatrixSetStrFeatureInfo (line 98) | public final static native int XGDMatrixSetStrFeatureInfo(long handle,... method XGDMatrixGetStrFeatureInfo (line 101) | public final static native int XGDMatrixGetStrFeatureInfo(long handle,... method XGDMatrixNumRow (line 104) | public final static native int XGDMatrixNumRow(long handle, long[] row); method XGDMatrixNumNonMissing (line 106) | public final static native int XGDMatrixNumNonMissing(long handle, lon... method XGBoosterCreate (line 108) | public final static native int XGBoosterCreate(long[] handles, long[] ... method XGBoosterFree (line 110) | public final static native int XGBoosterFree(long handle); method XGBoosterSetParam (line 112) | public final static native int XGBoosterSetParam(long handle, String n... method XGBoosterUpdateOneIter (line 114) | public final static native int XGBoosterUpdateOneIter(long handle, int... method XGBoosterTrainOneIter (line 116) | public final static native int XGBoosterTrainOneIter(long handle, long... method XGBoosterEvalOneIter (line 119) | public final static native int XGBoosterEvalOneIter(long handle, int i... method XGBoosterPredict (line 122) | public final static native int XGBoosterPredict(long handle, long dmat... method XGBoosterPredictFromDense (line 125) | public final static native int XGBoosterPredictFromDense(long handle, ... method XGBoosterLoadModel (line 129) | public final static native int XGBoosterLoadModel(long handle, String ... method XGBoosterSaveModel (line 131) | public final static native int XGBoosterSaveModel(long handle, String ... method XGBoosterLoadModelFromBuffer (line 133) | public final static native int XGBoosterLoadModelFromBuffer(long handl... method XGBoosterSaveModelToBuffer (line 135) | public final static native int XGBoosterSaveModelToBuffer(long handle,... method XGBoosterDumpModelEx (line 137) | public final static native int XGBoosterDumpModelEx(long handle, Strin... method XGBoosterDumpModelExWithFeatures (line 140) | public final static native int XGBoosterDumpModelExWithFeatures( method XGBoosterGetAttrNames (line 143) | public final static native int XGBoosterGetAttrNames(long handle, Stri... method XGBoosterGetAttr (line 145) | public final static native int XGBoosterGetAttr(long handle, String ke... method XGBoosterSetAttr (line 147) | public final static native int XGBoosterSetAttr(long handle, String ke... method XGBoosterGetNumFeature (line 149) | public final static native int XGBoosterGetNumFeature(long handle, lon... method XGBoosterGetNumBoostedRound (line 151) | public final static native int XGBoosterGetNumBoostedRound(long handle... method CommunicatorInit (line 154) | public final static native int CommunicatorInit(String args); method CommunicatorFinalize (line 156) | public final static native int CommunicatorFinalize(); method CommunicatorPrint (line 158) | public final static native int CommunicatorPrint(String msg); method CommunicatorGetRank (line 160) | public final static native int CommunicatorGetRank(int[] out); method CommunicatorGetWorldSize (line 162) | public final static native int CommunicatorGetWorldSize(int[] out); method TrackerCreate (line 165) | public final static native int TrackerCreate(String host, int nWorkers... method TrackerRun (line 168) | public final static native int TrackerRun(long handle); method TrackerWaitFor (line 170) | public final static native int TrackerWaitFor(long handle, long timeout); method TrackerWorkerArgs (line 172) | public final static native int TrackerWorkerArgs(long handle, long tim... method TrackerFree (line 174) | public final static native int TrackerFree(long handle); method CommunicatorAllreduce (line 177) | final static native int CommunicatorAllreduce(ByteBuffer sendrecvbuf, ... method XGDMatrixSetInfoFromInterface (line 180) | public final static native int XGDMatrixSetInfoFromInterface( method XGQuantileDMatrixCreateFromCallback (line 183) | public final static native int XGQuantileDMatrixCreateFromCallback( method XGExtMemQuantileDMatrixCreateFromCallback (line 186) | public final static native int XGExtMemQuantileDMatrixCreateFromCallback( method XGDMatrixCreateFromArrayInterfaceColumns (line 189) | public final static native int XGDMatrixCreateFromArrayInterfaceColumns( method XGBoosterSetStrFeatureInfo (line 192) | public final static native int XGBoosterSetStrFeatureInfo(long handle,... method XGBoosterGetStrFeatureInfo (line 194) | public final static native int XGBoosterGetStrFeatureInfo(long handle,... method XGDMatrixGetQuantileCut (line 196) | public final static native int XGDMatrixGetQuantileCut(long handle, lo... method XGBSetGlobalConfig (line 198) | public final static native int XGBSetGlobalConfig(String config); method XGBGetGlobalConfig (line 200) | public final static native int XGBGetGlobalConfig(String[] out); method CudaSetDevice (line 203) | public final static native int CudaSetDevice(int deviceId); FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/util/BigDenseMatrix.java class BigDenseMatrix (line 24) | public final class BigDenseMatrix { method setDirect (line 33) | public static void setDirect(long valAddress, float val) { method getDirect (line 37) | public static float getDirect(long valAddress) { method BigDenseMatrix (line 41) | public BigDenseMatrix(int nrow, int ncol) { method set (line 52) | public final void set(long idx, float val) { method set (line 56) | public final void set(int i, int j, float val) { method get (line 60) | public final float get(long idx) { method get (line 64) | public final float get(int i, int j) { method dispose (line 68) | public final void dispose() { method index (line 72) | private long index(int i, int j) { FILE: jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/util/UtilUnsafe.java class UtilUnsafe (line 25) | public final class UtilUnsafe { method UtilUnsafe (line 29) | private UtilUnsafe() { method getUnsafe (line 32) | private static Unsafe getUnsafe() { FILE: jvm-packages/xgboost4j/src/native/xgboost4j-gpu.cpp type xgboost::jni (line 11) | namespace xgboost::jni { function QdmFromCallback (line 12) | int QdmFromCallback(JNIEnv *, jobject, jlongArray, char const *, bool,... FILE: jvm-packages/xgboost4j/src/native/xgboost4j.cpp function setHandle (line 42) | void setHandle(JNIEnv *jenv, jlongArray jhandle, void *handle) { function JavaVM (line 51) | JavaVM*& GlobalJvm() { function jint (line 63) | jint JNI_OnLoad(JavaVM *vm, void *reserved) { function XGB_EXTERN_C (line 73) | XGB_EXTERN_C int XGBoost4jCallbackDataIterNext( function JNIEXPORT (line 203) | JNIEXPORT jstring JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBGetL... function JNIEXPORT (line 218) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function JNIEXPORT (line 241) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function jint (line 265) | jint MakeJVMSparseInput(JNIEnv *jenv, jlongArray jindptr, jintArray jind... function JNIEXPORT (line 313) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function JNIEXPORT (line 331) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function JNIEXPORT (line 349) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function JNIEXPORT (line 366) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function SliceDMatrixWinWar (line 386) | auto SliceDMatrixWinWar(DMatrixHandle handle, T *ptr, std::size_t len, D... function JNIEXPORT (line 405) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 426) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixFree function JNIEXPORT (line 438) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 457) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 481) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 504) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixG... function JNIEXPORT (line 531) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixG... function JNIEXPORT (line 557) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixN... function JNIEXPORT (line 572) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixN... function JNIEXPORT (line 589) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterC... function JNIEXPORT (line 614) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterF... function JNIEXPORT (line 626) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterS... function JNIEXPORT (line 651) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterU... function JNIEXPORT (line 663) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterT... function JNIEXPORT (line 705) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterE... function JNIEXPORT (line 748) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterP... function JNIEXPORT (line 772) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterP... function JNIEXPORT (line 851) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterL... function JNIEXPORT (line 868) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterS... function JNIEXPORT (line 887) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterL... function JNIEXPORT (line 902) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterS... function JNIEXPORT (line 933) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterD... function JNIEXPORT (line 969) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterD... function JNIEXPORT (line 1031) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterG... function JNIEXPORT (line 1054) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterG... function JNIEXPORT (line 1082) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterS... function JNIEXPORT (line 1105) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterG... function JNIEXPORT (line 1116) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterG... function JNIEXPORT (line 1132) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... function JNIEXPORT (line 1150) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_TrackerCre... function JNIEXPORT (line 1183) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_TrackerRun... function JNIEXPORT (line 1195) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_TrackerWai... function JNIEXPORT (line 1213) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_TrackerWor... function JNIEXPORT (line 1231) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_TrackerFre... function JNIEXPORT (line 1243) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... function JNIEXPORT (line 1254) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... function JNIEXPORT (line 1272) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... function JNIEXPORT (line 1284) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... function JNIEXPORT (line 1296) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_Communicat... type xgboost::jni (line 1303) | namespace xgboost::jni { function JNIEXPORT (line 1313) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGQuantile... function JNIEXPORT (line 1328) | JNIEXPORT jint JNICALL function JNIEXPORT (line 1344) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 1364) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixC... function JNIEXPORT (line 1384) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixS... function JNIEXPORT (line 1417) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixG... function JNIEXPORT (line 1448) | JNIEXPORT jint JNICALL function JNIEXPORT (line 1487) | JNIEXPORT jint JNICALL function JNIEXPORT (line 1519) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixG... function JNIEXPORT (line 1560) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBSetGlob... function JNIEXPORT (line 1579) | JNIEXPORT jint JNICALL function JNIEXPORT (line 1594) | JNIEXPORT jint JNICALL Java_ml_dmlc_xgboost4j_java_XGBoostJNI_CudaSetDev... FILE: jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/ArchDetectionTest.java class ArchDetectionTest (line 37) | @RunWith(Enclosed.class) class ParameterizedArchDetectionTest (line 42) | @RunWith(Parameterized.class) method ParameterizedArchDetectionTest (line 48) | public ParameterizedArchDetectionTest(String osArchValue, NativeLibL... method data (line 53) | @Parameters method testArch (line 64) | @Test class UnsupportedArchDetectionTest (line 73) | public static class UnsupportedArchDetectionTest { method testUnsupportedArch (line 75) | @Test method executeAndRestoreProperty (line 84) | private static void executeAndRestoreProperty(Runnable action) { FILE: jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/BoosterImplTest.java class BoosterImplTest (line 36) | public class BoosterImplTest { class EvalError (line 40) | public static class EvalError implements IEvaluation { method getMetric (line 41) | @Override method eval (line 46) | @Override method trainBooster (line 68) | private Booster trainBooster(DMatrix trainMat, DMatrix testMat) throws... method testBoosterBasic (line 92) | @Test method inplacePredictTest (line 109) | @Test method inplacePredictMultiPredictTest (line 158) | @Test method inplacePredictWithMarginTest (line 210) | @Test method generateRandomDataSet (line 273) | private float[] generateRandomDataSet(int size) { method saveLoadModelWithPath (line 282) | @Test method saveLoadModelWithFeaturesWithPath (line 301) | @Test method saveLoadModelWithStream (line 333) | @Test class IncreasingEval (line 351) | private static class IncreasingEval implements IEvaluation { method getMetric (line 354) | @Override method eval (line 359) | @Override method testDescendMetricsWithBoundaryCondition (line 365) | @Test method testEarlyStoppingForMultipleMetrics (line 386) | @Test method testDescendMetrics (line 435) | @Test method testAscendMetricsWithBoundaryCondition (line 468) | @Test method testAscendMetrics (line 489) | @Test method testBoosterEarlyStop (line 522) | @Test method testEarlyStoppingAttributes (line 558) | @Test method testWithQuantileHisto (line 586) | private void testWithQuantileHisto(DMatrix trainingSet, Map list[str]: function get_user_ids (line 31) | def get_user_ids() -> dict[str, str]: function fancy_print_cli_args (line 42) | def fancy_print_cli_args(*, cli_args: list[str]) -> None: function docker_run (line 54) | def docker_run( function main (line 82) | def main(*, args: argparse.Namespace) -> None: FILE: ops/pipeline/manage-artifacts.py function resolve (line 15) | def resolve(x: Path) -> Path: function path_equals (line 19) | def path_equals(a: Path, b: Path) -> bool: function compute_s3_url (line 23) | def compute_s3_url(*, s3_bucket: str, prefix: str, artifact: str) -> str: function aws_s3_upload (line 29) | def aws_s3_upload(*, src: Path, dest: str, make_public: bool) -> None: function aws_s3_download (line 41) | def aws_s3_download(*, src: str, dest_dir: Path) -> None: function aws_s3_download_with_wildcard (line 51) | def aws_s3_download_with_wildcard(*, src: str, dest_dir: Path) -> None: function upload (line 84) | def upload(*, args: argparse.Namespace) -> None: function download (line 94) | def download(*, args: argparse.Namespace) -> None: FILE: ops/pipeline/trigger-rtd-impl.py function trigger_build (line 16) | def trigger_build(token: str) -> None: function main (line 46) | def main() -> None: FILE: ops/script/change_scala_version.py function main (line 7) | def main(args: argparse.Namespace) -> None: FILE: ops/script/change_version.py function cmake (line 24) | def cmake(major: int, minor: int, patch: int) -> None: function pypkg (line 41) | def pypkg( function rpkg (line 69) | def rpkg(major: int, minor: int, patch: int, is_dev: bool) -> None: function jvmpkgs (line 113) | def jvmpkgs( function main (line 125) | def main(args: argparse.Namespace) -> None: FILE: ops/script/format_wheel_meta.py function main (line 11) | def main(args: argparse.Namespace) -> None: FILE: ops/script/lint_cpp.py function filepath_enumerate (line 13) | def filepath_enumerate(paths: list[str]) -> list[str]: function get_header_guard_dmlc (line 26) | def get_header_guard_dmlc(filename: str) -> str: class Lint (line 57) | class Lint: method __init__ (line 58) | def __init__(self) -> None: method process_cpp (line 79) | def process_cpp(self, path: str, suffix: str) -> None: method _print_summary_map (line 92) | def _print_summary_map( method print_summary (line 108) | def print_summary(self, strm: TextIO) -> int: function process (line 125) | def process(fname: str, allow_type: list[str]) -> None: function main (line 135) | def main() -> None: FILE: ops/script/pypi_variants.py function copyfile (line 22) | def copyfile(src: str, dst: str) -> None: function make_pyproject (line 29) | def make_pyproject( FILE: ops/script/release_artifacts.py function show_progress (line 32) | def show_progress(block_num: int, block_size: int, total_size: int) -> N... function retrieve (line 46) | def retrieve(url: str, filename: Optional[Path] = None) -> str: function latest_hash (line 52) | def latest_hash() -> str: function _download_python_wheels (line 67) | def _download_python_wheels( function make_python_sdist (line 105) | def make_python_sdist( function download_python_wheels (line 146) | def download_python_wheels(branch: str, commit_hash: str, outdir: Path) ... function download_r_artifacts (line 189) | def download_r_artifacts( function check_path (line 224) | def check_path() -> None: function make_src_tarball (line 231) | def make_src_tarball(release: str, outdir: Path) -> Tuple[str, str]: function release_note (line 268) | def release_note( function main (line 305) | def main(args: argparse.Namespace) -> None: FILE: ops/script/run_clang_tidy.py function call (line 15) | def call(args: list[str]) -> tuple[int, int, str, list[str]]: class ClangTidy (line 34) | class ClangTidy: method __init__ (line 43) | def __init__(self, args: argparse.Namespace) -> None: method __enter__ (line 65) | def __enter__(self) -> "ClangTidy": method __exit__ (line 72) | def __exit__(self, *args: list) -> None: method _generate_cdb (line 78) | def _generate_cdb(self) -> None: method convert_nvcc_command_to_clang (line 103) | def convert_nvcc_command_to_clang(self, command: str) -> str: method _configure_flags (line 163) | def _configure_flags(self, path: str, command: str) -> list[list[str]]: method _configure (line 200) | def _configure(self) -> list[list[str]]: method run (line 226) | def run(self) -> bool: function test_tidy (line 262) | def test_tidy(args: argparse.Namespace) -> None: FILE: ops/script/test_r_package.py function get_mingw_bin (line 19) | def get_mingw_bin() -> str: function pack_rpackage (line 25) | def pack_rpackage() -> Path: function build_rpackage (line 83) | def build_rpackage(path: str) -> str: function check_example_timing (line 105) | def check_example_timing(rcheck_dir: Path, threshold: float) -> None: function check_rpackage (line 135) | def check_rpackage(path: str) -> None: function check_rmarkdown (line 192) | def check_rmarkdown() -> None: function test_with_autotools (line 211) | def test_with_autotools() -> None: function test_with_cmake (line 230) | def test_with_cmake(args: argparse.Namespace) -> None: function test_with_rchk (line 304) | def test_with_rchk() -> None: function main (line 335) | def main(args: argparse.Namespace) -> None: FILE: ops/script/test_tidy.cc type Foo (line 4) | struct Foo { function main (line 8) | int main() { FILE: ops/script/test_utils.py class DirectoryExcursion (line 9) | class DirectoryExcursion: method __init__ (line 10) | def __init__(self, path: Union[os.PathLike, str]) -> None: method __enter__ (line 14) | def __enter__(self) -> None: method __exit__ (line 17) | def __exit__(self, *args: Any) -> None: function cd (line 24) | def cd(path: Union[os.PathLike, str]) -> Callable: function record_time (line 42) | def record_time(func: Callable[..., R]) -> Callable[..., R]: function print_time (line 62) | def print_time() -> None: FILE: ops/script/type_check_python.py class TypeCheckPaths (line 9) | class TypeCheckPaths: function check_cmd_print_failure_assistance (line 41) | def check_cmd_print_failure_assistance(cmd: List[str]) -> bool: function run_mypy (line 57) | def run_mypy(rel_path: str) -> bool: function main (line 63) | def main() -> None: FILE: plugin/example/custom_obj.cc type xgboost::obj (line 13) | namespace xgboost::obj { type MyLogisticParam (line 18) | struct MyLogisticParam : public XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 21) | DMLC_DECLARE_PARAMETER(MyLogisticParam) { class MyLogistic (line 31) | class MyLogistic : public ObjFunction { method Configure (line 33) | void Configure(const Args& args) override { param_.UpdateAllowUnknow... method ObjInfo (line 35) | [[nodiscard]] ObjInfo Task() const override { return ObjInfo::kRegre... method GetGradient (line 37) | void GetGradient(const HostDeviceVector& preds, MetaInfo cons... method PredTransform (line 59) | void PredTransform(HostDeviceVector *io_preds) const override { method ProbToMargin (line 66) | void ProbToMargin(linalg::Vector* base_score) const override { method SaveConfig (line 74) | void SaveConfig(Json* p_out) const override { method LoadConfig (line 80) | void LoadConfig(Json const& in) override { FILE: plugin/federated/federated_coll.cc type xgboost::collective (line 16) | namespace xgboost::collective { function Result (line 18) | [[nodiscard]] Result GetGRPCResult(std::string const &name, grpc::Stat... function Result (line 23) | [[nodiscard]] Result BroadcastImpl(Comm const &comm, std::uint64_t *se... function Coll (line 58) | Coll *FederatedColl::MakeCUDAVar() { function Result (line 64) | [[nodiscard]] Result FederatedColl::Allreduce(Comm const &comm, common... function Result (line 90) | [[nodiscard]] Result FederatedColl::Broadcast(Comm const &comm, common... function Result (line 95) | [[nodiscard]] Result FederatedColl::Allgather(Comm const &comm, common... function Result (line 123) | [[nodiscard]] Result FederatedColl::AllgatherV(Comm const &comm, FILE: plugin/federated/federated_coll.h function namespace (line 8) | namespace xgboost::collective { FILE: plugin/federated/federated_comm.cc type xgboost::collective (line 19) | namespace xgboost::collective { function Comm (line 131) | Comm* FederatedComm::MakeCUDAVar(Context const*, std::shared_ptr... FILE: plugin/federated/federated_comm.h function namespace (line 17) | namespace xgboost::collective { FILE: plugin/federated/federated_tracker.cc type xgboost::collective (line 18) | namespace xgboost::collective { type federated (line 19) | namespace federated { function Result (line 116) | Result FederatedTracker::Shutdown() { function Json (line 129) | [[nodiscard]] Json FederatedTracker::WorkerArgs() const { FILE: plugin/federated/federated_tracker.h function namespace (line 16) | namespace xgboost::collective { FILE: plugin/sycl/common/hist_util.cc type xgboost (line 15) | namespace xgboost { type sycl (line 16) | namespace sycl { type common (line 17) | namespace common { function InitHist (line 23) | void InitHist(::sycl::queue* qu, GHistRow&& that) : device_{that.... method SetDevice (line 64) | void SetDevice(DeviceOrd device) { method Resize (line 81) | void Resize(size_t new_size, U&&... args) { method SyncHost (line 99) | void SyncHost(GPUAccess access) { method SyncDevice (line 112) | void SyncDevice(GPUAccess access) { method HostCanAccess (line 125) | bool HostCanAccess(GPUAccess access) const { return device_access_ <... method HostCanRead (line 126) | bool HostCanRead() const { return HostCanAccess(GPUAccess::kRead); } method HostCanWrite (line 127) | bool HostCanWrite() const { return HostCanAccess(GPUAccess::kNone); } method DeviceCanAccess (line 128) | bool DeviceCanAccess(GPUAccess access) const { return device_access_... method DeviceCanRead (line 129) | bool DeviceCanRead() const { return DeviceCanAccess(GPUAccess::kRead... method DeviceCanWrite (line 130) | bool DeviceCanWrite() const { return DeviceCanAccess(GPUAccess::kWri... method GPUAccess (line 131) | GPUAccess Access() const { return device_access_; } method Size (line 133) | size_t Size() const { method DeviceOrd (line 137) | DeviceOrd Device() const { return device_; } method T (line 139) | T* DevicePointer() { method T (line 144) | const T* ConstDevicePointer() { method DeviceSpan (line 149) | common::Span DeviceSpan() { method ConstDeviceSpan (line 154) | common::Span ConstDeviceSpan() { method Fill (line 159) | void Fill(T v) { method Copy (line 169) | void Copy(HostDeviceVectorImpl* other) { method Copy (line 181) | void Copy(const std::vector& other) { method Copy (line 190) | void Copy(std::initializer_list other) { method Extend (line 199) | void Extend(HostDeviceVectorImpl* other) { method ResizeDevice (line 216) | void ResizeDevice(size_t new_size) { method SetDevice (line 222) | void SetDevice() { method CopyToDevice (line 231) | void CopyToDevice(HostDeviceVectorImpl* other) { method CopyToDevice (line 242) | void CopyToDevice(const T* begin) { function DeviceOrd (line 300) | DeviceOrd HostDeviceVector::Device() const { function T (line 305) | T* HostDeviceVector::DevicePointer() { function T (line 310) | const T* HostDeviceVector::ConstDevicePointer() const { function GPUAccess (line 388) | GPUAccess HostDeviceVector::DeviceAccess() const { class HostDeviceVector (line 398) | class HostDeviceVector class HostDeviceVector (line 399) | class HostDeviceVector class HostDeviceVector (line 400) | class HostDeviceVector class HostDeviceVector (line 401) | class HostDeviceVector class HostDeviceVector (line 402) | class HostDeviceVector class HostDeviceVector (line 403) | class HostDeviceVector class HostDeviceVector (line 404) | class HostDeviceVector class HostDeviceVector (line 405) | class HostDeviceVector class HostDeviceVector (line 406) | class HostDeviceVector class HostDeviceVector (line 407) | class HostDeviceVector class HostDeviceVector (line 408) | class HostDeviceVector class HostDeviceVector (line 409) | class HostDeviceVector class HostDeviceVector (line 410) | class HostDeviceVector class HostDeviceVector (line 411) | class HostDeviceVector class HostDeviceVector (line 412) | class HostDeviceVector FILE: plugin/sycl/common/linalg_op.cc type xgboost::sycl::linalg (line 14) | namespace xgboost::sycl::linalg { function SmallHistogram (line 15) | void SmallHistogram(Context const* ctx, xgboost::linalg::MatrixView v, linal... FILE: plugin/sycl/common/transform.h function namespace (line 12) | namespace xgboost { FILE: plugin/sycl/context_helper.cc type xgboost (line 12) | namespace xgboost { type sycl (line 13) | namespace sycl { function DeviceOrd (line 15) | DeviceOrd DeviceFP64(const DeviceOrd& device) { FILE: plugin/sycl/context_helper.h function namespace (line 10) | namespace xgboost { FILE: plugin/sycl/data.h function namespace (line 26) | namespace xgboost { FILE: plugin/sycl/data/gradient_index.cc type xgboost (line 13) | namespace xgboost { type sycl (line 14) | namespace sycl { type common (line 15) | namespace common { function SearchBin (line 17) | uint32_t SearchBin(const bst_float* cut_values, const uint32_t* cu... function mergeSort (line 29) | void mergeSort(BinIdxType* begin, BinIdxType* end, BinIdxType* buf) { FILE: plugin/sycl/data/gradient_index.h function namespace (line 14) | namespace xgboost { FILE: plugin/sycl/device_manager.cc type xgboost (line 9) | namespace xgboost { type sycl (line 10) | namespace sycl { FILE: plugin/sycl/device_manager.h function namespace (line 21) | namespace xgboost { FILE: plugin/sycl/device_properties.h function namespace (line 12) | namespace xgboost { FILE: plugin/sycl/predictor/node.h function namespace (line 10) | namespace xgboost { FILE: plugin/sycl/predictor/predictor.cc type xgboost::sycl_impl (line 32) | namespace xgboost::sycl_impl { function InitOutPredictions (line 33) | void InitOutPredictions(Context const* ctx, linalg::VectorView p_m, const gbm::GBT... method PredictLeaf (line 214) | void PredictLeaf(DMatrix* p_fmat, HostDeviceVector* o... method PredictContribution (line 220) | void PredictContribution(DMatrix* p_fmat, HostDeviceVector (line 839) | class HistUpdater class HistUpdater (line 840) | class HistUpdater FILE: plugin/sycl/tree/hist_updater.h function namespace (line 28) | namespace xgboost { FILE: plugin/sycl/tree/param.h function namespace (line 24) | namespace xgboost { function bst_float (line 60) | bst_float loss_chg {0.0f}; FILE: plugin/sycl/tree/split_evaluator.h function namespace (line 26) | namespace xgboost { FILE: plugin/sycl/tree/updater_quantile_hist.cc type xgboost (line 20) | namespace xgboost { type sycl (line 21) | namespace sycl { type tree (line 22) | namespace tree { FILE: plugin/sycl/tree/updater_quantile_hist.h type HistMakerTrainParam (line 32) | struct HistMakerTrainParam function DMLC_DECLARE_PARAMETER (line 36) | DMLC_DECLARE_PARAMETER(HistMakerTrainParam) { function class (line 43) | class QuantileHistMaker: public TreeUpdater { function LoadConfig (line 59) | void LoadConfig(Json const& in) override { function SaveConfig (line 65) | void SaveConfig(Json* p_out) const override { function DMatrix (line 83) | DMatrix const* p_last_dmat_ {nullptr}; FILE: python-package/hatch_build.py function get_tag (line 12) | def get_tag() -> str: class CustomBuildHook (line 18) | class CustomBuildHook(BuildHookInterface): method initialize (line 22) | def initialize(self, version: str, build_data: Dict[str, Any]) -> None: FILE: python-package/packager/build_config.py class BuildConfiguration (line 8) | class BuildConfiguration: # pylint: disable=R0902 method _set_config_setting (line 28) | def _set_config_setting(self, config_settings: Dict[str, Any]) -> None: method update (line 36) | def update(self, config_settings: Optional[Dict[str, Any]]) -> None: method get_cmake_args (line 41) | def get_cmake_args(self) -> List[str]: FILE: python-package/packager/nativelib.py function _lib_name (line 17) | def _lib_name() -> str: function build_libxgboost (line 30) | def build_libxgboost( function locate_local_libxgboost (line 109) | def locate_local_libxgboost( function locate_or_build_libxgboost (line 123) | def locate_or_build_libxgboost( FILE: python-package/packager/pep517.py function cd (line 25) | def cd(path: Union[str, pathlib.Path]) -> Iterator[str]: # pylint: disa... function build_wheel (line 50) | def build_wheel( function build_sdist (line 93) | def build_sdist( function build_editable (line 137) | def build_editable( FILE: python-package/packager/sdist.py function copy_cpp_src_tree (line 11) | def copy_cpp_src_tree( FILE: python-package/packager/util.py function copytree_with_logging (line 10) | def copytree_with_logging( function copy_with_logging (line 18) | def copy_with_logging( FILE: python-package/xgboost/_c_api.py class XGBoostError (line 14) | class XGBoostError(ValueError): function from_pystr_to_cstr (line 19) | def from_pystr_to_cstr(data: str) -> bytes: ... function from_pystr_to_cstr (line 23) | def from_pystr_to_cstr(data: List[str]) -> ctypes.Array: ... function from_pystr_to_cstr (line 26) | def from_pystr_to_cstr(data: Union[str, List[str]]) -> Union[bytes, ctyp... function from_cstr_to_pystr (line 39) | def from_cstr_to_pystr(data: CStrPptr, length: c_bst_ulong) -> List[str]: function make_jcargs (line 50) | def make_jcargs(**kwargs: Any) -> bytes: function _log_callback (line 55) | def _log_callback(msg: bytes) -> None: function _get_log_callback_func (line 68) | def _get_log_callback_func() -> Callable: function _lib_version (line 74) | def _lib_version(lib: ctypes.CDLL) -> Tuple[int, int, int]: function _py_version (line 83) | def _py_version() -> str: function _register_log_callback (line 90) | def _register_log_callback(lib: ctypes.CDLL) -> None: function _parse_version (line 97) | def _parse_version(ver: str) -> Tuple[Tuple[int, int, int], str]: function _load_lib (line 118) | def _load_lib() -> ctypes.CDLL: function _check_call (line 187) | def _check_call(ret: int) -> None: function c_str (line 193) | def c_str(string: str) -> ctypes.c_char_p: FILE: python-package/xgboost/_data_utils.py class _ArrayLikeArg (line 45) | class _ArrayLikeArg(Protocol): method __array_interface__ (line 47) | def __array_interface__(self) -> "ArrayInf": ... class _CudaArrayLikeArg (line 50) | class _CudaArrayLikeArg(Protocol): method __cuda_array_interface__ (line 52) | def __cuda_array_interface__(self) -> "CudaArrayInf": ... function array_hasobject (line 86) | def array_hasobject(data: DataType) -> bool: function cuda_array_interface_dict (line 95) | def cuda_array_interface_dict(data: _CudaArrayLikeArg) -> CudaArrayInf: function cuda_array_interface (line 105) | def cuda_array_interface(data: _CudaArrayLikeArg) -> bytes: function from_array_interface (line 112) | def from_array_interface(interface: ArrayInf, zero_copy: bool = False) -... function make_array_interface (line 183) | def make_array_interface( function is_arrow_dict (line 217) | def is_arrow_dict(data: Any) -> TypeGuard["pa.DictionaryArray"]: class DfCatAccessor (line 222) | class DfCatAccessor(Protocol): method categories (line 226) | def categories( # pylint: disable=missing-function-docstring method codes (line 231) | def codes(self) -> "pd.Series": ... # pylint: disable=missing-functio... method dtype (line 234) | def dtype(self) -> np.dtype: ... # pylint: disable=missing-function-d... method values (line 237) | def values(self) -> np.ndarray: ... # pylint: disable=missing-functio... method to_arrow (line 239) | def to_arrow( # pylint: disable=missing-function-docstring method __cuda_array_interface__ (line 244) | def __cuda_array_interface__(self) -> CudaArrayInf: ... method _column (line 247) | def _column(self) -> Any: ... function _is_df_cat (line 250) | def _is_df_cat(data: Any) -> TypeGuard[DfCatAccessor]: function _arrow_npdtype (line 256) | def _arrow_npdtype() -> Dict[Any, Type[np.number]]: function _arrow_buf_inf (line 277) | def _arrow_buf_inf(address: int, typestr: str, size: int, stream: None) ... function _arrow_buf_inf (line 281) | def _arrow_buf_inf( function _arrow_buf_inf (line 286) | def _arrow_buf_inf( function _arrow_cat_names_inf (line 312) | def _arrow_cat_names_inf(cats: "pa.StringArray") -> Tuple[StringArray, A... function _arrow_array_inf (line 351) | def _arrow_array_inf( function arrow_cat_inf (line 386) | def arrow_cat_inf( # pylint: disable=too-many-locals function _ensure_np_dtype (line 397) | def _ensure_np_dtype( function _is_flatten (line 409) | def _is_flatten(array: NumpyOrCupy) -> bool: function array_interface_dict (line 413) | def array_interface_dict(data: np.ndarray) -> ArrayInf: function pd_cat_inf (line 423) | def pd_cat_inf( # pylint: disable=too-many-locals function array_interface (line 496) | def array_interface(data: np.ndarray) -> bytes: function check_cudf_meta (line 503) | def check_cudf_meta(data: _CudaArrayLikeArg, field: str) -> None: class ArrowSchema (line 512) | class ArrowSchema(ctypes.Structure): class ArrowArray (line 528) | class ArrowArray(ctypes.Structure): class ArrowDeviceArray (line 546) | class ArrowDeviceArray(ctypes.Structure): function wait_event (line 568) | def wait_event(event_hdl: int) -> None: function cudf_cat_inf (line 584) | def cudf_cat_inf( # pylint: disable=too-many-locals class Categories (line 648) | class Categories: method __init__ (line 680) | def __init__( method to_arrow (line 693) | def to_arrow(self) -> ArrowCatList: method empty (line 708) | def empty(self) -> bool: method get_handle (line 712) | def get_handle(self) -> int: method __del__ (line 717) | def __del__(self) -> None: function get_ref_categories (line 723) | def get_ref_categories( class TransformedDf (line 754) | class TransformedDf(ABC): method __init__ (line 767) | def __init__( method array_interface (line 783) | def array_interface(self) -> bytes: method shape (line 794) | def shape(self) -> Tuple[int, int]: FILE: python-package/xgboost/_typing.py class DataSplitMode (line 130) | class DataSplitMode(IntEnum): FILE: python-package/xgboost/callback.py class TrainingCallback (line 51) | class TrainingCallback(ABC): method __init__ (line 60) | def __init__(self) -> None: method before_training (line 63) | def before_training(self, model: _Model) -> _Model: method after_training (line 67) | def after_training(self, model: _Model) -> _Model: method before_iteration (line 71) | def before_iteration(self, model: _Model, epoch: int, evals_log: Evals... method after_iteration (line 78) | def after_iteration(self, model: _Model, epoch: int, evals_log: EvalsL... function _aggcv (line 100) | def _aggcv(rlist: List[str]) -> List[Tuple[str, float, float]]: function _allreduce_metric (line 130) | def _allreduce_metric(score: _ART) -> _ART: class CallbackContainer (line 149) | class CallbackContainer: method __init__ (line 156) | def __init__( method before_training (line 183) | def before_training(self, model: _Model) -> _Model: method after_training (line 194) | def after_training(self, model: _Model) -> _Model: method before_iteration (line 206) | def before_iteration( method _update_history (line 218) | def _update_history( method after_iteration (line 248) | def after_iteration( class LearningRateScheduler (line 272) | class LearningRateScheduler(TrainingCallback): method __init__ (line 288) | def __init__( method after_iteration (line 305) | def after_iteration(self, model: _Model, epoch: int, evals_log: EvalsL... class EarlyStopping (line 311) | class EarlyStopping(TrainingCallback): method __init__ (line 359) | def __init__( method before_training (line 384) | def before_training(self, model: _Model) -> _Model: method _update_rounds (line 393) | def _update_rounds( method after_iteration (line 456) | def after_iteration(self, model: _Model, epoch: int, evals_log: EvalsL... method after_training (line 492) | def after_training(self, model: _Model) -> _Model: class EvaluationMonitor (line 511) | class EvaluationMonitor(TrainingCallback): method __init__ (line 530) | def __init__( method _fmt_metric (line 546) | def _fmt_metric( method after_iteration (line 555) | def after_iteration(self, model: _Model, epoch: int, evals_log: EvalsL... method after_training (line 580) | def after_training(self, model: _Model) -> _Model: class TrainingCheckPoint (line 586) | class TrainingCheckPoint(TrainingCallback): method __init__ (line 615) | def __init__( method before_training (line 630) | def before_training(self, model: _Model) -> _Model: method after_iteration (line 634) | def after_iteration(self, model: _Model, epoch: int, evals_log: EvalsL... FILE: python-package/xgboost/collective.py class Config (line 25) | class Config: method update_worker_args (line 75) | def update_worker_args(self, args: _Conf) -> _Conf: method get_comm_config (line 85) | def get_comm_config(self, args: _Conf) -> _Conf: function init (line 94) | def init(**args: _ArgVals) -> None: function finalize (line 132) | def finalize() -> None: function get_rank (line 137) | def get_rank() -> int: function get_world_size (line 149) | def get_world_size() -> int: function is_distributed (line 161) | def is_distributed() -> bool: function communicator_print (line 167) | def communicator_print(msg: Any) -> None: function get_processor_name (line 187) | def get_processor_name() -> str: function broadcast (line 201) | def broadcast(data: _T, root: int) -> _T: function _map_dtype (line 249) | def _map_dtype(dtype: np.dtype) -> int: class Op (line 275) | class Op(IntEnum): function allreduce (line 286) | def allreduce(data: np.ndarray, op: Op) -> np.ndarray: function signal_error (line 319) | def signal_error() -> None: function _find_nccl (line 324) | def _find_nccl() -> Optional[str]: class CommunicatorContext (line 358) | class CommunicatorContext: method __init__ (line 361) | def __init__(self, **args: _ArgVals) -> None: method __enter__ (line 379) | def __enter__(self) -> _Args: method __exit__ (line 385) | def __exit__(self, *args: Any) -> None: FILE: python-package/xgboost/compat.py function py_str (line 22) | def py_str(x: bytes | None) -> str: function lazy_isinstance (line 28) | def lazy_isinstance(instance: Any, module: str, name: str) -> bool: class XGBModelBase (line 64) | class XGBModelBase: # type: ignore[no-redef] class XGBClassifierBase (line 67) | class XGBClassifierBase: # type: ignore[no-redef] class XGBRegressorBase (line 70) | class XGBRegressorBase: # type: ignore[no-redef] function is_cudf_available (line 83) | def is_cudf_available() -> bool: function is_cupy_available (line 97) | def is_cupy_available() -> bool: function import_cupy (line 110) | def import_cupy() -> types.ModuleType: function is_pyarrow_available (line 121) | def is_pyarrow_available() -> bool: function import_pyarrow (line 129) | def import_pyarrow() -> types.ModuleType: function import_pandas (line 137) | def import_pandas() -> types.ModuleType: function import_polars (line 145) | def import_polars() -> types.ModuleType: function is_pandas_available (line 153) | def is_pandas_available() -> bool: function _is_polars_lazyframe (line 168) | def _is_polars_lazyframe(data: DataType) -> bool: function _is_polars_series (line 172) | def _is_polars_series(data: DataType) -> bool: function _is_polars (line 176) | def _is_polars(data: DataType) -> bool: function _is_arrow (line 182) | def _is_arrow(data: DataType) -> TypeGuard["pa.Table"]: function _is_cudf_df (line 186) | def _is_cudf_df(data: DataType) -> bool: function _is_cudf_ser (line 190) | def _is_cudf_ser(data: DataType) -> bool: function _is_cudf_pandas (line 194) | def _is_cudf_pandas(data: DataType) -> bool: function _is_pandas_df (line 201) | def _is_pandas_df(data: DataType) -> TypeGuard["pd.DataFrame"]: function _is_pandas_series (line 207) | def _is_pandas_series(data: DataType) -> TypeGuard["pd.Series"]: function _is_modin_df (line 213) | def _is_modin_df(data: DataType) -> bool: function _is_modin_series (line 217) | def _is_modin_series(data: DataType) -> bool: function is_dataframe (line 221) | def is_dataframe(data: DataType) -> bool: function _is_cupy_alike (line 250) | def _is_cupy_alike(data: DataType) -> bool: function concat (line 254) | def concat(value: Sequence[_T]) -> _T: # pylint: disable=too-many-retur... FILE: python-package/xgboost/config.py function config_doc (line 14) | def config_doc( function set_config (line 127) | def set_config(**new_config: Any) -> None: function get_config (line 147) | def get_config() -> Dict[str, Any]: function config_context (line 180) | def config_context(**new_config: Any) -> Iterator[None]: FILE: python-package/xgboost/core.py function _parse_eval_str (line 98) | def _parse_eval_str(result: str) -> List[Tuple[str, float]]: function _expect (line 111) | def _expect(expectations: Sequence[Type], got: Type) -> str: function _check_distributed_params (line 134) | def _check_distributed_params(kwargs: Dict[str, Any]) -> None: function _validate_feature_info (line 156) | def _validate_feature_info( function build_info (line 173) | def build_info() -> dict: function _numpy2ctypes_type (line 190) | def _numpy2ctypes_type(dtype: Type[np.number]) -> Type[CNumeric]: function ctypes2numpy (line 208) | def ctypes2numpy(cptr: CNumericPtr, length: int, dtype: Type[np.number])... function ctypes2buffer (line 219) | def ctypes2buffer(cptr: CStrPtr, length: int) -> bytearray: function c_array (line 230) | def c_array( function _prediction_output (line 239) | def _prediction_output( class DataIter (line 249) | class DataIter(ABC): # pylint: disable=too-many-instance-attributes method __init__ (line 336) | def __init__( method get_callbacks (line 356) | def get_callbacks(self, enable_categorical: bool) -> Tuple[Callable, C... method proxy (line 368) | def proxy(self) -> "_ProxyDMatrix": method _handle_exception (line 372) | def _handle_exception(self, fn: Callable, dft_ret: _T) -> _T: method reraise (line 388) | def reraise(self) -> None: method __del__ (line 398) | def __del__(self) -> None: method _reset_wrapper (line 402) | def _reset_wrapper(self, this: None) -> None: # pylint: disable=unuse... method _next_wrapper (line 409) | def _next_wrapper(self, this: None) -> int: # pylint: disable=unused-... method reset (line 467) | def reset(self) -> None: method next (line 472) | def next(self, input_data: Callable) -> bool: function require_keyword_args (line 499) | def require_keyword_args( function _get_categories (line 563) | def _get_categories( function _is_iter (line 620) | def _is_iter(data: DataType) -> TypeGuard[DataIter]: class SingleBatchInternalIter (line 624) | class SingleBatchInternalIter(DataIter): # pylint: disable=R0902 method __init__ (line 631) | def __init__(self, **kwargs: Any) -> None: method next (line 639) | def next(self, input_data: Callable) -> bool: method reset (line 646) | def reset(self) -> None: class DMatrix (line 650) | class DMatrix: # pylint: disable=too-many-instance-attributes,too-many-... method __init__ (line 660) | def __init__( method _init_from_iter (line 828) | def _init_from_iter(self, it: DataIter, enable_categorical: bool) -> N... method __del__ (line 851) | def __del__(self) -> None: method set_info (line 858) | def set_info( method _get_info (line 898) | def _get_info(self, field: str) -> NumpyOrCupy: method get_float_info (line 909) | def get_float_info(self, field: str) -> NumpyOrCupy: method get_uint_info (line 920) | def get_uint_info(self, field: str) -> NumpyOrCupy: method set_float_info (line 931) | def set_float_info(self, field: str, data: ArrayLike) -> None: method set_float_info_npy2d (line 946) | def set_float_info_npy2d(self, field: str, data: ArrayLike) -> None: method set_uint_info (line 962) | def set_uint_info(self, field: str, data: ArrayLike) -> None: method save_binary (line 977) | def save_binary(self, fname: PathLike, silent: bool = True) -> None: method set_label (line 993) | def set_label(self, label: ArrayLike) -> None: method set_weight (line 1005) | def set_weight(self, weight: ArrayLike) -> None: method set_base_margin (line 1025) | def set_base_margin(self, margin: ArrayLike) -> None: method set_group (line 1043) | def set_group(self, group: ArrayLike) -> None: method get_label (line 1055) | def get_label(self) -> NumpyOrCupy: method get_weight (line 1059) | def get_weight(self) -> NumpyOrCupy: method get_base_margin (line 1063) | def get_base_margin(self) -> NumpyOrCupy: method get_group (line 1067) | def get_group(self) -> np.ndarray: method get_data (line 1077) | def get_data(self) -> scipy.sparse.csr_matrix: method get_quantile_cut (line 1102) | def get_quantile_cut(self) -> Tuple[np.ndarray, np.ndarray]: method get_categories (line 1132) | def get_categories(self, export_to_arrow: bool = False) -> Categories: method num_row (line 1172) | def num_row(self) -> int: method num_col (line 1178) | def num_col(self) -> int: method num_nonmissing (line 1184) | def num_nonmissing(self) -> int: method data_split_mode (line 1194) | def data_split_mode(self) -> DataSplitMode: method slice (line 1204) | def slice( method feature_names (line 1238) | def feature_names(self) -> Optional[FeatureNames]: method feature_names (line 1260) | def feature_names(self, feature_names: Optional[FeatureNames]) -> None: method feature_types (line 1311) | def feature_types(self) -> Optional[FeatureTypes]: method feature_types (line 1336) | def feature_types(self, feature_types: Optional[FeatureTypes]) -> None: class _ProxyDMatrix (line 1367) | class _ProxyDMatrix(DMatrix): method __init__ (line 1373) | def __init__(self) -> None: # pylint: disable=super-init-not-called method _ref_data_from_cuda_interface (line 1377) | def _ref_data_from_cuda_interface(self, data: DataType) -> None: method _ref_data_from_cuda_columnar (line 1382) | def _ref_data_from_cuda_columnar(self, data: TransformedDf) -> None: method _ref_data_from_array (line 1388) | def _ref_data_from_array(self, data: np.ndarray) -> None: method _ref_data_from_columnar (line 1392) | def _ref_data_from_columnar(self, data: TransformedDf) -> None: method _ref_data_from_csr (line 1398) | def _ref_data_from_csr(self, csr: scipy.sparse.csr_matrix) -> None: class _RefMixIn (line 1409) | class _RefMixIn: method ref (line 1411) | def ref(self) -> Optional[weakref.ReferenceType]: method ref (line 1418) | def ref(self, ref: weakref.ReferenceType) -> None: class QuantileDMatrix (line 1422) | class QuantileDMatrix(DMatrix, _RefMixIn): method __init__ (line 1478) | def __init__( # pylint: disable=super-init-not-called method _init (line 1553) | def _init( class ExtMemQuantileDMatrix (line 1604) | class ExtMemQuantileDMatrix(DMatrix, _RefMixIn): method __init__ (line 1619) | def __init__( # pylint: disable=super-init-not-called method _init (line 1667) | def _init( function _configure_metrics (line 1714) | def _configure_metrics(params: BoosterParam) -> BoosterParam: class Booster (line 1729) | class Booster: method __init__ (line 1737) | def __init__( method _transform_monotone_constrains (line 1797) | def _transform_monotone_constrains( method _transform_interaction_constraints (line 1814) | def _transform_interaction_constraints( method _configure_constraints (line 1835) | def _configure_constraints(self, params: BoosterParam) -> BoosterParam: method __del__ (line 1852) | def __del__(self) -> None: method __getstate__ (line 1857) | def __getstate__(self) -> Dict: method __setstate__ (line 1873) | def __setstate__(self, state: Dict) -> None: method __getitem__ (line 1889) | def __getitem__(self, val: Union[Integer, tuple, slice, EllipsisType])... method __iter__ (line 1938) | def __iter__(self) -> Generator["Booster", None, None]: method save_config (line 1947) | def save_config(self) -> str: method load_config (line 1965) | def load_config(self, config: str) -> None: method __copy__ (line 1973) | def __copy__(self) -> "Booster": method __deepcopy__ (line 1976) | def __deepcopy__(self, _: Any) -> "Booster": method copy (line 1980) | def copy(self) -> "Booster": method reset (line 1990) | def reset(self) -> "Booster": method attr (line 1999) | def attr(self, key: str) -> Optional[str]: method attributes (line 2025) | def attributes(self) -> Dict[str, Optional[str]]: method set_attr (line 2043) | def set_attr(self, **kwargs: Optional[Any]) -> None: method _get_feature_info (line 2057) | def _get_feature_info(self, field: str) -> Optional[FeatureInfo]: method _set_feature_info (line 2073) | def _set_feature_info(self, features: Optional[FeatureInfo], field: st... method feature_types (line 2096) | def feature_types(self) -> Optional[FeatureTypes]: method feature_types (line 2104) | def feature_types(self, features: Optional[FeatureTypes]) -> None: method feature_names (line 2108) | def feature_names(self) -> Optional[FeatureNames]: method feature_names (line 2116) | def feature_names(self, features: Optional[FeatureNames]) -> None: method get_categories (line 2119) | def get_categories(self, export_to_arrow: bool = False) -> Categories: method set_param (line 2146) | def set_param( method update (line 2174) | def update( method boost (line 2216) | def boost( method eval_set (line 2319) | def eval_set( method eval (line 2380) | def eval(self, data: DMatrix, name: str = "eval", iteration: int = 0) ... method predict (line 2404) | def predict( method inplace_predict (line 2541) | def inplace_predict( method save_model (line 2768) | def save_model(self, fname: PathLike) -> None: method save_raw (line 2796) | def save_raw(self, raw_format: str = "ubj") -> bytearray: method load_model (line 2826) | def load_model(self, fname: ModelIn) -> None: method best_iteration (line 2872) | def best_iteration(self) -> int: method best_iteration (line 2883) | def best_iteration(self, iteration: int) -> None: method best_score (line 2887) | def best_score(self) -> float: method best_score (line 2898) | def best_score(self, score: int) -> None: method num_boosted_rounds (line 2901) | def num_boosted_rounds(self) -> int: method num_features (line 2911) | def num_features(self) -> int: method dump_model (line 2918) | def dump_model( method get_dump (line 2963) | def get_dump( method get_fscore (line 2999) | def get_fscore(self, fmap: PathLike = "") -> Dict[str, Union[float, Li... method get_score (line 3015) | def get_score( method trees_to_dataframe (line 3082) | def trees_to_dataframe(self, fmap: PathLike = "") -> "PdDataFrame": method _assign_dmatrix_features (line 3217) | def _assign_dmatrix_features(self, data: DMatrix) -> None: method _validate_features (line 3231) | def _validate_features(self, feature_names: Optional[FeatureNames]) ->... method get_split_value_histogram (line 3266) | def get_split_value_histogram( FILE: python-package/xgboost/dask/__init__.py function _try_start_tracker (line 176) | def _try_start_tracker( function _start_tracker (line 224) | def _start_tracker( class CommunicatorContext (line 235) | class CommunicatorContext(collective.CommunicatorContext): method __init__ (line 238) | def __init__(self, **args: CollArgsVals) -> None: function _get_client (line 249) | def _get_client(client: Optional["distributed.Client"]) -> "distributed.... class DaskDMatrix (line 266) | class DaskDMatrix: method __init__ (line 296) | def __init__( method __await__ (line 359) | def __await__(self) -> Generator[None, None, "DaskDMatrix"]: method _map_local_data (line 362) | async def _map_local_data( method _create_fn_args (line 484) | def _create_fn_args(self, worker_addr: str) -> Dict[str, Any]: method num_col (line 499) | def num_col(self) -> int: function map_worker_partitions (line 513) | async def map_worker_partitions( class DaskQuantileDMatrix (line 584) | class DaskQuantileDMatrix(DaskDMatrix): method __init__ (line 591) | def __init__( method _create_fn_args (line 635) | def _create_fn_args(self, worker_addr: str) -> Dict[str, Any]: function _get_rabit_args (line 644) | async def _get_rabit_args( function _get_dask_config (line 685) | def _get_dask_config() -> Optional[Dict[str, Any]]: function _get_workers_from_data (line 696) | def _get_workers_from_data( function _check_workers_are_alive (line 711) | async def _check_workers_are_alive( function _train_async (line 721) | async def _train_async( function train (line 831) | def train( # pylint: disable=unused-argument function _can_output_df (line 888) | def _can_output_df(is_df: bool, output_shape: Tuple) -> bool: function _maybe_dataframe (line 892) | def _maybe_dataframe( function _direct_predict_impl (line 925) | async def _direct_predict_impl( # pylint: disable=too-many-branches function _infer_predict_output (line 1010) | def _infer_predict_output( function _get_model_future (line 1032) | async def _get_model_future( function _predict_async (line 1056) | async def _predict_async( function predict (line 1211) | def predict( # pylint: disable=unused-argument function _inplace_predict_async (line 1265) | async def _inplace_predict_async( # pylint: disable=too-many-branches function inplace_predict (line 1331) | def inplace_predict( # pylint: disable=unused-argument function _async_wrap_evaluation_matrices (line 1392) | async def _async_wrap_evaluation_matrices( function _set_worker_client (line 1422) | def _set_worker_client( class DaskScikitLearnBase (line 1433) | class DaskScikitLearnBase(XGBModel): method __init__ (line 1438) | def __init__(self, *, coll_cfg: Optional[CollConfig] = None, **kwargs:... method _predict_async (line 1443) | async def _predict_async( method predict (line 1483) | def predict( method _apply_async (line 1501) | async def _apply_async( method apply (line 1522) | def apply( method __await__ (line 1529) | def __await__(self) -> Awaitable[Any]: method __getstate__ (line 1536) | def __getstate__(self) -> Dict: method client (line 1543) | def client(self) -> "distributed.Client": method client (line 1554) | def client(self, clt: "distributed.Client") -> None: method _client_sync (line 1560) | def _client_sync(self, func: Callable, **kwargs: Any) -> Any: class DaskXGBRegressor (line 1588) | class DaskXGBRegressor(XGBRegressorBase, DaskScikitLearnBase): method _fit_async (line 1591) | async def _fit_async( method fit (line 1660) | def fit( class DaskXGBClassifier (line 1682) | class DaskXGBClassifier(XGBClassifierBase, DaskScikitLearnBase): method _fit_async (line 1684) | async def _fit_async( method fit (line 1772) | def fit( method _predict_proba_async (line 1789) | async def _predict_proba_async( method predict_proba (line 1814) | def predict_proba( method _predict_async (line 1832) | async def _predict_async( class DaskXGBRanker (line 1890) | class DaskXGBRanker(XGBRankerMixIn, DaskScikitLearnBase): method __init__ (line 1892) | def __init__( method _wrapper_params (line 1905) | def _wrapper_params(self) -> Set[str]: method _fit_async (line 1910) | async def _fit_async( method fit (line 1975) | def fit( class DaskXGBRFRegressor (line 2114) | class DaskXGBRFRegressor(DaskXGBRegressor): method __init__ (line 2116) | def __init__( method get_xgb_params (line 2135) | def get_xgb_params(self) -> Dict[str, Any]: method get_num_boosting_rounds (line 2140) | def get_num_boosting_rounds(self) -> int: method fit (line 2144) | def fit( class DaskXGBRFClassifier (line 2176) | class DaskXGBRFClassifier(DaskXGBClassifier): method __init__ (line 2178) | def __init__( method get_xgb_params (line 2197) | def get_xgb_params(self) -> Dict[str, Any]: method get_num_boosting_rounds (line 2202) | def get_num_boosting_rounds(self) -> int: method fit (line 2206) | def fit( FILE: python-package/xgboost/dask/data.py class DaskPartitionIter (line 49) | class DaskPartitionIter(DataIter): # pylint: disable=R0902 method __init__ (line 52) | def __init__( method _get (line 77) | def _get(self, attr: str) -> Optional[Any]: method data (line 82) | def data(self) -> Any: method reset (line 86) | def reset(self) -> None: method next (line 90) | def next(self, input_data: Callable) -> bool: function _add_column (line 110) | def _add_column(df: dd.DataFrame, col: dd.Series) -> Tuple[dd.DataFrame,... function _add_column (line 114) | def _add_column(df: dd.DataFrame, col: None) -> Tuple[dd.DataFrame, None... function _add_column (line 117) | def _add_column( function no_group_split (line 133) | def no_group_split( # pylint: disable=too-many-positional-arguments function sort_data_by_qid (line 184) | def sort_data_by_qid(**kwargs: List[Any]) -> Dict[str, List[Any]]: function _get_worker_parts (line 256) | def _get_worker_parts(list_of_parts: _DataParts) -> Dict[str, List[Any]]: function _extract_data (line 282) | def _extract_data( function _get_is_cuda (line 295) | def _get_is_cuda(parts: Optional[_DataParts]) -> bool: function _make_empty (line 305) | def _make_empty(is_cuda: bool) -> np.ndarray: function _warn_empty (line 314) | def _warn_empty() -> None: function _create_quantile_dmatrix (line 319) | def _create_quantile_dmatrix( function _create_dmatrix (line 365) | def _create_dmatrix( # pylint: disable=too-many-locals function _dmatrix_from_list_of_parts (line 419) | def _dmatrix_from_list_of_parts(is_quantile: bool, **kwargs: Any) -> DMa... function _get_dmatrices (line 425) | def _get_dmatrices( FILE: python-package/xgboost/dask/utils.py function get_n_threads (line 18) | def get_n_threads(local_param: Dict[str, Any], worker: "distributed.Work... function get_address_from_user (line 33) | def get_address_from_user( function _DASK_VERSION (line 107) | def _DASK_VERSION() -> Version: function _DASK_2024_12_1 (line 112) | def _DASK_2024_12_1() -> bool: function _DASK_2025_3_0 (line 117) | def _DASK_2025_3_0() -> bool: FILE: python-package/xgboost/data.py function _warn_unused_missing (line 98) | def _warn_unused_missing(data: DataType, missing: Optional[FloatCompatib... function _check_data_shape (line 106) | def _check_data_shape(data: DataType) -> None: function is_scipy_csr (line 111) | def is_scipy_csr(data: DataType) -> bool: function transform_scipy_sparse (line 130) | def transform_scipy_sparse(data: DataType, is_csr: bool) -> DataType: function _from_scipy_csr (line 155) | def _from_scipy_csr( function is_scipy_csc (line 185) | def is_scipy_csc(data: DataType) -> bool: function _from_scipy_csc (line 204) | def _from_scipy_csc( function is_scipy_coo (line 233) | def is_scipy_coo(data: DataType) -> bool: function _is_np_array_like (line 252) | def _is_np_array_like(data: DataType) -> TypeGuard[np.ndarray]: function _maybe_np_slice (line 256) | def _maybe_np_slice(data: DataType, dtype: Optional[NumpyDType]) -> np.n... function _from_numpy_array (line 269) | def _from_numpy_array( function _invalid_dataframe_dtype (line 352) | def _invalid_dataframe_dtype(data: DataType) -> None: function pandas_feature_info (line 370) | def pandas_feature_info( function is_nullable_dtype (line 412) | def is_nullable_dtype(dtype: PandasDType) -> bool: function is_pa_ext_dtype (line 429) | def is_pa_ext_dtype(dtype: Any) -> bool: function is_pa_ext_categorical_dtype (line 434) | def is_pa_ext_categorical_dtype(dtype: Any) -> bool: function _lazy_load_pd_is_cat (line 442) | def _lazy_load_pd_is_cat() -> Callable[[PandasDType], bool]: function is_pd_cat_dtype (line 459) | def is_pd_cat_dtype(dtype: PandasDType) -> bool: function _lazy_load_pd_is_sparse (line 466) | def _lazy_load_pd_is_sparse() -> Callable[[PandasDType], bool]: function is_pd_sparse_dtype (line 484) | def is_pd_sparse_dtype(dtype: PandasDType) -> bool: function pandas_pa_type (line 491) | def pandas_pa_type(ser: Any) -> np.ndarray: function _lazy_has_npdtypes (line 523) | def _lazy_has_npdtypes() -> bool: function _lazy_load_pd_floats (line 528) | def _lazy_load_pd_floats() -> tuple: function pandas_transform_data (line 534) | def pandas_transform_data( class PandasTransformed (line 604) | class PandasTransformed(TransformedDf): method __init__ (line 607) | def __init__( method shape (line 637) | def shape(self) -> Tuple[int, int]: function _transform_pandas_df (line 651) | def _transform_pandas_df( function _meta_from_pandas_df (line 674) | def _meta_from_pandas_df( function _from_pandas_df (line 690) | def _from_pandas_df( function _meta_from_pandas_series (line 717) | def _meta_from_pandas_series( function _from_pandas_series (line 734) | def _from_pandas_series( class ArrowTransformed (line 758) | class ArrowTransformed(TransformedDf): method __init__ (line 761) | def __init__( method shape (line 801) | def shape(self) -> Tuple[int, int]: function _transform_arrow_table (line 806) | def _transform_arrow_table( function _from_arrow_table (line 841) | def _from_arrow_table( # pylint: disable=too-many-positional-arguments function _arrow_dtype (line 867) | def _arrow_dtype() -> Dict[DataType, str]: function _arrow_feature_info (line 888) | def _arrow_feature_info(data: DataType) -> Tuple[List[str], List]: function _meta_from_arrow_table (line 908) | def _meta_from_arrow_table( function _check_pyarrow_for_polars (line 918) | def _check_pyarrow_for_polars() -> None: function _transform_polars_df (line 923) | def _transform_polars_df( function _from_polars_df (line 946) | def _from_polars_df( # pylint: disable=too-many-positional-arguments function _lazy_load_cudf_is_cat (line 972) | def _lazy_load_cudf_is_cat() -> Callable[[Any], bool]: function _lazy_load_cudf_is_bool (line 993) | def _lazy_load_cudf_is_bool() -> Callable[[Any], bool]: class CudfTransformed (line 999) | class CudfTransformed(TransformedDf): method __init__ (line 1002) | def __init__( method shape (line 1035) | def shape(self) -> Tuple[int, int]: function _transform_cudf_df (line 1044) | def _transform_cudf_df( function _from_cudf_df (line 1121) | def _from_cudf_df( function _transform_cupy_array (line 1144) | def _transform_cupy_array(data: DataType) -> CupyT: function _from_cupy_array (line 1154) | def _from_cupy_array( function _is_cupy_csr (line 1174) | def _is_cupy_csr(data: DataType) -> bool: function _is_cupy_csc (line 1182) | def _is_cupy_csc(data: DataType) -> bool: function _is_dlpack (line 1190) | def _is_dlpack(data: DataType) -> bool: function _transform_dlpack (line 1194) | def _transform_dlpack(data: DataType) -> bool: function _from_dlpack (line 1202) | def _from_dlpack( function _is_uri (line 1213) | def _is_uri(data: DataType) -> TypeGuard[PathLike]: function _from_uri (line 1217) | def _from_uri( function _is_list (line 1232) | def _is_list(data: DataType) -> TypeGuard[list]: function _from_list (line 1236) | def _from_list( function _is_tuple (line 1257) | def _is_tuple(data: DataType) -> TypeGuard[tuple]: function _from_tuple (line 1261) | def _from_tuple( function _has_array_protocol (line 1280) | def _has_array_protocol(data: DataType) -> bool: function _convert_unknown_data (line 1284) | def _convert_unknown_data(data: DataType) -> DataType: function dispatch_data_backend (line 1302) | def dispatch_data_backend( function _validate_meta_shape (line 1490) | def _validate_meta_shape(data: DataType, name: str) -> None: function _meta_from_numpy (line 1504) | def _meta_from_numpy( function _meta_from_list (line 1518) | def _meta_from_list( function _meta_from_tuple (line 1525) | def _meta_from_tuple( function _meta_from_cudf_df (line 1531) | def _meta_from_cudf_df(data: DataType, field: str, handle: ctypes.c_void... function _meta_from_cudf_series (line 1540) | def _meta_from_cudf_series(data: DataType, field: str, handle: ctypes.c_... function _meta_from_cupy_array (line 1546) | def _meta_from_cupy_array(data: DataType, field: str, handle: ctypes.c_v... function dispatch_meta_backend (line 1552) | def dispatch_meta_backend( function _proxy_transform (line 1616) | def _proxy_transform( function is_on_cuda (line 1669) | def is_on_cuda(data: Any) -> bool: function dispatch_proxy_set_data (line 1683) | def dispatch_proxy_set_data( FILE: python-package/xgboost/federated.py class FederatedTracker (line 11) | class FederatedTracker(RabitTracker): method __init__ (line 38) | def __init__( # pylint: disable=R0913, W0231 function run_federated_server (line 65) | def run_federated_server( # pylint: disable=too-many-arguments FILE: python-package/xgboost/libpath.py class XGBoostLibraryNotFound (line 10) | class XGBoostLibraryNotFound(Exception): function is_sphinx_build (line 14) | def is_sphinx_build() -> bool: function find_lib_path (line 19) | def find_lib_path() -> List[str]: FILE: python-package/xgboost/objective.py class Objective (line 31) | class Objective(ABC): method __call__ (line 43) | def __call__( class TreeObjective (line 48) | class TreeObjective(Objective): method split_grad (line 60) | def split_grad( function _grad_arrinf (line 67) | def _grad_arrinf(array: NumpyOrCupy, n_samples: int) -> bytes: FILE: python-package/xgboost/plotting.py function plot_importance (line 21) | def plot_importance( function to_graphviz (line 154) | def to_graphviz( function plot_tree (line 286) | def plot_tree( FILE: python-package/xgboost/sklearn.py class XGBRankerMixIn (line 77) | class XGBRankerMixIn: function _check_rf_callback (line 86) | def _check_rf_callback( function _can_use_qdm (line 97) | def _can_use_qdm(tree_method: Optional[str], device: Optional[str]) -> b... class _SklObjWProto (line 102) | class _SklObjWProto(Protocol): method __call__ (line 103) | def __call__( function _objective_decorator (line 115) | def _objective_decorator(func: Union[_SklObjWProto, _SklObjProto]) -> Pl... function _metric_decorator (line 169) | def _metric_decorator(func: Callable) -> Metric: function ltr_metric_decorator (line 187) | def ltr_metric_decorator(func: Callable, n_jobs: Optional[int]) -> Metric: function xgboost_model_doc (line 570) | def xgboost_model_doc( function get_model_categories (line 623) | def get_model_categories( function pick_ref_categories (line 651) | def pick_ref_categories( function _wrap_evaluation_matrices (line 682) | def _wrap_evaluation_matrices( class XGBModel (line 806) | class XGBModel(XGBModelBase): method __init__ (line 809) | def __init__( method _more_tags (line 910) | def _more_tags(self) -> Dict[str, bool]: method _update_sklearn_tags_from_dict (line 921) | def _update_sklearn_tags_from_dict( method __sklearn_tags__ (line 942) | def __sklearn_tags__(self) -> _sklearn_Tags: method __sklearn_is_fitted__ (line 959) | def __sklearn_is_fitted__(self) -> bool: method _doc_link_module (line 963) | def _doc_link_module(self) -> str: method _doc_link_template (line 967) | def _doc_link_template(self) -> str: method _wrapper_params (line 988) | def _wrapper_params(self) -> Set[str]: method get_booster (line 1002) | def get_booster(self) -> Booster: method set_params (line 1017) | def set_params(self, **params: Any) -> "XGBModel": method get_params (line 1048) | def get_params(self, deep: bool = True) -> Dict[str, Any]: method get_xgb_params (line 1089) | def get_xgb_params(self) -> Dict[str, Any]: method get_num_boosting_rounds (line 1102) | def get_num_boosting_rounds(self) -> int: method _get_type (line 1106) | def _get_type(self) -> str: method save_model (line 1116) | def save_model(self, fname: Union[str, os.PathLike]) -> None: method load_model (line 1128) | def load_model(self, fname: ModelIn) -> None: method _load_model_attributes (line 1151) | def _load_model_attributes(self, config: dict) -> None: method _configure_fit (line 1173) | def _configure_fit( method _create_dmatrix (line 1254) | def _create_dmatrix(self, ref: Optional[DMatrix], **kwargs: Any) -> DM... method _set_evaluation_result (line 1265) | def _set_evaluation_result(self, evals_result: EvalsLog) -> None: method fit (line 1270) | def fit( method _can_use_inplace_predict (line 1386) | def _can_use_inplace_predict(self) -> bool: method _get_iteration_range (line 1389) | def _get_iteration_range( method predict (line 1403) | def predict( method apply (line 1479) | def apply( method evals_result (line 1516) | def evals_result(self) -> Dict[str, Dict[str, List[float]]]: method n_features_in_ (line 1547) | def n_features_in_(self) -> int: method feature_names_in_ (line 1553) | def feature_names_in_(self) -> np.ndarray: method best_score (line 1567) | def best_score(self) -> float: method best_iteration (line 1572) | def best_iteration(self) -> int: method feature_importances_ (line 1580) | def feature_importances_(self) -> np.ndarray: method coef_ (line 1615) | def coef_(self) -> np.ndarray: method intercept_ (line 1645) | def intercept_(self) -> np.ndarray: function _cls_predict_proba (line 1672) | def _cls_predict_proba(n_classes: int, prediction: PredtT, vstack: Calla... class XGBClassifier (line 1698) | class XGBClassifier(XGBClassifierBase, XGBModel): method __init__ (line 1701) | def __init__( method _more_tags (line 1709) | def _more_tags(self) -> Dict[str, bool]: method __sklearn_tags__ (line 1714) | def __sklearn_tags__(self) -> _sklearn_Tags: method fit (line 1721) | def fit( method predict (line 1833) | def predict( method predict_proba (line 1870) | def predict_proba( method classes_ (line 1931) | def classes_(self) -> np.ndarray: class XGBRFClassifier (line 1943) | class XGBRFClassifier(XGBClassifier): method __init__ (line 1946) | def __init__( method get_xgb_params (line 1964) | def get_xgb_params(self) -> Dict[str, Any]: method get_num_boosting_rounds (line 1969) | def get_num_boosting_rounds(self) -> int: method fit (line 1974) | def fit( class XGBRegressor (line 1998) | class XGBRegressor(XGBRegressorBase, XGBModel): method __init__ (line 2001) | def __init__( method _more_tags (line 2006) | def _more_tags(self) -> Dict[str, bool]: method __sklearn_tags__ (line 2012) | def __sklearn_tags__(self) -> _sklearn_Tags: class XGBRFRegressor (line 2028) | class XGBRFRegressor(XGBRegressor): method __init__ (line 2031) | def __init__( method get_xgb_params (line 2049) | def get_xgb_params(self) -> Dict[str, Any]: method get_num_boosting_rounds (line 2054) | def get_num_boosting_rounds(self) -> int: method fit (line 2059) | def fit( function _get_qid (line 2079) | def _get_qid( class XGBRanker (line 2146) | class XGBRanker(XGBRankerMixIn, XGBModel): method __init__ (line 2149) | def __init__(self, *, objective: str = "rank:ndcg", **kwargs: Any): method _create_ltr_dmatrix (line 2156) | def _create_ltr_dmatrix( method fit (line 2167) | def fit( method predict (line 2328) | def predict( method apply (line 2346) | def apply( method score (line 2354) | def score(self, X: ArrayLike, y: ArrayLike) -> float: FILE: python-package/xgboost/spark/core.py class _SparkXGBParams (line 192) | class _SparkXGBParams( method set_coll_cfg (line 257) | def set_coll_cfg(self, value: Config) -> "_SparkXGBParams": method set_device (line 263) | def set_device(self, value: str) -> "_SparkXGBParams": method _xgb_cls (line 271) | def _xgb_cls(cls) -> Type[XGBModel]: method _get_xgb_params_default (line 280) | def _get_xgb_params_default(cls) -> Dict[str, Any]: method _set_xgb_params_default (line 290) | def _set_xgb_params_default(self) -> None: method _gen_xgb_params_dict (line 295) | def _gen_xgb_params_dict( method _get_fit_params_default (line 319) | def _get_fit_params_default(cls) -> Dict[str, Any]: method _set_fit_params_default (line 326) | def _set_fit_params_default(self) -> None: method _gen_fit_params_dict (line 331) | def _gen_fit_params_dict(self) -> Dict[str, Any]: method _get_predict_params_default (line 341) | def _get_predict_params_default(cls) -> Dict[str, Any]: method _set_predict_params_default (line 348) | def _set_predict_params_default(self) -> None: method _gen_predict_params_dict (line 354) | def _gen_predict_params_dict(self) -> Dict[str, Any]: method _validate_gpu_params (line 363) | def _validate_gpu_params( method _validate_params (line 421) | def _validate_params(self) -> None: method _run_on_gpu (line 493) | def _run_on_gpu(self) -> bool: method _col_is_defined_not_empty (line 498) | def _col_is_defined_not_empty(self, param: "Param[str]") -> bool: function _validate_and_convert_feature_col_as_float_col_list (line 502) | def _validate_and_convert_feature_col_as_float_col_list( function _validate_and_convert_feature_col_as_array_col (line 519) | def _validate_and_convert_feature_col_as_array_col( function _get_unwrap_udt_fn (line 551) | def _get_unwrap_udt_fn() -> Callable[[Union[Column, str]], Column]: function _get_unwrapped_vec_cols (line 570) | def _get_unwrapped_vec_cols(feature_col: Column) -> List[Column]: class _SparkXGBEstimator (line 605) | class _SparkXGBEstimator(Estimator, _SparkXGBParams, MLReadable, MLWrita... method __init__ (line 608) | def __init__(self) -> None: method setParams (line 630) | def setParams(self, **kwargs: Any) -> None: method _pyspark_model_cls (line 681) | def _pyspark_model_cls(cls) -> Type["_SparkXGBModel"]: method _create_pyspark_model (line 688) | def _create_pyspark_model( method _convert_to_sklearn_model (line 693) | def _convert_to_sklearn_model(self, booster: bytearray, config: str) -... method _repartition_needed (line 702) | def _repartition_needed(self, dataset: DataFrame) -> bool: method _get_distributed_train_params (line 712) | def _get_distributed_train_params(self, dataset: DataFrame) -> Dict[st... method _get_xgb_train_call_args (line 743) | def _get_xgb_train_call_args( method _prepare_input_columns_and_feature_prop (line 761) | def _prepare_input_columns_and_feature_prop( method _prepare_input (line 819) | def _prepare_input(self, dataset: DataFrame) -> Tuple[DataFrame, Featu... method _get_xgb_parameters (line 868) | def _get_xgb_parameters( method _skip_stage_level_scheduling (line 899) | def _skip_stage_level_scheduling(self, spark_version: str, conf: Spark... method _try_stage_level_scheduling (line 966) | def _try_stage_level_scheduling(self, rdd: RDD) -> RDD: method _get_tracker_args (line 1011) | def _get_tracker_args(self) -> Tuple[bool, Dict[str, Any]]: method _fit (line 1038) | def _fit(self, dataset: DataFrame) -> "_SparkXGBModel": method write (line 1201) | def write(self) -> "SparkXGBWriter": method read (line 1208) | def read(cls) -> "SparkXGBReader": class _SparkXGBModel (line 1215) | class _SparkXGBModel(Model, _SparkXGBParams, MLReadable, MLWritable): method __init__ (line 1216) | def __init__( method _xgb_cls (line 1226) | def _xgb_cls(cls) -> Type[XGBModel]: method get_booster (line 1229) | def get_booster(self) -> Booster: method get_feature_importances (line 1236) | def get_feature_importances( method write (line 1255) | def write(self) -> "SparkXGBModelWriter": method read (line 1262) | def read(cls) -> "SparkXGBModelReader": method _get_feature_col (line 1268) | def _get_feature_col( method _get_pred_contrib_col_name (line 1304) | def _get_pred_contrib_col_name(self) -> Optional[str]: method _out_schema (line 1312) | def _out_schema(self) -> Tuple[bool, str]: method _get_predict_func (line 1322) | def _get_predict_func(self) -> Callable: method _post_transform (line 1349) | def _post_transform(self, dataset: DataFrame, pred_col: Column) -> Dat... method _run_on_gpu (line 1376) | def _run_on_gpu(self) -> bool: method _transform (line 1403) | def _transform(self, dataset: DataFrame) -> DataFrame: class _ClassificationModel (line 1507) | class _ClassificationModel( # pylint: disable=abstract-method method _out_schema (line 1516) | def _out_schema(self) -> Tuple[bool, str]: method _get_predict_func (line 1528) | def _get_predict_func(self) -> Callable: method _post_transform (line 1574) | def _post_transform(self, dataset: DataFrame, pred_col: Column) -> Dat... class _SparkXGBSharedReadWrite (line 1608) | class _SparkXGBSharedReadWrite: method saveMetadata (line 1610) | def saveMetadata( method loadMetadataAndInstance (line 1664) | def loadMetadataAndInstance( class SparkXGBWriter (line 1709) | class SparkXGBWriter(MLWriter): method __init__ (line 1714) | def __init__(self, instance: "_SparkXGBEstimator") -> None: method saveImpl (line 1719) | def saveImpl(self, path: str) -> None: class SparkXGBReader (line 1726) | class SparkXGBReader(MLReader): method __init__ (line 1731) | def __init__(self, cls: Type["_SparkXGBEstimator"]) -> None: method load (line 1736) | def load(self, path: str) -> "_SparkXGBEstimator": class SparkXGBModelWriter (line 1746) | class SparkXGBModelWriter(MLWriter): method __init__ (line 1751) | def __init__(self, instance: _SparkXGBModel) -> None: method saveImpl (line 1756) | def saveImpl(self, path: str) -> None: class SparkXGBModelReader (line 1777) | class SparkXGBModelReader(MLReader): method __init__ (line 1782) | def __init__(self, cls: Type["_SparkXGBModel"]) -> None: method load (line 1787) | def load(self, path: str) -> "_SparkXGBModel": FILE: python-package/xgboost/spark/data.py function stack_series (line 18) | def stack_series(series: pd.Series) -> np.ndarray: function concat_or_none (line 31) | def concat_or_none(seq: Optional[Sequence[np.ndarray]]) -> Optional[np.n... function cache_partitions (line 38) | def cache_partitions( class PartIter (line 70) | class PartIter(DataIter): method __init__ (line 73) | def __init__( method _fetch (line 83) | def _fetch(self, data: Optional[Sequence[pd.DataFrame]]) -> Optional[p... method next (line 98) | def next(self, input_data: Callable) -> bool: method reset (line 112) | def reset(self) -> None: function _read_csr_matrix_from_unwrapped_spark_vec (line 116) | def _read_csr_matrix_from_unwrapped_spark_vec(part: pd.DataFrame) -> csr... function make_qdm (line 159) | def make_qdm( function create_dmatrix_from_partitions (line 174) | def create_dmatrix_from_partitions( # pylint: disable=too-many-arguments function pred_contribs (line 342) | def pred_contribs( FILE: python-package/xgboost/spark/estimator.py function _set_pyspark_xgb_cls_param_attrs (line 23) | def _set_pyspark_xgb_cls_param_attrs( class SparkXGBRegressor (line 79) | class SparkXGBRegressor(_SparkXGBEstimator): method __init__ (line 194) | def __init__( # pylint:disable=too-many-arguments method _xgb_cls (line 218) | def _xgb_cls(cls) -> Type[XGBRegressor]: method _pyspark_model_cls (line 222) | def _pyspark_model_cls(cls) -> Type["SparkXGBRegressorModel"]: method _validate_params (line 225) | def _validate_params(self) -> None: class SparkXGBRegressorModel (line 233) | class SparkXGBRegressorModel(_SparkXGBModel): method _xgb_cls (line 241) | def _xgb_cls(cls) -> Type[XGBRegressor]: class SparkXGBClassifier (line 248) | class SparkXGBClassifier(_SparkXGBEstimator, HasProbabilityCol, HasRawPr... method __init__ (line 371) | def __init__( # pylint:disable=too-many-arguments method _xgb_cls (line 402) | def _xgb_cls(cls) -> Type[XGBClassifier]: method _pyspark_model_cls (line 406) | def _pyspark_model_cls(cls) -> Type["SparkXGBClassifierModel"]: method _validate_params (line 409) | def _validate_params(self) -> None: class SparkXGBClassifierModel (line 421) | class SparkXGBClassifierModel(_ClassificationModel): method _xgb_cls (line 429) | def _xgb_cls(cls) -> Type[XGBClassifier]: class SparkXGBRanker (line 436) | class SparkXGBRanker(_SparkXGBEstimator): method __init__ (line 560) | def __init__( # pylint:disable=too-many-arguments method _xgb_cls (line 585) | def _xgb_cls(cls) -> Type[XGBRanker]: method _pyspark_model_cls (line 589) | def _pyspark_model_cls(cls) -> Type["SparkXGBRankerModel"]: method _validate_params (line 592) | def _validate_params(self) -> None: class SparkXGBRankerModel (line 600) | class SparkXGBRankerModel(_SparkXGBModel): method _xgb_cls (line 608) | def _xgb_cls(cls) -> Type[XGBRanker]: FILE: python-package/xgboost/spark/params.py class HasArbitraryParamsDict (line 9) | class HasArbitraryParamsDict(Params): class HasBaseMarginCol (line 25) | class HasBaseMarginCol(Params): class HasFeaturesCols (line 39) | class HasFeaturesCols(Params): method __init__ (line 52) | def __init__(self) -> None: class HasEnableSparseDataOptim (line 57) | class HasEnableSparseDataOptim(Params): method __init__ (line 73) | def __init__(self) -> None: class HasQueryIdCol (line 78) | class HasQueryIdCol(Params): class HasContribPredictionCol (line 91) | class HasContribPredictionCol(Params): FILE: python-package/xgboost/spark/summary.py class XGBoostTrainingSummary (line 8) | class XGBoostTrainingSummary: method from_metrics (line 18) | def from_metrics( FILE: python-package/xgboost/spark/utils.py function get_class_name (line 26) | def get_class_name(cls: Type) -> str: function _get_default_params_from_func (line 31) | def _get_default_params_from_func( class CommunicatorContext (line 50) | class CommunicatorContext(CCtx): method __init__ (line 53) | def __init__(self, context: BarrierTaskContext, **args: CollArgsVals) ... function _start_tracker (line 58) | def _start_tracker(host: str, n_workers: int, port: int = 0) -> CollArgs: function _get_rabit_args (line 70) | def _get_rabit_args(conf: Config, n_workers: int) -> CollArgs: function _get_host_ip (line 78) | def _get_host_ip(context: BarrierTaskContext) -> str: function _get_spark_session (line 84) | def _get_spark_session() -> SparkSession: function get_logger (line 97) | def get_logger(name: str, level: Optional[Union[str, int]] = None) -> lo... function get_logger_level (line 117) | def get_logger_level(name: str) -> Optional[int]: function _get_max_num_concurrent_tasks (line 123) | def _get_max_num_concurrent_tasks(spark_context: SparkContext) -> int: function _is_local (line 134) | def _is_local(spark_context: SparkContext) -> bool: function _is_standalone_or_localcluster (line 140) | def _is_standalone_or_localcluster(conf: SparkConf) -> bool: function _get_gpu_id (line 147) | def _get_gpu_id(task_context: TaskContext) -> int: function _get_or_create_tmp_dir (line 161) | def _get_or_create_tmp_dir() -> str: function deserialize_xgb_model (line 169) | def deserialize_xgb_model( function serialize_booster (line 180) | def serialize_booster(booster: Booster) -> str: function deserialize_booster (line 197) | def deserialize_booster(model: str) -> Booster: function use_cuda (line 210) | def use_cuda(device: Optional[str]) -> bool: FILE: python-package/xgboost/testing/__init__.py function has_ipv6 (line 66) | def has_ipv6() -> bool: function no_mod (line 96) | def no_mod(name: str) -> PytestSkip: function no_ipv6 (line 101) | def no_ipv6() -> PytestSkip: function not_linux (line 106) | def not_linux() -> PytestSkip: function no_ubjson (line 110) | def no_ubjson() -> PytestSkip: function no_sklearn (line 114) | def no_sklearn() -> PytestSkip: function no_dask (line 118) | def no_dask() -> PytestSkip: function no_loky (line 122) | def no_loky() -> PytestSkip: function no_dask_ml (line 126) | def no_dask_ml() -> PytestSkip: function no_spark (line 132) | def no_spark() -> PytestSkip: function no_pandas (line 138) | def no_pandas() -> PytestSkip: function no_arrow (line 142) | def no_arrow() -> PytestSkip: function no_polars (line 146) | def no_polars() -> PytestSkip: function no_modin (line 150) | def no_modin() -> PytestSkip: function no_matplotlib (line 161) | def no_matplotlib() -> PytestSkip: function no_dask_cuda (line 171) | def no_dask_cuda() -> PytestSkip: function no_cudf (line 175) | def no_cudf() -> PytestSkip: function no_cupy (line 179) | def no_cupy() -> PytestSkip: function no_dask_cudf (line 192) | def no_dask_cudf() -> PytestSkip: function no_graphviz (line 196) | def no_graphviz() -> PytestSkip: function no_rmm (line 200) | def no_rmm() -> PytestSkip: function no_multiple (line 204) | def no_multiple(*args: Any) -> PytestSkip: function skip_win (line 215) | def skip_win() -> PytestSkip: function make_regression (line 219) | def make_regression( function make_batches_sparse (line 227) | def make_batches_sparse( class TestDataset (line 251) | class TestDataset: method __init__ (line 254) | def __init__( method set_params (line 264) | def set_params(self, params_in: Dict[str, Any]) -> Dict[str, Any]: method get_dmat (line 271) | def get_dmat(self) -> xgb.DMatrix: method get_device_dmat (line 280) | def get_device_dmat(self, max_bin: Optional[int]) -> xgb.QuantileDMatrix: method get_external_dmat (line 290) | def get_external_dmat(self) -> xgb.DMatrix: method __repr__ (line 319) | def __repr__(self) -> str: function make_ltr (line 323) | def make_ltr( function _cat_sampled_from (line 346) | def _cat_sampled_from() -> strategies.SearchStrategy: function make_datasets_with_margin (line 418) | def make_datasets_with_margin( function make_dataset_strategy (line 458) | def make_dataset_strategy() -> strategies.SearchStrategy[TestDataset]: function logregobj (line 508) | def logregobj(preds: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[np.ndarra... function eval_error_metric (line 517) | def eval_error_metric( function eval_error_metric_skl (line 541) | def eval_error_metric_skl( function root_mean_square (line 558) | def root_mean_square(y_true: np.ndarray, y_score: np.ndarray) -> float: function softmax (line 564) | def softmax(x: np.ndarray) -> np.ndarray: function softprob_obj (line 569) | def softprob_obj( function ls_obj (line 614) | def ls_obj( class DirectoryExcursion (line 626) | class DirectoryExcursion: method __init__ (line 632) | def __init__(self, path: PathLike, cleanup: bool = False): method __enter__ (line 638) | def __enter__(self) -> None: method __exit__ (line 647) | def __exit__(self, *args: Any) -> None: function captured_output (line 661) | def captured_output() -> Generator[Tuple[StringIO, StringIO], None, None]: function timeout (line 678) | def timeout(sec: int, *args: Any, enable: bool = True, **kwargs: Any) ->... function setup_rmm_pool (line 698) | def setup_rmm_pool(_: Any, pytestconfig: pytest.Config) -> None: function demo_dir (line 716) | def demo_dir(path: str) -> str: function normpath (line 729) | def normpath(path: str) -> str: function data_dir (line 733) | def data_dir(path: str) -> str: function load_agaricus (line 737) | def load_agaricus(path: str) -> Tuple[xgb.DMatrix, xgb.DMatrix]: function project_root (line 744) | def project_root(path: str) -> str: function run_with_rabit (line 748) | def run_with_rabit( function column_split_feature_names (line 775) | def column_split_feature_names( function is_windows (line 784) | def is_windows() -> bool: FILE: python-package/xgboost/testing/basic_models.py function run_custom_objective (line 14) | def run_custom_objective( # pylint: disable=too-many-locals FILE: python-package/xgboost/testing/callbacks.py function run_eta_decay (line 14) | def run_eta_decay( function tree_methods_objs (line 118) | def tree_methods_objs() -> List[Tuple[str, str]]: function run_eta_decay_leaf_output (line 132) | def run_eta_decay_leaf_output( FILE: python-package/xgboost/testing/collective.py function get_avail_port (line 6) | def get_avail_port() -> int: FILE: python-package/xgboost/testing/continuation.py function run_training_continuation_model_output (line 14) | def run_training_continuation_model_output(device: str, tree_method: str... function run_training_continuation_determinism (line 64) | def run_training_continuation_determinism( function make_determinism_strategy (line 133) | def make_determinism_strategy(tree_methods: list[str]) -> "strategies.Se... FILE: python-package/xgboost/testing/dask.py function check_init_estimation_clf (line 28) | def check_init_estimation_clf( function check_init_estimation_reg (line 53) | def check_init_estimation_reg( function check_init_estimation (line 78) | def check_init_estimation( function check_uneven_nan (line 86) | def check_uneven_nan( function check_external_memory (line 107) | def check_external_memory( # pylint: disable=too-many-locals function get_rabit_args (line 180) | def get_rabit_args(client: Client, n_workers: int) -> Any: function get_client_workers (line 185) | def get_client_workers(client: Client) -> List[str]: function make_ltr (line 192) | def make_ltr( # pylint: disable=too-many-locals,too-many-arguments function check_no_group_split (line 246) | def check_no_group_split(client: Client, device: str) -> None: function make_categorical (line 278) | def make_categorical( # pylint: disable=too-many-locals, too-many-argum... function make_categorical (line 291) | def make_categorical( # pylint: disable=too-many-locals, too-many-argum... function make_categorical (line 303) | def make_categorical( # pylint: disable=too-many-locals, too-many-argum... function run_recode (line 371) | def run_recode(client: Client, device: Device) -> None: FILE: python-package/xgboost/testing/data.py function np_dtypes (line 49) | def np_dtypes( function pd_dtypes (line 108) | def pd_dtypes() -> Generator: function pd_arrow_dtypes (line 173) | def pd_arrow_dtypes() -> Generator: function check_inf (line 231) | def check_inf(rng: RNG) -> None: function get_california_housing (line 245) | def get_california_housing() -> Tuple[np.ndarray, np.ndarray]: function get_digits (line 301) | def get_digits() -> Tuple[np.ndarray, np.ndarray]: function get_cancer (line 309) | def get_cancer() -> Tuple[np.ndarray, np.ndarray]: function get_sparse (line 316) | def get_sparse() -> Tuple[np.ndarray, np.ndarray]: function get_ames_housing (line 333) | def get_ames_housing() -> Tuple[DataFrameT, np.ndarray]: function get_mq2008 (line 516) | def get_mq2008( function make_batches (line 572) | def make_batches( # pylint: disable=too-many-arguments,too-many-locals class ClickFold (line 606) | class ClickFold: class RelDataCV (line 617) | class RelDataCV(NamedTuple): method is_binary (line 624) | def is_binary(self) -> bool: class PBM (line 629) | class PBM: method __init__ (line 639) | def __init__(self, eta: float) -> None: method sample_clicks_for_query (line 648) | def sample_clicks_for_query( function rlencode (line 684) | def rlencode(x: npt.NDArray[np.int32]) -> Tuple[npt.NDArray, npt.NDArray... function init_rank_score (line 699) | def init_rank_score( function simulate_one_fold (line 735) | def simulate_one_fold( function simulate_clicks (line 770) | def simulate_clicks(cv_data: RelDataCV) -> Tuple[ClickFold, Optional[Cli... function sort_ltr_samples (line 813) | def sort_ltr_samples( function run_base_margin_info (line 862) | def run_base_margin_info(DType: Callable, DMatrixT: Type[DMatrix], devic... function make_sparse_regression (line 910) | def make_sparse_regression( function unique_random_strings (line 995) | def unique_random_strings(n_strings: int, seed: int) -> List[str]: function make_categorical (line 1011) | def make_categorical( class IteratorForTest (line 1116) | class IteratorForTest(DataIter): method __init__ (line 1119) | def __init__( # pylint: disable=too-many-arguments method next (line 1140) | def next(self, input_data: Callable) -> bool: method reset (line 1157) | def reset(self) -> None: method as_arrays (line 1160) | def as_arrays( FILE: python-package/xgboost/testing/data_iter.py function run_mixed_sparsity (line 14) | def run_mixed_sparsity(device: str) -> None: function check_invalid_cat_batches (line 43) | def check_invalid_cat_batches(device: str) -> None: function check_uneven_sizes (line 89) | def check_uneven_sizes(device: str) -> None: class CatIter (line 107) | class CatIter(DataIter): # pylint: disable=too-many-instance-attributes method __init__ (line 110) | def __init__( # pylint: disable=too-many-arguments,too-many-locals method xy (line 156) | def xy(self) -> tuple: method next (line 160) | def next(self, input_data: Callable) -> bool: method reset (line 175) | def reset(self) -> None: FILE: python-package/xgboost/testing/federated.py function run_server (line 27) | def run_server(port: int, world_size: int, with_ssl: bool) -> None: function run_worker (line 41) | def run_worker( function run_federated (line 102) | def run_federated(world_size: int, with_ssl: bool, use_gpu: bool) -> None: function run_federated_learning (line 127) | def run_federated_learning(with_ssl: bool, use_gpu: bool, test_path: str... FILE: python-package/xgboost/testing/interaction_constraints.py function run_interaction_constraints (line 13) | def run_interaction_constraints( # pylint: disable=too-many-locals function training_accuracy (line 64) | def training_accuracy(tree_method: str, dpath: str, device: Device) -> N... FILE: python-package/xgboost/testing/intercept.py function run_init_estimation (line 22) | def run_init_estimation(tree_method: str, device: Device) -> None: function run_adaptive (line 133) | def run_adaptive(tree_method: str, weighted: bool, device: Device) -> None: function run_exp_family (line 222) | def run_exp_family(device: Device) -> None: function run_logistic_degenerate (line 246) | def run_logistic_degenerate(device: Device) -> None: FILE: python-package/xgboost/testing/metrics.py function check_precision_score (line 15) | def check_precision_score( # pylint: disable=too-many-locals function check_quantile_error (line 64) | def check_quantile_error(tree_method: str, device: Device) -> None: function _expectile_loss (line 109) | def _expectile_loss( function _expectile_loss_multi (line 120) | def _expectile_loss_multi( function check_expectile_error (line 131) | def check_expectile_error(tree_method: str, device: Device) -> None: function run_roc_auc_binary (line 191) | def run_roc_auc_binary(tree_method: str, n_samples: int, device: Device)... function run_pr_auc_multi (line 229) | def run_pr_auc_multi(tree_method: str, device: Device) -> None: function run_roc_auc_multi (line 249) | def run_roc_auc_multi( # pylint: disable=too-many-locals function run_pr_auc_ltr (line 304) | def run_pr_auc_ltr(tree_method: str, device: Device) -> None: function run_pr_auc_binary (line 328) | def run_pr_auc_binary(tree_method: str, device: Device) -> None: FILE: python-package/xgboost/testing/monotone_constraints.py function is_increasing (line 11) | def is_increasing(v: np.ndarray) -> bool: function is_decreasing (line 16) | def is_decreasing(v: np.ndarray) -> bool: function is_correctly_constrained (line 21) | def is_correctly_constrained( FILE: python-package/xgboost/testing/multi_target.py function run_multiclass (line 29) | def run_multiclass(device: Device, learning_rate: Optional[float]) -> None: function run_multilabel (line 52) | def run_multilabel(device: Device, learning_rate: Optional[float]) -> None: function run_quantile_loss (line 73) | def run_quantile_loss(device: Device, weighted: bool) -> None: function run_absolute_error (line 110) | def run_absolute_error(device: Device) -> None: function _array_impl (line 139) | def _array_impl(device: Device) -> ModuleType: class LsObj0 (line 147) | class LsObj0(TreeObjective): method __init__ (line 150) | def __init__(self, device: Device) -> None: method __call__ (line 153) | def __call__( method split_grad (line 162) | def split_grad( class LsObj1 (line 169) | class LsObj1(Objective): method __init__ (line 172) | def __init__(self, device: Device) -> None: method __call__ (line 175) | def __call__( class LsObj2 (line 186) | class LsObj2(LsObj0): method __init__ (line 189) | def __init__(self, device: Device, check_used: bool): method split_grad (line 193) | def split_grad( function run_reduced_grad (line 205) | def run_reduced_grad(device: Device) -> None: function run_with_iter (line 250) | def run_with_iter(device: Device) -> None: # pylint: disable=too-many-l... function run_eta (line 336) | def run_eta(device: Device) -> None: function run_deterministic (line 366) | def run_deterministic(device: Device) -> None: function run_column_sampling (line 388) | def run_column_sampling(device: Device) -> None: function run_grow_policy (line 441) | def run_grow_policy(device: Device, grow_policy: str) -> None: function run_mixed_strategy (line 459) | def run_mixed_strategy(device: Device) -> None: function run_feature_importance_strategy_compare (line 500) | def run_feature_importance_strategy_compare(device: Device) -> None: function _run_regression_objective_test (line 561) | def _run_regression_objective_test( function run_reg_squarederror (line 612) | def run_reg_squarederror(device: Device) -> None: function run_reg_logistic (line 621) | def run_reg_logistic(device: Device) -> None: function run_reg_gamma (line 632) | def run_reg_gamma(device: Device) -> None: function run_reg_squaredlogerror (line 643) | def run_reg_squaredlogerror(device: Device) -> None: function run_reg_pseudohubererror (line 652) | def run_reg_pseudohubererror(device: Device) -> None: function run_binary_logitraw (line 663) | def run_binary_logitraw(device: Device) -> None: function run_binary_hinge (line 672) | def run_binary_hinge(device: Device) -> None: function run_count_poisson (line 687) | def run_count_poisson(device: Device) -> None: function run_reg_tweedie (line 698) | def run_reg_tweedie(device: Device) -> None: function all_reg_objectives (line 709) | def all_reg_objectives() -> List[Callable[[Device], None]]: function _make_subsample_params (line 725) | def _make_subsample_params(device: Device, sampling_method: str) -> dict: function run_subsample (line 739) | def run_subsample(device: Device, sampling_method: str) -> None: function run_gradient_based_sampling_accuracy (line 762) | def run_gradient_based_sampling_accuracy(device: Device) -> None: FILE: python-package/xgboost/testing/ordinal.py function get_df_impl (line 29) | def get_df_impl(device: Device) -> Tuple[Type, Type]: function asarray (line 44) | def asarray(device: Device, data: Any) -> np.ndarray: function comp_booster (line 53) | def comp_booster(device: Device, Xy: DMatrix, booster: str) -> None: function run_cat_container (line 66) | def run_cat_container(device: Device) -> None: function run_cat_container_mixed (line 124) | def run_cat_container_mixed(device: Device) -> None: function run_cat_container_iter (line 271) | def run_cat_container_iter(device: Device) -> None: function _basic_example (line 304) | def _basic_example(device: Device) -> Tuple[Any, Any, np.ndarray, np.nda... function run_basic_predict (line 322) | def run_basic_predict(DMatrixT: Type, device: Device, tdevice: Device) -... function run_cat_predict (line 338) | def run_cat_predict(device: Device) -> None: function run_cat_invalid (line 377) | def run_cat_invalid(device: Device) -> None: function run_cat_thread_safety (line 423) | def run_cat_thread_safety(device: Device) -> None: function _make_dm (line 452) | def _make_dm(DMatrixT: Type[U], ref: DMatrix, *args: Any, **kwargs: Any)... function _run_predt (line 458) | def _run_predt( function run_cat_shap (line 485) | def run_cat_shap(device: Device) -> None: function run_cat_leaf (line 499) | def run_cat_leaf(device: Device) -> None: function make_recoded (line 509) | def make_recoded(device: Device, *, n_features: int = 4096) -> Tuple: function run_specified_cat (line 562) | def run_specified_cat( # pylint: disable=too-many-locals function run_validation (line 627) | def run_validation(device: Device) -> None: function run_recode_dmatrix (line 648) | def run_recode_dmatrix(device: Device) -> None: function run_training_continuation (line 717) | def run_training_continuation(device: Device) -> None: function run_update (line 788) | def run_update(device: Device) -> None: function run_recode_dmatrix_predict (line 813) | def run_recode_dmatrix_predict(device: Device) -> None: FILE: python-package/xgboost/testing/parse_tree.py function run_tree_to_df_categorical (line 12) | def run_tree_to_df_categorical(tree_method: str, device: Device) -> None: function run_split_value_histograms (line 25) | def run_split_value_histograms(tree_method: str, device: Device) -> None: FILE: python-package/xgboost/testing/plotting.py function run_categorical (line 14) | def run_categorical(tree_method: str, device: Device) -> None: FILE: python-package/xgboost/testing/predict.py function run_predict_leaf (line 16) | def run_predict_leaf(device: Device, DMatrixT: Type[DMatrix]) -> np.ndar... function run_base_margin_vs_base_score (line 70) | def run_base_margin_vs_base_score(device: Device) -> None: FILE: python-package/xgboost/testing/quantile_dmatrix.py function check_ref_quantile_cut (line 12) | def check_ref_quantile_cut(device: str) -> None: function check_categorical_strings (line 39) | def check_categorical_strings(device: str) -> None: FILE: python-package/xgboost/testing/ranking.py function run_ranking_qid_df (line 16) | def run_ranking_qid_df(impl: ModuleType, tree_method: str, device: Devic... function run_ranking_categorical (line 93) | def run_ranking_categorical(device: str) -> None: function run_normalization (line 120) | def run_normalization(device: str) -> None: function run_score_normalization (line 186) | def run_score_normalization(device: str, objective: str) -> None: FILE: python-package/xgboost/testing/shared.py function validate_leaf_output (line 16) | def validate_leaf_output(leaf: np.ndarray, num_parallel_tree: int) -> None: function validate_data_initialization (line 27) | def validate_data_initialization( function get_feature_weights (line 53) | def get_feature_weights( FILE: python-package/xgboost/testing/updater.py function get_basescore (line 32) | def get_basescore(model: XGBModel) -> List[float]: ... function get_basescore (line 36) | def get_basescore(model: Booster) -> List[float]: ... function get_basescore (line 40) | def get_basescore(model: Dict[str, Any]) -> List[float]: ... function get_basescore (line 43) | def get_basescore( function check_quantile_loss (line 60) | def check_quantile_loss(tree_method: str, weighted: bool, device: Device... function check_quantile_loss_rf (line 149) | def check_quantile_loss_rf( function check_quantile_loss_extmem (line 200) | def check_quantile_loss_extmem( function check_extmem_qdm (line 231) | def check_extmem_qdm( # pylint: disable=too-many-arguments function check_cut (line 305) | def check_cut( function check_get_quantile_cut_device (line 322) | def check_get_quantile_cut_device(tree_method: str, use_cupy: bool) -> N... function check_get_quantile_cut (line 395) | def check_get_quantile_cut(tree_method: str, device: str) -> None: function _create_dmatrix (line 408) | def _create_dmatrix( # pylint: disable=too-many-arguments function check_categorical_ohe (line 447) | def check_categorical_ohe( # pylint: disable=too-many-arguments function check_categorical_missing (line 567) | def check_categorical_missing( # pylint: disable=too-many-arguments function run_max_cat (line 615) | def run_max_cat(tree_method: str, device: Device) -> None: function run_invalid_category (line 639) | def run_invalid_category(tree_method: str, device: Device) -> None: function train_result (line 673) | def train_result( class ResetStrategy (line 694) | class ResetStrategy(TrainingCallback): method after_iteration (line 697) | def after_iteration(self, model: Booster, epoch: int, evals_log: dict)... FILE: python-package/xgboost/testing/utils.py function assert_allclose (line 13) | def assert_allclose( function predictor_equal (line 24) | def predictor_equal(lhs: DMatrix, rhs: DMatrix) -> bool: function non_increasing (line 37) | def non_increasing(L: Sequence[float], tolerance: float = 1e-4) -> bool: function non_decreasing (line 42) | def non_decreasing(L: Sequence[float], tolerance: float = 1e-4) -> bool: FILE: python-package/xgboost/testing/with_skl.py function run_boost_from_prediction_binary (line 17) | def run_boost_from_prediction_binary( function run_boost_from_prediction_multi_clasas (line 66) | def run_boost_from_prediction_multi_clasas( function run_housing_rf_regression (line 117) | def run_housing_rf_regression(tree_method: str, device: Device) -> None: function run_recoding (line 139) | def run_recoding(device: Device) -> None: function run_intercept (line 170) | def run_intercept(device: Device) -> None: FILE: python-package/xgboost/tracker.py function get_family (line 12) | def get_family(addr: str) -> int: class RabitTracker (line 17) | class RabitTracker: class _SortBy (line 79) | class _SortBy(IntEnum): method __init__ (line 84) | def __init__( # pylint: disable=too-many-arguments method free (line 110) | def free(self) -> None: method __del__ (line 117) | def __del__(self) -> None: method start (line 120) | def start(self) -> None: method wait_for (line 128) | def wait_for(self, timeout: Optional[int] = None) -> None: method worker_args (line 136) | def worker_args(self) -> Dict[str, Union[str, int]]: FILE: python-package/xgboost/training.py function train (line 53) | def train( class CVPack (line 212) | class CVPack: method __init__ (line 215) | def __init__( method __getattr__ (line 224) | def __getattr__(self, name: str) -> Callable: method update (line 230) | def update(self, iteration: int, fobj: Optional[PlainObj]) -> None: method eval (line 234) | def eval(self, iteration: int, feval: Optional[Metric], output_margin:... class _PackedBooster (line 239) | class _PackedBooster: method __init__ (line 240) | def __init__(self, cvfolds: _CVFolds) -> None: method update (line 243) | def update(self, iteration: int, obj: Optional[PlainObj]) -> None: method eval (line 248) | def eval( method set_attr (line 255) | def set_attr(self, **kwargs: Optional[Any]) -> Any: method attr (line 260) | def attr(self, key: str) -> Optional[str]: method set_param (line 264) | def set_param( method num_boosted_rounds (line 273) | def num_boosted_rounds(self) -> int: method best_iteration (line 278) | def best_iteration(self) -> int: method best_iteration (line 283) | def best_iteration(self, iteration: int) -> None: method best_score (line 288) | def best_score(self) -> float: method best_score (line 293) | def best_score(self, score: float) -> None: function groups_to_rows (line 297) | def groups_to_rows(groups: np.ndarray, boundaries: np.ndarray) -> np.nda... function mkgroupfold (line 307) | def mkgroupfold( function mknfold (line 361) | def mknfold( function cv (line 435) | def cv( FILE: src/c_api/c_api.cc function XGB_DLL (line 56) | XGB_DLL void XGBoostVersion(int *major, int *minor, int *patch) { type xgboost (line 72) | namespace xgboost { function XGBBuildInfoDevice (line 73) | void XGBBuildInfoDevice(Json *p_info) { function CopyGradientFromArrays (line 1170) | void CopyGradientFromArrays(Context const *ctx, ArrayInterface<2, fals... function XGB_DLL (line 83) | XGB_DLL int XGBuildInfo(char const **out) { function XGB_DLL (line 147) | XGB_DLL int XGBRegisterLogCallback(void (*callback)(const char *)) { function XGB_DLL (line 154) | XGB_DLL int XGBSetGlobalConfig(const char *json_str) { function XGB_DLL (line 228) | XGB_DLL int XGBGetGlobalConfig(const char **json_str) { function XGB_DLL (line 267) | XGB_DLL int XGDMatrixCreateFromFile(const char *fname, int silent, DMatr... function XGB_DLL (line 281) | XGB_DLL int XGDMatrixCreateFromURI(const char *config, DMatrixHandle *ou... function XGB_DLL (line 296) | XGB_DLL int XGDMatrixCreateFromDataIter( function XGB_DLL (line 314) | XGB_DLL int XGDMatrixCreateFromCudaColumnar(char const *, char const *, ... function XGB_DLL (line 320) | XGB_DLL int XGDMatrixCreateFromCudaArrayInterface(char const *, char con... function XGB_DLL (line 329) | XGB_DLL int XGDMatrixCreateFromCallback(DataIterHandle iter, DMatrixHand... function GetRefDMatrix (line 359) | std::shared_ptr GetRefDMatrix(DataIterHandle ref) { function WarnDeprecatedMaxQuantileBlocks (line 371) | void WarnDeprecatedMaxQuantileBlocks(Json const &config) { function XGB_DLL (line 381) | XGB_DLL int XGQuantileDMatrixCreateFromCallback(DataIterHandle iter, DMa... function XGB_DLL (line 404) | XGB_DLL int XGExtMemQuantileDMatrixCreateFromCallback(DataIterHandle ite... function XGB_DLL (line 436) | XGB_DLL int XGProxyDMatrixCreate(DMatrixHandle *out) { function XGB_DLL (line 453) | XGB_DLL int XGProxyDMatrixSetDataCudaArrayInterface(DMatrixHandle handle... function XGB_DLL (line 461) | XGB_DLL int XGProxyDMatrixSetDataCudaColumnar(DMatrixHandle handle, char... function XGB_DLL (line 469) | XGB_DLL int XGProxyDMatrixSetDataColumnar(DMatrixHandle handle, char con... function XGB_DLL (line 477) | XGB_DLL int XGProxyDMatrixSetDataDense(DMatrixHandle handle, char const ... function XGB_DLL (line 485) | XGB_DLL int XGProxyDMatrixSetDataCSR(DMatrixHandle handle, char const *i... function XGB_DLL (line 498) | XGB_DLL int XGDMatrixCreateFromColumnar(char const *data, char const *c_... function XGB_DLL (line 517) | XGB_DLL int XGDMatrixCreateFromCSR(char const *indptr, char const *indic... function XGB_DLL (line 537) | XGB_DLL int XGDMatrixCreateFromDense(char const *data, char const *c_jso... function XGB_DLL (line 554) | XGB_DLL int XGDMatrixCreateFromCSC(char const *indptr, char const *indic... function XGB_DLL (line 576) | XGB_DLL int XGDMatrixCreateFromMat(const bst_float *data, xgboost::bst_u... function XGB_DLL (line 585) | XGB_DLL int XGDMatrixCreateFromMat_omp(const bst_float *data, // NOLINT function XGB_DLL (line 595) | XGB_DLL int XGDMatrixSliceDMatrix(DMatrixHandle handle, const int *idxse... function XGB_DLL (line 601) | XGB_DLL int XGDMatrixSliceDMatrixEx(DMatrixHandle handle, const int *idx... function XGB_DLL (line 614) | XGB_DLL int XGDMatrixFree(DMatrixHandle handle) { function XGB_DLL (line 621) | XGB_DLL int XGDMatrixSaveBinary(DMatrixHandle handle, const char *fname,... function XGB_DLL (line 634) | XGB_DLL int XGDMatrixSetFloatInfo(DMatrixHandle handle, const char *fiel... function XGB_DLL (line 644) | XGB_DLL int XGDMatrixSetInfoFromInterface(DMatrixHandle handle, char con... function XGB_DLL (line 654) | XGB_DLL int XGDMatrixSetUIntInfo(DMatrixHandle handle, const char *field... function XGB_DLL (line 665) | XGB_DLL int XGDMatrixSetStrFeatureInfo(DMatrixHandle handle, const char ... function XGB_DLL (line 675) | XGB_DLL int XGDMatrixGetStrFeatureInfo(DMatrixHandle handle, const char ... function GetCategoriesImpl (line 701) | void GetCategoriesImpl(enc::HostColumnsView const &cats, FidxT n_features, function CatContainer (line 744) | CatContainer *CopyCatContainer(Context const *ctx, CatContainer const *c... function XGB_DLL (line 762) | XGB_DLL int XGDMatrixGetCategories(DMatrixHandle handle, char const * /*... function XGB_DLL (line 780) | XGB_DLL int XGDMatrixGetCategoriesExportToArrow(DMatrixHandle handle, ch... function XGB_DLL (line 807) | XGB_DLL int XGBCategoriesFree(CategoriesHandle handle) { function XGB_DLL (line 816) | XGB_DLL int XGDMatrixSetDenseInfo(DMatrixHandle handle, const char *fiel... function XGB_DLL (line 845) | XGB_DLL int XGDMatrixGetInfoRef(DMatrixHandle handle, char const *field,... function OldGetInfoImpl (line 864) | int OldGetInfoImpl(const DMatrixHandle handle, const char *field, xgboos... function XGB_DLL (line 883) | XGB_DLL int XGDMatrixGetFloatInfo(const DMatrixHandle handle, const char... function XGB_DLL (line 888) | XGB_DLL int XGDMatrixGetUIntInfo(const DMatrixHandle handle, const char ... function GetDMatrixIntegralInfo (line 896) | std::enable_if_t p_m, function XGB_DLL (line 997) | XGB_DLL int XGDMatrixGetQuantileCut(DMatrixHandle const handle, char con... function XGB_DLL (line 1048) | XGB_DLL int XGBoosterCreate(const DMatrixHandle dmats[], xgboost::bst_ul... function XGB_DLL (line 1061) | XGB_DLL int XGBoosterFree(BoosterHandle handle) { function XGB_DLL (line 1068) | XGB_DLL int XGBoosterReset(BoosterHandle handle) { function XGB_DLL (line 1075) | XGB_DLL int XGBoosterSetParam(BoosterHandle handle, const char *name, co... function XGB_DLL (line 1082) | XGB_DLL int XGBoosterGetNumFeature(BoosterHandle handle, xgboost::bst_ul... function XGB_DLL (line 1091) | XGB_DLL int XGBoosterBoostedRounds(BoosterHandle handle, int *out) { function XGB_DLL (line 1100) | XGB_DLL int XGBoosterLoadJsonConfig(BoosterHandle handle, char const *js... function XGB_DLL (line 1109) | XGB_DLL int XGBoosterSaveJsonConfig(BoosterHandle handle, xgboost::bst_u... function XGB_DLL (line 1128) | XGB_DLL int XGBoosterUpdateOneIter(BoosterHandle handle, int iter, DMatr... function XGB_DLL (line 1139) | XGB_DLL int XGBoosterBoostOneIter(BoosterHandle handle, DMatrixHandle dt... type xgboost (line 1157) | namespace xgboost { function XGBBuildInfoDevice (line 73) | void XGBBuildInfoDevice(Json *p_info) { function CopyGradientFromArrays (line 1170) | void CopyGradientFromArrays(Context const *ctx, ArrayInterface<2, fals... function XGB_DLL (line 1192) | XGB_DLL int XGBoosterTrainOneIter(BoosterHandle handle, DMatrixHandle dt... function XGB_DLL (line 1225) | XGB_DLL int XGBoosterTrainOneIterWithSplitGrad(BoosterHandle handle, DMa... function XGB_DLL (line 1256) | XGB_DLL int XGBoosterEvalOneIter(BoosterHandle handle, int iter, DMatrix... function XGB_DLL (line 1280) | XGB_DLL int XGBoosterPredict(BoosterHandle handle, DMatrixHandle dmat, i... function XGB_DLL (line 1301) | XGB_DLL int XGBoosterPredictFromDMatrix(BoosterHandle handle, DMatrixHan... function InplacePredictImpl (line 1363) | void InplacePredictImpl(std::shared_ptr p_m, char const *c_json... function XGB_DLL (line 1395) | XGB_DLL int XGBoosterPredictFromDense(BoosterHandle handle, char const *... function XGB_DLL (line 1416) | XGB_DLL int XGBoosterPredictFromColumnar(BoosterHandle handle, char cons... function XGB_DLL (line 1437) | XGB_DLL int XGBoosterPredictFromCSR(BoosterHandle handle, char const *in... function XGB_DLL (line 1460) | XGB_DLL int XGBoosterPredictFromCudaArray(BoosterHandle handle, char con... function XGB_DLL (line 1469) | XGB_DLL int XGBoosterPredictFromCudaColumnar(BoosterHandle handle, char ... function Json (line 1481) | Json DispatchModelType(Buffer const &buffer, StringView ext, bool warn) { function XGB_DLL (line 1511) | XGB_DLL int XGBoosterLoadModel(BoosterHandle handle, const char *fname) { function XGB_DLL (line 1543) | XGB_DLL int XGBoosterSaveModel(BoosterHandle handle, const char *fname) { function XGB_DLL (line 1571) | XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle, const voi... function XGB_DLL (line 1586) | XGB_DLL int XGBoosterSaveModelToBuffer(BoosterHandle handle, char const ... function XGB_DLL (line 1625) | XGB_DLL int XGBoosterSerializeToBuffer(BoosterHandle handle, xgboost::bs... function XGB_DLL (line 1645) | XGB_DLL int XGBoosterUnserializeFromBuffer(BoosterHandle handle, const v... function XGB_DLL (line 1656) | XGB_DLL int XGBoosterSlice(BoosterHandle handle, int begin_layer, int en... function XGBoostDumpModelImpl (line 1673) | inline void XGBoostDumpModelImpl(BoosterHandle handle, FeatureMap *fmap,... function XGB_DLL (line 1695) | XGB_DLL int XGBoosterDumpModel(BoosterHandle handle, const char *fmap, i... function XGB_DLL (line 1703) | XGB_DLL int XGBoosterDumpModelEx(BoosterHandle handle, const char *fmap,... function XGB_DLL (line 1716) | XGB_DLL int XGBoosterDumpModelWithFeatures(BoosterHandle handle, int fnu... function XGB_DLL (line 1723) | XGB_DLL int XGBoosterDumpModelExWithFeatures(BoosterHandle handle, int f... function XGB_DLL (line 1738) | XGB_DLL int XGBoosterGetCategories(BoosterHandle handle, char const * /*... function XGB_DLL (line 1756) | XGB_DLL int XGBoosterGetCategoriesExportToArrow(BoosterHandle handle, ch... function XGB_DLL (line 1783) | XGB_DLL int XGBoosterGetAttr(BoosterHandle handle, const char *key, cons... function XGB_DLL (line 1803) | XGB_DLL int XGBoosterSetAttr(BoosterHandle handle, const char *key, cons... function XGB_DLL (line 1817) | XGB_DLL int XGBoosterGetAttrNames(BoosterHandle handle, xgboost::bst_ulo... function XGB_DLL (line 1839) | XGB_DLL int XGBoosterSetStrFeatureInfo(BoosterHandle handle, const char ... function XGB_DLL (line 1863) | XGB_DLL int XGBoosterGetStrFeatureInfo(BoosterHandle handle, const char ... function XGB_DLL (line 1890) | XGB_DLL int XGBoosterFeatureScore(BoosterHandle handle, char const *config, FILE: src/c_api/c_api_error.cc type XGBAPIErrorEntry (line 14) | struct XGBAPIErrorEntry { function XGB_DLL (line 21) | XGB_DLL const char* XGBGetLastError() { return XGBAPIErrorStore::Get()->... function XGBAPISetLastError (line 23) | void XGBAPISetLastError(const char* msg) { function XGB_DLL (line 28) | XGB_DLL int XGBGetLastErrorCode() { return XGBAPIErrorStore::Get()->code; } FILE: src/c_api/c_api_error.h function XGBAPIHandleException (line 56) | inline int XGBAPIHandleException(const dmlc::Error& e) { FILE: src/c_api/c_api_utils.h function namespace (line 27) | namespace xgboost { function std (line 262) | inline std::shared_ptr CastDMatrixHandle(DMatrixHandle const ha... type CustomGradHessOp (line 349) | struct CustomGradHessOp { FILE: src/c_api/coll_c_api.cc type xgboost::collective (line 30) | namespace xgboost::collective { function Allreduce (line 31) | void Allreduce(void *send_receive_buffer, std::size_t count, std::int3... function Broadcast (line 42) | void Broadcast(void *send_receive_buffer, std::size_t size, int root) { function Allgather (line 49) | void Allgather(void *send_receive_buffer, std::size_t size) { function TrackerHandleT (line 64) | TrackerHandleT *GetTrackerHandle(TrackerHandle handle) { type CollAPIEntry (line 71) | struct CollAPIEntry { function WaitImpl (line 76) | void WaitImpl(TrackerHandleT *ptr, std::chrono::seconds timeout) { function XGB_DLL (line 107) | XGB_DLL int XGTrackerCreate(char const *config, TrackerHandle *handle) { function XGB_DLL (line 135) | XGB_DLL int XGTrackerWorkerArgs(TrackerHandle handle, char const **args) { function XGB_DLL (line 145) | XGB_DLL int XGTrackerRun(TrackerHandle handle, char const *) { function XGB_DLL (line 153) | XGB_DLL int XGTrackerWaitFor(TrackerHandle handle, char const *config) { function XGB_DLL (line 166) | XGB_DLL int XGTrackerFree(TrackerHandle handle) { function XGB_DLL (line 202) | XGB_DLL int XGCommunicatorInit(char const *json_config) { function XGB_DLL (line 210) | XGB_DLL int XGCommunicatorFinalize(void) { function XGB_DLL (line 216) | XGB_DLL int XGCommunicatorGetRank(void) { function XGB_DLL (line 222) | XGB_DLL int XGCommunicatorGetWorldSize(void) { return collective::GetWor... function XGB_DLL (line 224) | XGB_DLL int XGCommunicatorIsDistributed(void) { return collective::IsDis... function XGB_DLL (line 226) | XGB_DLL int XGCommunicatorPrint(char const *message) { function XGB_DLL (line 232) | XGB_DLL int XGCommunicatorGetProcessorName(char const **name_str) { function XGB_DLL (line 241) | XGB_DLL int XGCommunicatorBroadcast(void *send_receive_buffer, size_t si... function XGB_DLL (line 247) | XGB_DLL int XGCommunicatorAllreduce(void *send_receive_buffer, size_t co... function XGB_DLL (line 256) | XGB_DLL int XGCommunicatorAllgather(void *send_receive_buffer, size_t co... function XGB_DLL (line 263) | XGB_DLL int XGCommunicatorSignalError() { FILE: src/collective/aggregator.h function namespace (line 20) | namespace xgboost::collective { function rc (line 131) | auto rc = collective::Allreduce(ctx, linalg::MakeVec(&value, 1), collect... function Result (line 158) | [[nodiscard]] Result GlobalSum(Context const* ctx, MetaInfo const& info, function Result (line 164) | [[nodiscard]] Result GlobalSum(Context const* ctx, MetaInfo const& info, function rc (line 192) | auto rc = GlobalSum(ctx, info, linalg::MakeVec(results.data(), results.s... FILE: src/collective/allgather.cc type xgboost::collective (line 17) | namespace xgboost::collective { type cpu_impl (line 18) | namespace cpu_impl { function Result (line 19) | Result RingAllgather(Comm const& comm, common::Span dat... function Result (line 57) | Result BroadcastAllgatherV(Comm const& comm, common::Span> VectorAllgatherV( function VectorAllgatherV (line 151) | [[nodiscard]] std::vector> VectorAllgatherV( FILE: src/collective/allgather.h function namespace (line 22) | namespace cpu_impl { function namespace (line 41) | namespace detail { function Result (line 57) | [[nodiscard]] Result RingAllgather(Comm const& comm, common::Span dat... function s_segments (line 96) | auto s_segments = common::Span{recv_segments.data(), recv_segments.size()}; function Result (line 108) | [[nodiscard]] Result Allgather(Context const* ctx, CommGroup const& comm, function Result (line 127) | [[nodiscard]] Result Allgather(Context const* ctx, linalg::VectorView... function s_segments (line 158) | auto s_segments = common::Span{recv_segments->data(), recv_segments->siz... FILE: src/collective/allreduce.cc type xgboost::collective::cpu_impl (line 18) | namespace xgboost::collective::cpu_impl { function Result (line 21) | Result RingAllreduceSmall(Comm const& comm, common::Span ... function Result (line 57) | Result RingScatterReduceTyped(Comm const& comm, common::Span data,... FILE: src/collective/allreduce.h function namespace (line 20) | namespace xgboost::collective { function Result (line 46) | Result Allreduce(Context const* ctx, CommGroup const& comm, function Result (line 60) | Result Allreduce(Context const* ctx, linalg::TensorView data, O... function Result (line 68) | [[nodiscard]] Result Allreduce(Context const* ctx, std::vector... function n_bytes (line 108) | auto n_bytes = function bytes (line 117) | auto bytes = common::Span{reinterpret_cast{data->data(), static_cast(re... FILE: src/collective/broadcast.cc type xgboost::collective::cpu_impl (line 15) | namespace xgboost::collective::cpu_impl { function Result (line 18) | Result BroadcastTree(Comm const& comm, common::Span data) { function TreePathToRoot (line 48) | std::vector TreePathToRoot(std::int32_t node) { function Result (line 60) | Result RelayToRoot(Comm const& comm, common::Span data, s... function Result (line 92) | Result Broadcast(Comm const& comm, common::Span data, std... FILE: src/collective/broadcast.h function namespace (line 15) | namespace xgboost::collective { FILE: src/collective/coll.cc type xgboost::collective (line 24) | namespace xgboost::collective { function IsFloatingPointV (line 26) | bool constexpr IsFloatingPointV() { function Result (line 34) | [[nodiscard]] Result Coll::Allreduce(Comm const& comm, common::Span) co... function Result (line 296) | [[nodiscard]] Result RabitComm::Bootstrap(std::chrono::seconds timeout... function Result (line 443) | [[nodiscard]] Result RabitComm::Shutdown() { function Result (line 489) | [[nodiscard]] Result RabitComm::LogTracker(std::string msg) const { function Result (line 503) | [[nodiscard]] Result RabitComm::SignalError(Result const& res) { FILE: src/collective/comm.h function DefaultTimeoutSec (line 23) | inline constexpr std::int64_t DefaultTimeoutSec() { return 60 * 30; } function DefaultRetry (line 24) | inline constexpr std::int32_t DefaultRetry() { return 3; } function StringView (line 26) | inline StringView DefaultNcclName() { return "libnccl.so.2"; } function virtual (line 67) | virtual ~Comm() noexcept(false) {} function noexcept (line 81) | [[nodiscard]] auto Rank() const noexcept { return rank_; } function noexcept (line 82) | [[nodiscard]] auto World() const noexcept { return IsDistributed() ? wor... function Submit (line 84) | void Submit(Loop::Op op) const { function HasChan (line 90) | [[nodiscard]] bool HasChan(std::int32_t rank) const { function virtual (line 94) | [[nodiscard]] virtual std::shared_ptr Chan(std::int32_t rank) c... function virtual (line 99) | [[nodiscard]] virtual bool IsFederated() const = 0; function Result (line 168) | [[nodiscard]] Result SendAll(common::Span data) { function virtual (line 172) | [[nodiscard]] virtual Result RecvAll(std::int8_t* ptr, std::size_t n) { function Op (line 186) | enum class Op { kMax = 0, kMin = 1, kSum = 2, kBitwiseAND = 3, kBitwiseO... FILE: src/collective/comm_group.cc type xgboost::collective (line 25) | namespace xgboost::collective { function Comm (line 36) | [[nodiscard]] Comm const& CommGroup::Ctx(Context const* ctx, DeviceOrd... function CommGroup (line 51) | [[nodiscard]] CommGroup* CommGroup::Create(Json config) { function GlobalCommGroupInit (line 122) | void GlobalCommGroupInit(Json config) { function GlobalCommGroupFinalize (line 127) | void GlobalCommGroupFinalize() { function Init (line 134) | void Init(Json const& config) { GlobalCommGroupInit(config); } function Finalize (line 136) | void Finalize() { GlobalCommGroupFinalize(); } function GetRank (line 138) | std::int32_t GetRank() noexcept { return GlobalCommGroup()->Rank(); } function GetWorldSize (line 140) | std::int32_t GetWorldSize() noexcept { return GlobalCommGroup()->World... function IsDistributed (line 142) | bool IsDistributed() noexcept { return GlobalCommGroup()->IsDistribute... function IsFederated (line 144) | [[nodiscard]] bool IsFederated() { function Print (line 148) | void Print(std::string const& message) { function GetProcessorName (line 153) | std::string GetProcessorName() { FILE: src/collective/comm_group.h function noexcept (line 33) | [[nodiscard]] auto World() const noexcept { return comm_->World(); } function noexcept (line 34) | [[nodiscard]] auto Rank() const noexcept { return comm_->Rank(); } function Comm (line 57) | [[nodiscard]] Comm const& Ctx(Context const* ctx, DeviceOrd device) const; function Result (line 60) | [[nodiscard]] Result ProcessorName(std::string* out) const { FILE: src/collective/communicator-inl.h function namespace (line 9) | namespace xgboost::collective { FILE: src/collective/in_memory_communicator.h function namespace (line 12) | namespace xgboost { FILE: src/collective/in_memory_handler.cc type xgboost::collective (line 12) | namespace xgboost::collective { class AllgatherFunctor (line 16) | class AllgatherFunctor { method AllgatherFunctor (line 20) | AllgatherFunctor(std::int32_t world_size, std::int32_t rank) class AllgatherVFunctor (line 41) | class AllgatherVFunctor { method AllgatherVFunctor (line 45) | AllgatherVFunctor(std::int32_t world_size, std::int32_t rank, class AllreduceFunctor (line 68) | class AllreduceFunctor { method AllreduceFunctor (line 72) | AllreduceFunctor(ArrayInterfaceHandler::Type dataType, Op operation) method AccumulateBitwise (line 90) | void AccumulateBitwise(T* buffer, T const* input, std::size_t size, ... method AccumulateBitwise (line 107) | void AccumulateBitwise(T*, T const*, std::size_t, Op) const { method Accumulate (line 112) | void Accumulate(T* buffer, T const* input, std::size_t size, Op redu... method Accumulate (line 135) | void Accumulate(char const* input, std::size_t bytes, AlignedByteBuf... class BroadcastFunctor (line 185) | class BroadcastFunctor { method BroadcastFunctor (line 189) | BroadcastFunctor(std::int32_t rank, std::int32_t root) : rank_{rank}... FILE: src/collective/in_memory_handler.h function namespace (line 15) | namespace xgboost::collective { FILE: src/collective/loop.cc type xgboost::collective (line 23) | namespace xgboost::collective { function Result (line 24) | Result Loop::ProcessQueue(std::queue* p_queue) const { function Result (line 202) | Result Loop::Stop() { function Result (line 223) | [[nodiscard]] Result Loop::Block() { FILE: src/collective/loop.h type Op (line 24) | struct Op { function explicit (line 34) | explicit Op(Code c) : code{c} function Op (line 42) | [[nodiscard]] static Op Sleep(std::size_t seconds) { function stop_ (line 63) | bool stop_{false}; FILE: src/collective/nccl_stub.cc type xgboost::collective (line 32) | namespace xgboost::collective { function Result (line 33) | [[nodiscard]] Result NcclStub::GetNcclResult(ncclResult_t code) const { function Result (line 148) | [[nodiscard]] Result BusyWait(std::shared_ptr nccl, ncclComm... FILE: src/collective/nccl_stub.h function Result (line 51) | [[nodiscard]] Result Allreduce(const void* sendbuff, void* recvbuff, siz... function Result (line 56) | [[nodiscard]] Result Broadcast(const void* sendbuff, void* recvbuff, siz... function Result (line 61) | [[nodiscard]] Result Allgather(const void* sendbuff, void* recvbuff, siz... function Result (line 66) | [[nodiscard]] Result CommInitRank(ncclComm_t* comm, int nranks, ncclUniq... function Result (line 70) | [[nodiscard]] Result CommInitRankConfig(ncclComm_t* comm, int nranks, nc... function Result (line 74) | [[nodiscard]] Result CommDestroy(ncclComm_t comm) const { function Result (line 80) | [[nodiscard]] Result CommFinalize(ncclComm_t comm) const { function Result (line 88) | [[nodiscard]] Result CommGetAsyncError(ncclComm_t comm, ncclResult_t* as... function Result (line 95) | [[nodiscard]] Result CommAbort(ncclComm_t comm) { function Result (line 102) | [[nodiscard]] Result GetUniqueId(ncclUniqueId* uniqueId) const { function Result (line 105) | [[nodiscard]] Result Send(const void* sendbuff, size_t count, ncclDataTy... function Result (line 109) | [[nodiscard]] Result Recv(void* recvbuff, size_t count, ncclDataType_t d... function Result (line 118) | [[nodiscard]] Result GetVersion(std::int32_t* major, std::int32_t* minor, FILE: src/collective/protocol.h type PeerInfo (line 14) | struct PeerInfo { function explicit (line 23) | explicit PeerInfo(Json const& peer) type class (line 68) | enum class type Connect (line 76) | struct Connect { function Result (line 91) | [[nodiscard]] Result TrackerRecv(TCPSocket* sock, std::int32_t* world, s... function class (line 106) | class Start { FILE: src/collective/result.cc type xgboost::collective (line 12) | namespace xgboost::collective { type detail (line 13) | namespace detail { function MakeMsg (line 65) | std::string MakeMsg(std::string&& msg, char const* file, std::int32_... function SafeColl (line 76) | void SafeColl(Result const& rc, char const* file, std::int32_t line) { FILE: src/collective/socket.cc type xgboost::collective (line 21) | namespace xgboost::collective { function SockAddress (line 22) | SockAddress MakeSockAddress(StringView host, in_port_t port) { function SockAddrV4 (line 54) | SockAddrV4 SockAddrV4::Loopback() { return MakeSockAddress("127.0.0.1"... function SockAddrV4 (line 55) | SockAddrV4 SockAddrV4::InaddrAny() { return MakeSockAddress("0.0.0.0",... function SockAddrV6 (line 57) | SockAddrV6 SockAddrV6::Loopback() { return MakeSockAddress("::1", 0).V... function SockAddrV6 (line 58) | SockAddrV6 SockAddrV6::InaddrAny() { return MakeSockAddress("::", 0).V... function Result (line 60) | [[nodiscard]] Result TCPSocket::Listen(std::int32_t backlog) { function Result (line 92) | [[nodiscard]] Result TCPSocket::Recv(std::string *p_str) { function Result (line 114) | [[nodiscard]] Result Connect(xgboost::StringView host, std::int32_t po... function Result (line 192) | [[nodiscard]] Result GetHostName(std::string *p_out) { FILE: src/collective/topo.h function BootstrapNext (line 15) | inline std::int32_t BootstrapNext(std::int32_t r, std::int32_t world) { function BootstrapPrev (line 20) | inline std::int32_t BootstrapPrev(std::int32_t r, std::int32_t world) { function ParentLevel (line 33) | inline std::int32_t ParentLevel(std::int32_t rank) { FILE: src/collective/tracker.cc type xgboost::collective (line 37) | namespace xgboost::collective { function Result (line 53) | Result Tracker::WaitUntilReady() const { type TrackerInitThread (line 138) | struct TrackerInitThread { function Result (line 143) | Result RabitTracker::Bootstrap(std::vector* p_workers) { type State (line 177) | struct State { method State (line 185) | explicit State(std::int32_t world) : n_workers{world} {} method State (line 186) | State(State const& that) = delete; method State (line 187) | State& operator=(State&& that) = delete; method Start (line 190) | void Start(WorkerProxy&& worker) { method Shutdown (line 199) | void Shutdown() { method Error (line 208) | void Error() { method Bootstrap (line 215) | void Bootstrap() { method Ready (line 228) | [[nodiscard]] bool Ready() const { method ShouldContinue (line 232) | [[nodiscard]] bool ShouldContinue() const { function Json (line 368) | [[nodiscard]] Json RabitTracker::WorkerArgs() const { function Result (line 378) | [[nodiscard]] Result RabitTracker::Stop() { function Result (line 397) | [[nodiscard]] Result GetHostAddress(std::string* out) { FILE: src/collective/tracker.h function HasTimeout (line 18) | inline bool HasTimeout(std::chrono::seconds timeout) { return timeout.co... type class (line 41) | enum class function Result (line 63) | [[nodiscard]] Result WaitUntilReady() const; function virtual (line 77) | virtual Result Stop() { return Success(); } function class (line 80) | class RabitTracker : public Tracker { FILE: src/common/algorithm.h function namespace (line 34) | namespace xgboost { FILE: src/common/api_entry.h function namespace (line 12) | namespace xgboost { FILE: src/common/base64.h function namespace (line 17) | namespace xgboost { FILE: src/common/bitfield.h function namespace (line 24) | namespace xgboost { function XGBOOST_DEVICE (line 92) | XGBOOST_DEVICE explicit BitFieldContainer(common::Span bits) function __device__ (line 153) | __device__ auto Set(index_type pos) noexcept(true) { function __device__ (line 160) | __device__ void Clear(index_type pos) noexcept(true) { function Set (line 168) | void Set(index_type pos) noexcept(true) { function Clear (line 174) | void Clear(index_type pos) noexcept(true) { function XGBOOST_DEVICE (line 182) | XGBOOST_DEVICE bool Check(Pos pos_v) const noexcept(true) { function XGBOOST_DEVICE (line 190) | [[nodiscard]] XGBOOST_DEVICE bool Check(index_type pos) const noexcept(t... function XGBOOST_DEVICE (line 204) | [[nodiscard]] XGBOOST_DEVICE size_type NumValues() const noexcept(true) ... function XGBOOST_DEVICE (line 227) | XGBOOST_DEVICE static Pos Shift(Pos pos) { function XGBOOST_DEVICE (line 241) | XGBOOST_DEVICE static Pos Shift(Pos pos) { function namespace (line 255) | namespace detail { FILE: src/common/cache_manager.cc function RunCpuid (line 10) | void RunCpuid(uint32_t eax, uint32_t ecx, uint32_t (& abcd)[4]) { function GetCacheInfo (line 44) | void GetCacheInfo(int cache_num, int* type, int* level, int64_t* sets, function DetectDataCaches (line 74) | void DetectDataCaches(int64_t* cache_sizes) { type xgboost::common (line 92) | namespace xgboost::common { FILE: src/common/cache_manager.h function namespace (line 10) | namespace xgboost::common { FILE: src/common/categorical.h function namespace (line 14) | namespace xgboost::common { FILE: src/common/charconv.cc type xgboost (line 57) | namespace xgboost { type detail (line 58) | namespace detail { function Tens (line 75) | constexpr uint32_t Tens(uint32_t n) { return n == 1 ? 10 : (Tens(n -... type UnsignedFloatBase2 (line 77) | struct UnsignedFloatBase2 method Infinite (line 118) | bool Infinite() const { method Zero (line 121) | bool Zero() const { type UnsignedFloatBase10 (line 79) | struct UnsignedFloatBase10 { function To (line 87) | To BitCast(From&& from) { type IEEE754 (line 94) | struct IEEE754 { method Infinity (line 102) | static float Infinity(bool sign) { type UnsignedFloatBase2 (line 112) | struct UnsignedFloatBase2 { method Infinite (line 118) | bool Infinite() const { method Zero (line 121) | bool Zero() const { type MantissaInteval (line 145) | struct MantissaInteval { type RyuPowLogUtils (line 155) | struct RyuPowLogUtils { method Pow5Factor (line 200) | static uint32_t Pow5Factor(uint32_t value) noexcept(true) { method MultipleOfPowerOf5 (line 215) | static bool MultipleOfPowerOf5(const uint32_t value, const uint32_... method MultipleOfPowerOf2 (line 220) | static bool MultipleOfPowerOf2(const uint32_t value, const uint32_... method Pow5Bits (line 229) | static uint32_t Pow5Bits(const int32_t e) noexcept(true) { method Log2Pow5 (line 233) | static int32_t Log2Pow5(const int32_t e) { method CeilLog2Pow5 (line 242) | static int32_t CeilLog2Pow5(const int32_t e) { method MulShift (line 249) | static uint32_t MulShift(const uint32_t x, const uint64_t y, method MulPow5InvDivPow2 (line 271) | static uint32_t MulPow5InvDivPow2(const uint32_t m, const uint32_t q, method MulPow5divPow2 (line 281) | static uint32_t MulPow5divPow2(const uint32_t m, const uint32_t i, method FloorLog2 (line 288) | static uint32_t FloorLog2(const uint32_t value) { method Log10Pow2 (line 300) | static uint32_t Log10Pow2(const int32_t e) noexcept(true) { method Log10Pow5 (line 309) | static uint32_t Log10Pow5(const int32_t expoent) noexcept(true) { class PowerBaseComputer (line 322) | class PowerBaseComputer { method ToDecimalBase (line 324) | static uint8_t method UnsignedFloatBase10 (line 422) | static UnsignedFloatBase10 method UnsignedFloatBase10 (line 491) | static UnsignedFloatBase10 Binary2Decimal(UnsignedFloatBase2 const... class RyuPrinter (line 541) | class RyuPrinter { method OutputLength (line 543) | static inline uint32_t OutputLength(const uint32_t v) noexcept(tru... method PrintBase10Float (line 577) | static int32_t PrintBase10Float(UnsignedFloatBase10 v, const bool ... method PrintSpecialFloat (line 649) | static int32_t PrintSpecialFloat(const bool sign, UnsignedFloatBas... function ToCharsFloatImpl (line 667) | int32_t ToCharsFloatImpl(float f, char * const result) { function ItoaUnsignedImpl (line 693) | void ItoaUnsignedImpl(char *first, uint32_t length, uint64_t value) { function ShortestDigit10Impl (line 711) | constexpr uint32_t ShortestDigit10Impl(uint64_t value, uint32_t n) { function ShortestDigit10 (line 720) | constexpr uint32_t ShortestDigit10(uint64_t value) { function to_chars_result (line 724) | to_chars_result ToCharsUnsignedImpl(char *first, char *last, function from_chars_result (line 745) | from_chars_result FromCharFloatImpl(const char *buffer, const int len, FILE: src/common/charconv.h type to_chars_result (line 20) | struct to_chars_result { // NOLINT type from_chars_result (line 25) | struct from_chars_result { // NOLINT function namespace (line 30) | namespace detail { function float (line 41) | struct NumericLimits { function int64_t (line 49) | struct NumericLimits { function to_chars_result (line 58) | inline to_chars_result to_chars(char *first, char *last, float value) {... function to_chars_result (line 77) | inline to_chars_result to_chars(char *first, char *last, int64_t value) ... FILE: src/common/column_matrix.cc type xgboost::common (line 19) | namespace xgboost::common { FILE: src/common/column_matrix.h type ColumnType (line 33) | enum ColumnType : std::uint8_t { kDenseColumn, kSparseColumn } function bst_bin_t (line 48) | [[nodiscard]] bst_bin_t GetGlobalBinIdx(size_t idx) const { function GetRowIdx (line 88) | [[nodiscard]] size_t GetRowIdx(size_t idx) const { return RowIndices()[i... function bst_bin_t (line 89) | bst_bin_t operator[](size_t rid) { function IsMissing (line 127) | [[nodiscard]] bool IsMissing(size_t ridx) const { function bst_bin_t (line 131) | bst_bin_t operator[](size_t ridx) const { function class (line 147) | class ColumnMatrix { function SetValid (line 175) | void SetValid(typename LBitField32::index_type i) { missing.Clear(i); } function InitView (line 177) | void InitView() { function GrowTo (line 181) | void GrowTo(std::size_t n_elements, bool init) { function batch (line 235) | auto batch = data::SparsePageAdapterBatch{page.GetView()}; function InitFromGHist (line 248) | void InitFromGHist(Context const* ctx, GHistIndexMatrix const& gmat) { function SetTypeSize (line 292) | void SetTypeSize(size_t max_bin_per_feat) { function is_valid (line 364) | auto is_valid = data::IsValidFunctor{missing}; function SetIndexMixedColumns (line 390) | void SetIndexMixedColumns(const GHistIndexMatrix& gmat) { FILE: src/common/common.cc type xgboost::common (line 14) | namespace xgboost::common { function EscapeU8 (line 15) | void EscapeU8(std::string const &string, std::string *p_buffer) { function HumanMemUnit (line 48) | std::string HumanMemUnit(std::size_t n_bytes) { FILE: src/common/common.h function namespace (line 35) | namespace dh { function std (line 53) | [[nodiscard]] inline std::vector Split(std::string const &s... function std (line 63) | [[nodiscard]] inline std::vector Split(std::string_vie... function std (line 78) | [[nodiscard]] inline std::string_view TrimFirst(std::string_view const &... function std (line 89) | [[nodiscard]] inline std::string_view TrimLast(std::string_view const &s... function std (line 108) | inline std::string EscapeU8(std::string const &str) { function T (line 115) | T Min(T a, T b) { function T (line 120) | T Max(T a, T b) { function T1 (line 125) | T1 DivRoundUp(const T1 a, const T2 b) { function class (line 136) | class Iterator { FILE: src/common/compressed_iterator.h function namespace (line 19) | namespace xgboost::common { function CalculateBufferSize (line 110) | static size_t CalculateBufferSize(size_t num_elements, size_t num_symbol... function __device__ (line 140) | __device__ void AtomicWriteSymbol type value_type (line 209) | typedef value_type *pointer; type value_type (line 210) | typedef value_type reference; function XGBOOST_DEVICE (line 228) | XGBOOST_DEVICE reference operator[](std::size_t idx) const { function bst_idx_t (line 292) | bst_idx_t const n0_{0} function XGBOOST_DEVICE (line 301) | XGBOOST_DEVICE reference operator[](std::size_t idx) const { FILE: src/common/cuda_dr_utils.cc type xgboost::cudr (line 22) | namespace xgboost::cudr { function CuDriverApi (line 95) | [[nodiscard]] CuDriverApi &GetGlobalCuDriverApi() { function MakeCuMemLocation (line 110) | void MakeCuMemLocation(CUmemLocationType type, CUmemLocation *loc) { function CUmemAllocationProp (line 128) | [[nodiscard]] CUmemAllocationProp MakeAllocProp(CUmemLocationType type) { function GetVersionFromSmi (line 136) | [[nodiscard]] bool GetVersionFromSmi(std::int32_t *p_major, std::int32... function GetVersionFromSmiGlobal (line 184) | [[nodiscard]] bool GetVersionFromSmiGlobal(std::int32_t *p_major, std:... type detail (line 195) | namespace detail { function GetC2cLinkCountFromSmiImpl (line 197) | [[nodiscard]] std::int32_t GetC2cLinkCountFromSmiImpl(std::string co... function GetC2cLinkCountFromSmi (line 208) | [[nodiscard]] std::int32_t GetC2cLinkCountFromSmi() { function GetC2cLinkCountFromSmiGlobal (line 226) | [[nodiscard]] std::int32_t GetC2cLinkCountFromSmiGlobal() { FILE: src/common/cuda_dr_utils.h type CuDriverApi (line 27) | struct CuDriverApi { function DeviceGet (line 78) | DeviceGet *cuDeviceGet{nullptr}; // NOLINT FILE: src/common/cuda_pinned_allocator.h function namespace (line 17) | namespace xgboost::common::cuda_impl { function class (line 119) | class HostPinnedMemPool { function CudaHostAllocatorImpl (line 165) | bool operator==(CudaHostAllocatorImpl const&) const { return true; } function x (line 167) | bool operator!=(CudaHostAllocatorImpl const& x) const { return !operator... FILE: src/common/cuda_rt_utils.cc type xgboost::curt (line 26) | namespace xgboost::curt { function AllVisibleGPUs (line 28) | std::int32_t AllVisibleGPUs() { function CurrentDevice (line 41) | std::int32_t CurrentDevice(bool raise) { function SupportsPageableMem (line 53) | [[nodiscard]] bool SupportsPageableMem() { function SupportsAts (line 59) | [[nodiscard]] bool SupportsAts() { function SetDevice (line 66) | void SetDevice(std::int32_t device) { function TotalMemory (line 72) | [[nodiscard]] std::size_t TotalMemory() { function GetVersionImpl (line 81) | void GetVersionImpl(Fn&& fn, std::int32_t* major, std::int32_t* minor) { function GetRtVersionGlobal (line 94) | void GetRtVersionGlobal(std::int32_t* major, std::int32_t* minor) { function GetDrVersionGlobal (line 99) | void GetDrVersionGlobal(std::int32_t* major, std::int32_t* minor) { function GetNumaId (line 103) | [[nodiscard]] std::int32_t GetNumaId() { function GetMpCnt (line 110) | [[nodiscard]] std::int32_t GetMpCnt(std::int32_t device) { function MemoryPoolsSupported (line 117) | [[nodiscard]] bool MemoryPoolsSupported(std::int32_t device) { function GetUuid (line 125) | void GetUuid(xgboost::common::Span uuid, std::int32_t d... function PrintUuid (line 131) | [[nodiscard]] std::string PrintUuid(common::Span, std::int32_t) { com... function PrintUuid (line 186) | [[nodiscard]] std::string PrintUuid(common::Spanevent_.get(); } function Sync (line 47) | void Sync() { dh::safe_cuda(cudaEventSynchronize(*this->data())); } function class (line 50) | class StreamRef { function Record (line 80) | inline void Event::Record(StreamRef stream) { // NOLINT function StreamRef (line 86) | inline StreamRef DefaultStream() { return StreamRef{cudaStreamPerThread}; } FILE: src/common/cuda_stream_pool.h function namespace (line 11) | namespace xgboost::curt { FILE: src/common/device_compression.h function namespace (line 20) | namespace xgboost::dc { function class (line 103) | class SnappyDecomprMgr { FILE: src/common/error_msg.cc type xgboost::error (line 15) | namespace xgboost::error { function DeprecatedFunc (line 16) | [[nodiscard]] std::string DeprecatedFunc(StringView old, StringView si... function InvalidModel (line 22) | [[nodiscard]] std::string InvalidModel(StringView fname) { function OldBinaryModel (line 28) | [[nodiscard]] std::string OldBinaryModel(StringView fname) { function WarnManualUpdater (line 43) | void WarnManualUpdater() { function WarnEmptyDataset (line 53) | void WarnEmptyDataset() { function MismatchedDevices (line 59) | void MismatchedDevices(Context const* booster, Context const* data) { function CheckOldNccl (line 75) | void CheckOldNccl(std::int32_t major, std::int32_t minor, std::int32_t... function SystemError (line 93) | [[nodiscard]] std::error_code SystemError() { function InvalidIntercept (line 99) | void InvalidIntercept(std::int32_t n_classes, bst_target_t n_targets, ... FILE: src/common/error_msg.h function StringView (line 20) | constexpr StringView GroupWeight() { function StringView (line 24) | constexpr StringView GroupSize() { function StringView (line 28) | constexpr StringView LabelScoreSize() { function StringView (line 32) | constexpr StringView InfInData() { function StringView (line 36) | constexpr StringView NoF128() { function StringView (line 40) | constexpr StringView InconsistentMaxBin() { function StringView (line 45) | constexpr StringView InvalidMaxBin() { return "`max_bin` must be equal t... function StringView (line 47) | constexpr StringView UnknownDevice() { return "Unknown device type."; } function MaxFeatureSize (line 49) | inline void MaxFeatureSize(std::uint64_t n_features) { function StringView (line 56) | constexpr StringView InplacePredictProxy() { function MaxSampleSize (line 60) | inline void MaxSampleSize(std::size_t n) { function StringView (line 65) | constexpr StringView OldSerialization() { function WarnOldSerialization (line 76) | inline void WarnOldSerialization() { FILE: src/common/expectile_loss_utils.cc type xgboost::common (line 6) | namespace xgboost::common { FILE: src/common/expectile_loss_utils.h function namespace (line 13) | namespace xgboost::common { FILE: src/common/group_data.h function namespace (line 24) | namespace xgboost { FILE: src/common/hist_util.cc type xgboost::common (line 30) | namespace xgboost::common { function HistogramCuts (line 43) | [[nodiscard]] HistogramCuts *HistogramCuts::Load(common::AlignedResour... function HistogramCuts (line 52) | HistogramCuts SketchOnDMatrix(Context const *ctx, DMatrix *m, bst_bin_... function IncrementHist (line 87) | void IncrementHist(GHistRow dst, ConstGHistRow add, std::size_t begin,... function CopyHist (line 99) | void CopyHist(GHistRow dst, const GHistRow src, size_t begin, size_t e... function SubtractionHist (line 111) | void SubtractionHist(GHistRow dst, const GHistRow src1, const GHistRow... type Prefetch (line 122) | struct Prefetch { method NoPrefetchSize (line 132) | static size_t NoPrefetchSize(size_t rows) { return std::min(rows, kN... method GetPrefetchStep (line 135) | static constexpr size_t GetPrefetchStep() { type RuntimeFlags (line 142) | struct RuntimeFlags { class GHistBuildingManager (line 150) | class GHistBuildingManager { type SetFirstPage (line 159) | struct SetFirstPage { type SetReadByColumn (line 164) | struct SetReadByColumn { type SetBinIdxType (line 169) | struct SetBinIdxType { method DispatchAndExecute (line 182) | static void DispatchAndExecute(const RuntimeFlags &flags, Fn &&fn) { function RowsWiseBuildHistKernel (line 199) | void RowsWiseBuildHistKernel(Span gpair, Span gpair, Span gpair, Span gpair, Span r... FILE: src/common/hist_util.h function class (line 39) | class HistogramCuts { function GetValueFromUint16 (line 341) | static uint32_t GetValueFromUint16(uint8_t const* t, size_t i) { function GetValueFromUint32 (line 344) | static uint32_t GetValueFromUint32(uint8_t const* t, size_t i) { function BinTypeSize (line 355) | BinTypeSize binTypeSize_{kUint8BinsTypeSize}; function XGBOOST_HOST_DEV_INLINE (line 360) | XGBOOST_HOST_DEV_INLINE BinarySearchBin(std::size_t begin, std::size_t end, function class (line 410) | class HistCollection { function class (line 479) | class ParallelGHistBuilder { FILE: src/common/host_device_vector.cc type xgboost (line 17) | namespace xgboost { type HostDeviceVectorImpl (line 20) | struct HostDeviceVectorImpl { method HostDeviceVectorImpl (line 21) | explicit HostDeviceVectorImpl(size_t size, T v) : data_h_(size, v) {} method HostDeviceVectorImpl (line 22) | HostDeviceVectorImpl(std::initializer_list init) : data_h_(init) {} method HostDeviceVectorImpl (line 23) | explicit HostDeviceVectorImpl(std::vector init) : data_h_(std::m... method HostDeviceVectorImpl (line 24) | HostDeviceVectorImpl(HostDeviceVectorImpl&& that) : data_h_(std::mov... method Swap (line 26) | void Swap(HostDeviceVectorImpl &other) { function GPUAccess (line 77) | GPUAccess HostDeviceVector::DeviceAccess() const { function DeviceOrd (line 85) | DeviceOrd HostDeviceVector::Device() const { return DeviceOrd::CPU(... function T (line 88) | T* HostDeviceVector::DevicePointer() { return nullptr; } function T (line 91) | const T* HostDeviceVector::ConstDevicePointer() const { class HostDeviceVector (line 178) | class HostDeviceVector class HostDeviceVector (line 179) | class HostDeviceVector class HostDeviceVector (line 180) | class HostDeviceVector class HostDeviceVector (line 181) | class HostDeviceVector class HostDeviceVector (line 182) | class HostDeviceVector class HostDeviceVector (line 183) | class HostDeviceVector class HostDeviceVector (line 184) | class HostDeviceVector class HostDeviceVector (line 185) | class HostDeviceVector class HostDeviceVector (line 186) | class HostDeviceVector class HostDeviceVector (line 187) | class HostDeviceVector class HostDeviceVector (line 188) | class HostDeviceVector class HostDeviceVector (line 189) | class HostDeviceVector class HostDeviceVector (line 190) | class HostDeviceVector class HostDeviceVector (line 191) | class HostDeviceVector class HostDeviceVector (line 204) | class HostDeviceVector FILE: src/common/io.cc type xgboost::common (line 49) | namespace xgboost::common { function GetMmapAlignment (line 126) | std::size_t GetMmapAlignment() { function LoadSequentialFile (line 139) | std::vector LoadSequentialFile(std::string uri) { function FileExtension (line 165) | std::string FileExtension(std::string fname, bool lower) { type MmapFileImpl (line 178) | struct MmapFileImpl { method MmapFileImpl (line 190) | MmapFileImpl() = default; method MmapFileImpl (line 193) | MmapFileImpl(HANDLE fd, HANDLE fm, std::byte* base_ptr, std::size_t ... method MmapFileImpl (line 202) | MmapFileImpl(std::int32_t fd, std::byte* base_ptr, std::size_t base_... function MMAPFile (line 233) | MMAPFile* detail::OpenMmap(std::string path, std::size_t offset, std::... function CmdOutput (line 395) | [[nodiscard]] std::string CmdOutput(StringView cmd) { function TotalMemory (line 412) | [[nodiscard]] std::size_t TotalMemory() { FILE: src/common/io.h function namespace (line 28) | namespace xgboost::common { function class (line 125) | class PeekableInStream : public dmlc::Stream { function class (line 150) | class FixedSizeStream : public PeekableInStream { function std (line 198) | inline std::string ReadAll(dmlc::Stream* fi, PeekableInStream* fp) { function std (line 215) | inline std::string ReadAll(std::string const &path) { function class (line 315) | class MallocResource : public ResourceHandler { FILE: src/common/json.cc type xgboost (line 28) | namespace xgboost { function Json (line 178) | Json& DummyJsonObject() { function Json (line 183) | Json& Value::operator[](std::string const&) { function Json (line 188) | Json& Value::operator[](int) { function IsInfMSVCWar (line 241) | std::enable_if_t, bool> IsInfMSVCWar(T v) { function IsInfMSVCWar (line 245) | std::enable_if_t, bool> IsInfMSVCWar(T) { class JsonTypedArray (line 283) | class JsonTypedArray class JsonTypedArray (line 284) | class JsonTypedArray class JsonTypedArray (line 285) | class JsonTypedArray class JsonTypedArray (line 286) | class JsonTypedArray class JsonTypedArray (line 287) | class JsonTypedArray class JsonTypedArray (line 288) | class JsonTypedArray class JsonTypedArray (line 289) | class JsonTypedArray class JsonTypedArray (line 290) | class JsonTypedArray class JsonTypedArray (line 291) | class JsonTypedArray class JsonTypedArray (line 292) | class JsonTypedArray function Json (line 335) | Json JsonReader::Parse() { function Json (line 362) | Json JsonReader::Load() { function IsSpace (line 413) | bool IsSpace(JsonReader::Char c) { return c == ' ' || c == '\n' || c =... function ParseStr (line 428) | void ParseStr(std::string const& str) { function Json (line 440) | Json JsonReader::ParseString() { function Json (line 470) | Json JsonReader::ParseNull() { function Json (line 482) | Json JsonReader::ParseArray() { function Json (line 503) | Json JsonReader::ParseObject() { function Json (line 546) | Json JsonReader::ParseNumber() { function Json (line 655) | Json JsonReader::ParseBoolean() { function Json (line 676) | Json Json::Load(StringView str, std::ios::openmode mode) { function Json (line 688) | Json Json::Load(JsonReader* reader) { function Json (line 720) | Json UBJReader::ParseArray() { function Json (line 785) | Json UBJReader::ParseObject() { function Json (line 799) | Json UBJReader::Load() { function Json (line 804) | Json UBJReader::Parse() { function WritePrimitive (line 875) | void WritePrimitive(T v, std::vector* stream) { function EncodeStr (line 883) | void EncodeStr(std::vector* stream, std::string const& string) { function WriteTypedArray (line 910) | void WriteTypedArray(JsonTypedArray const* arr, std::vector,... function SmallHistogram (line 40) | void SmallHistogram(Context const* ctx, linalg::MatrixView std::remo... function it (line 120) | auto it = common::MakeIndexTransformIter( function namespace (line 130) | namespace detail { FILE: src/common/math.h function namespace (line 19) | namespace common { FILE: src/common/numa_topo.cc type xgboost::common (line 26) | namespace xgboost::common { function GetMemPolicy (line 38) | auto GetMemPolicy(int *mode, MaskT *nodemask, unsigned long maxnode, v... function GetMemPolicy (line 43) | auto GetMemPolicy(int *policy, MaskT *nodemask, unsigned long maxnode)... function ReadCpuList (line 49) | void ReadCpuList(fs::path const &path, std::vector *p_cp... function GetNumaNodeCpus (line 93) | void GetNumaNodeCpus(std::int32_t node_id, std::vector *... function GetNumaMaxNumNodes (line 106) | [[nodiscard]] std::int32_t GetNumaMaxNumNodes() { function GetNumaMemBind (line 144) | [[nodiscard]] bool GetNumaMemBind() { function GetNumaNumNodes (line 165) | [[nodiscard]] std::int32_t GetNumaNumNodes() { function GetNumaHasNormalMemoryNodes (line 192) | void GetNumaHasNormalMemoryNodes(std::vector *p_nodes) { function GetNumaHasCpuNodes (line 203) | void GetNumaHasCpuNodes(std::vector *p_nodes) { function GetCpuNuma (line 214) | [[nodiscard]] bool GetCpuNuma(unsigned int* cpu, unsigned int* numa) { FILE: src/common/numa_topo.h function namespace (line 9) | namespace xgboost::common { FILE: src/common/numeric.cc type xgboost (line 11) | namespace xgboost { type common (line 12) | namespace common { function Reduce (line 13) | double Reduce(Context const* ctx, HostDeviceVector const& val... FILE: src/common/numeric.h function namespace (line 27) | namespace xgboost::common { function namespace (line 93) | namespace cuda_impl { function namespace (line 106) | namespace cpu_impl { FILE: src/common/nvtx_utils.h type Domain (line 13) | struct Domain { FILE: src/common/observer.h function Json (line 54) | Json j_tree {Object()}; function Observe (line 61) | void Observe(RegTree const* p_tree) { function Json (line 113) | Json obj {toJson(p)}; FILE: src/common/optional_weight.cc type xgboost::common (line 13) | namespace xgboost::common { type cuda_impl (line 15) | namespace cuda_impl { type sycl_impl (line 21) | namespace sycl_impl { function SumOptionalWeights (line 26) | [[nodiscard]] double SumOptionalWeights(Context const* ctx, OptionalWe... FILE: src/common/optional_weight.h function namespace (line 14) | namespace xgboost::common { function OptionalWeights (line 30) | inline OptionalWeights MakeOptionalWeights(DeviceOrd device, FILE: src/common/param_array.cc type xgboost::common (line 18) | namespace xgboost::common { FILE: src/common/param_array.h function namespace (line 14) | namespace xgboost::common { FILE: src/common/partition_builder.h function namespace (line 25) | namespace xgboost::common { function pred (line 277) | auto pred = [&](auto ridx) { function AllocateForTask (line 297) | void AllocateForTask(size_t id) { function SetNLeftElems (line 315) | void SetNLeftElems(int nid, size_t begin, size_t n_left) { function SetNRightElems (line 320) | void SetNRightElems(int nid, size_t begin, size_t n_right) { function CalculateRowOffsets (line 336) | void CalculateRowOffsets() { function MergeToArray (line 352) | void MergeToArray(bst_node_t nid, size_t begin, bst_idx_t* rows_indexes) { function GetTaskIdx (line 365) | size_t GetTaskIdx(int nid, size_t begin) { type BlockInfo (line 393) | struct BlockInfo{ FILE: src/common/probability_distribution.h function namespace (line 13) | namespace xgboost { type ExtremeDistribution (line 92) | struct ExtremeDistribution { function CDF (line 98) | static double CDF(double z) { function XGBOOST_DEVICE (line 103) | XGBOOST_DEVICE static double GradPDF(double z) { function XGBOOST_DEVICE (line 108) | XGBOOST_DEVICE static double HessPDF(double z) { function XGBOOST_DEVICE (line 117) | XGBOOST_DEVICE static ProbabilityDistributionType Type() { FILE: src/common/pseudo_huber.cc type xgboost (line 5) | namespace xgboost { FILE: src/common/pseudo_huber.h function namespace (line 8) | namespace xgboost { FILE: src/common/quantile.cc type xgboost::common (line 19) | namespace xgboost::common { function MergeWeights (line 47) | std::vector MergeWeights(MetaInfo const &info, Span *out, std::size_t offset, T val... function T (line 81) | [[nodiscard]] T ReadPOD(Span bytes, std::size_t *curs... type SketchReducePayload (line 94) | struct SketchReducePayload { method SerializeFromSummaries (line 95) | [[nodiscard]] static std::vector SerializeFromSummaries( method HeaderBytes (line 116) | [[nodiscard]] static std::size_t HeaderBytes(std::size_t n_features) { method AppendEntries (line 120) | static void AppendEntries(std::vector *bytes, std::size_t i, method InitHeader (line 134) | static void InitHeader(std::vector *bytes, std::size_t n_... method SketchReducePayload (line 144) | [[nodiscard]] static SketchReducePayload Parse(Span bytes) { method NumFeatures (line 169) | [[nodiscard]] std::size_t NumFeatures() const { return offsets_.size... method TotalEntries (line 170) | [[nodiscard]] std::size_t TotalEntries() const { return entries_.siz... method Entries (line 172) | [[nodiscard]] Span Entries(std::size_t idx) ... method SummaryAt (line 182) | [[nodiscard]] WQuantileSketch::Summary SummaryAt(std::size_t idx) co... method SketchReducePayload (line 188) | SketchReducePayload(std::vector offsets, Span SerializeFromCategories( method HeaderBytes (line 218) | [[nodiscard]] static std::size_t HeaderBytes(std::size_t n_features) { method AppendValues (line 222) | static void AppendValues(std::vector *bytes, std::size_t ... method AppendValues (line 235) | static void AppendValues(std::vector *bytes, std::size_t i, method InitHeader (line 254) | static void InitHeader(std::vector *bytes, std::size_t n_... method CategoricalReducePayload (line 264) | [[nodiscard]] static CategoricalReducePayload Parse(Span ... method NumFeatures (line 289) | [[nodiscard]] std::size_t NumFeatures() const { return offsets_.size... method TotalValues (line 290) | [[nodiscard]] std::size_t TotalValues() const { return values_.size(... method Values (line 292) | [[nodiscard]] Span Values(std::size_t idx) const { method CategoricalReducePayload (line 303) | CategoricalReducePayload(std::vector offsets, Span const &categories, float *max_cat, ... function HistogramCuts (line 530) | HistogramCuts HostSketchContainer::MakeCuts(Context const *ctx, MetaIn... FILE: src/common/quantile.h function namespace (line 28) | namespace xgboost::common { function SetSize (line 66) | void SetSize(size_t n) { function Clear (line 71) | void Clear() { current_elements_ = 0; } function CopyFrom (line 76) | void CopyFrom(const WQSummary &src) { function SetFromSorted (line 91) | void SetFromSorted(std::vector> const &queue) { FILE: src/common/quantile_loss_utils.cc type xgboost::common (line 6) | namespace xgboost::common { FILE: src/common/quantile_loss_utils.h function namespace (line 13) | namespace xgboost::common { FILE: src/common/random.cc type xgboost::common (line 14) | namespace xgboost::common { function SaveRng (line 15) | void SaveRng(Json *p_out, RandomEngine const &rng) { function LoadRng (line 22) | void LoadRng(Json const &in, RandomEngine *rng) { FILE: src/common/random.h function k (line 43) | auto k = std::log(u) / w; function namespace (line 57) | namespace cuda_impl { function colsample_bytree_ (line 79) | float colsample_bytree_{1.0f}; FILE: src/common/ranking_utils.cc type xgboost::ltr (line 22) | namespace xgboost::ltr { function ParseMetricName (line 138) | std::string ParseMetricName(StringView name, StringView param, positio... function MakeMetricName (line 158) | std::string MakeMetricName(StringView name, position_t topn, bool minu... FILE: src/common/ranking_utils.h function namespace (line 26) | namespace xgboost::ltr { FILE: src/common/ref_resource_view.h function size_type (line 37) | size_type size_{0} function value_type (line 75) | [[nodiscard]] value_type* data() { return ptr_; } function value_type (line 76) | [[nodiscard]] value_type const* data() const { return ptr_; } function end (line 84) | [[nodiscard]] auto end() const { return cend(); } // NOLINT function value_type (line 97) | [[nodiscard]] value_type const& at(size_type i) const { // NOLINT function ReadVec (line 116) | [[nodiscard]] bool ReadVec(common::AlignedResourceReadStream* fi, Vec* v... function ref (line 166) | auto ref = RefResourceView{resource->DataAs(), n_elements, resource}; function ref (line 180) | auto ref = RefResourceView{resource->DataAs(), n_elements, resource}; function Resize (line 207) | void Resize(typename Upper::size_type new_size) { FILE: src/common/row_set.h type Elem (line 33) | struct Elem { function bst_idx_t (line 36) | bst_idx_t* end_{nullptr}; function Elem (line 69) | [[nodiscard]] Elem const& operator[](bst_node_t node_id) const { function Clear (line 80) | void Clear() { function Init (line 84) | void Init() { FILE: src/common/stats.cc type xgboost::common (line 19) | namespace xgboost::common { function Median (line 20) | void Median(Context const* ctx, linalg::Matrix const& t, function Mean (line 48) | void Mean(Context const* ctx, linalg::VectorView v, linal... function SampleMean (line 67) | void SampleMean(Context const* ctx, bool is_column_split, linalg::Matr... function WeightedSampleMean (line 94) | void WeightedSampleMean(Context const* ctx, bool is_column_split, lina... FILE: src/common/stats.h function namespace (line 18) | namespace xgboost { FILE: src/common/survival_util.cc type xgboost (line 12) | namespace xgboost { type common (line 13) | namespace common { FILE: src/common/survival_util.h function namespace (line 25) | namespace xgboost { FILE: src/common/threading_utils.cc type xgboost::common (line 20) | namespace xgboost::common { function GetCGroupV1Count (line 27) | std::int32_t GetCGroupV1Count(std::filesystem::path const& quota_path, function GetCGroupV2Count (line 58) | std::int32_t GetCGroupV2Count(std::filesystem::path const& bandwidth_p... function GetCfsCPUCount (line 81) | std::int32_t GetCfsCPUCount() noexcept { function OmpGetNumThreads (line 108) | std::int32_t OmpGetNumThreads(std::int32_t n_threads) noexcept(true) { function NameThread (line 124) | void NameThread(std::thread* t, StringView name) { FILE: src/common/threading_utils.h function omp_get_thread_limit (line 26) | inline int32_t omp_get_thread_limit() __GOMP_NOTHROW { return 1; } function omp_get_thread_limit (line 35) | inline int32_t omp_get_thread_limit() { return std::numeric_limits>()}; FILE: src/common/timer.cc type xgboost::common (line 15) | namespace xgboost::common { FILE: src/common/timer.h function namespace (line 12) | namespace xgboost::common { function PrintElapsed (line 30) | void PrintElapsed(std::string label) { function Monitor (line 45) | struct Monitor { FILE: src/common/transform.h function namespace (line 28) | namespace xgboost { function Range (line 146) | Range shard_range {0, static_cast(shard_size)} function Range (line 173) | Range shard_range {0, static_cast(range_size)} FILE: src/common/transform_iterator.h function namespace (line 14) | namespace xgboost { FILE: src/common/type.h function namespace (line 9) | namespace xgboost::common { FILE: src/common/version.cc type xgboost (line 15) | namespace xgboost { FILE: src/common/version.h function namespace (line 13) | namespace xgboost { FILE: src/context.cc type xgboost (line 31) | namespace xgboost { function DeviceOrd (line 43) | DeviceOrd CUDAOrdinal(DeviceOrd device, bool) { function DeviceOrd (line 49) | [[nodiscard]] DeviceOrd CUDAOrdinal(DeviceOrd device, bool fail_on_inv... function ParseInt (line 75) | [[nodiscard]] std::optional ParseInt(StringView ordinal) { function DeviceOrd (line 105) | [[nodiscard]] DeviceOrd MakeDeviceOrd(std::string const& input, bool f... function DeviceOrd (line 273) | DeviceOrd Context::DeviceFP64() const { function Json (line 281) | [[nodiscard]] Json Context::ToJson() const { function CUDAContext (line 293) | CUDAContext const* Context::CUDACtx() const { FILE: src/data/adapter.cc type xgboost::data (line 20) | namespace xgboost::data { function GetRefCats (line 22) | auto GetRefCats(Json handle) { class IteratorAdapter (line 102) | class IteratorAdapter array_interface) function class (line 200) | class ArrayAdapter : public detail::SingleBatchDataIter columns, Enc... function COOTuple (line 504) | COOTuple GetElement(size_t idx) { function Line (line 517) | Line GetLine(size_t idx) const { function class (line 538) | class FileAdapter : dmlc::DataIter { function Line (line 671) | Line GetLine(size_t ridx) const { return Line{page_[ridx].data(), page_[... FILE: src/data/array_interface.cc type xgboost (line 14) | namespace xgboost { FILE: src/data/array_interface.h function namespace (line 30) | namespace xgboost { function std (line 58) | static std::string TypeStr(char c) { function std (line 94) | static std::string UnSupportedType(StringView typestr) { function class (line 102) | class ArrayInterfaceHandler { type ToDType (line 325) | struct ToDType function explicit (line 450) | explicit ArrayInterface(Object::Map const &array) { this->Initialize(arr... function explicit (line 452) | explicit ArrayInterface(Json const &array) { function StringView (line 465) | StringView{str}} {} function explicit (line 467) | explicit ArrayInterface(StringView str) : ArrayInterface{Json::Load(str)... function DispatchDType (line 663) | void DispatchDType(ArrayInterface const array, DeviceOrd device, Fn f... FILE: src/data/batch_utils.cc type xgboost::data::detail (line 21) | namespace xgboost::data::detail { function CheckParam (line 22) | void CheckParam(BatchParam const& init, BatchParam const& param) { function CachePageBytesIsAuto (line 33) | [[nodiscard]] bool CachePageBytesIsAuto(std::int64_t min_cache_page_by... function DftPageSizeHostRatio (line 37) | [[nodiscard]] std::pair DftPageSizeHostRatio( FILE: src/data/batch_utils.h function namespace (line 15) | namespace xgboost::data::detail { function namespace (line 61) | namespace xgboost::cuda_impl { FILE: src/data/cat_container.cc type xgboost (line 18) | namespace xgboost { type PrimToUbj (line 74) | struct PrimToUbj type PrimToUbj (line 77) | struct PrimToUbj { type PrimToUbj (line 81) | struct PrimToUbj { type PrimToUbj (line 85) | struct PrimToUbj { type PrimToUbj (line 89) | struct PrimToUbj { type PrimToUbj (line 93) | struct PrimToUbj { type PrimToUbj (line 97) | struct PrimToUbj { type PrimToUbj (line 101) | struct PrimToUbj { type PrimToUbj (line 105) | struct PrimToUbj { type PrimToUbj (line 109) | struct PrimToUbj { type PrimToUbj (line 113) | struct PrimToUbj { function LoadJson (line 174) | void LoadJson(Json jvalues, Vec* p_out) { function SyncCategories (line 299) | void SyncCategories(Context const* ctx, CatContainer* cats, bool is_em... FILE: src/data/cat_container.h function namespace (line 22) | namespace xgboost { function CatStrArrayView (line 48) | struct ViewToStorageImpl { function values (line 73) | struct CatContainerImpl { function Copy (line 91) | void Copy(CatContainerImpl const* that) { function namespace (line 102) | namespace cuda_impl { function class (line 109) | class CatContainer { function XGBOOST_DEVICE (line 245) | [[nodiscard]] XGBOOST_DEVICE float operator()(Entry const& e) const { function XGBOOST_DEVICE (line 248) | [[nodiscard]] XGBOOST_DEVICE float operator()(data::COOTuple const& e) c... type NoOpAccessor (line 256) | struct NoOpAccessor { function XGBOOST_DEVICE (line 260) | [[nodiscard]] XGBOOST_DEVICE T operator()(T fvalue, Fidx) const { function XGBOOST_DEVICE (line 263) | [[nodiscard]] XGBOOST_DEVICE float operator()(data::COOTuple const& e) c... function XGBOOST_DEVICE (line 264) | [[nodiscard]] XGBOOST_DEVICE float operator()(Entry const& e) const { re... function namespace (line 269) | namespace cpu_impl { FILE: src/data/columnar.h function namespace (line 27) | namespace xgboost::data { FILE: src/data/data.cc type dmlc (line 60) | namespace dmlc { function SaveScalarField (line 71) | void SaveScalarField(dmlc::Stream* strm, const std::string& name, xgboos... function SaveVectorField (line 80) | void SaveVectorField(dmlc::Stream* strm, const std::string& name, xgboos... function SaveVectorField (line 91) | void SaveVectorField(dmlc::Stream* strm, const std::string& name, xgboos... function SaveTensorField (line 98) | void SaveTensorField(dmlc::Stream* strm, const std::string& name, xgboos... function LoadScalarField (line 110) | void LoadScalarField(dmlc::Stream* strm, const std::string& expected_name, function LoadVectorField (line 133) | void LoadVectorField(dmlc::Stream* strm, const std::string& expected_name, function LoadVectorField (line 163) | void LoadVectorField(dmlc::Stream* strm, const std::string& expected_name, function LoadTensorField (line 169) | void LoadTensorField(dmlc::Stream* strm, std::string const& expected_name, type xgboost (line 198) | namespace xgboost { function LoadFeatureType (line 285) | [[nodiscard]] bool LoadFeatureType(std::vector const& typ... function Gather (line 377) | std::vector Gather(const std::vector& in, common::Span* p_info, S... function TypedArrayRef (line 630) | [[nodiscard]] TypedArrayRef MetaInfo::GetInfo(Context const* ctx, Stri... function CheckDevice (line 827) | void CheckDevice(DeviceOrd device, HostDeviceVector const& v) { function CheckDevice (line 837) | void CheckDevice(DeviceOrd device, linalg::Tensor const& v) { function CatContainer (line 897) | [[nodiscard]] CatContainer const* MetaInfo::Cats() const { return this... function CatContainer (line 898) | [[nodiscard]] CatContainer* MetaInfo::Cats() { return this->cats_.get(... function XGBAPIThreadLocalEntry (line 912) | XGBAPIThreadLocalEntry& DMatrix::GetThreadLocal() const { function DMatrix (line 924) | DMatrix* TryLoadBinary(std::string fname, bool silent) { function DMatrix (line 947) | DMatrix* DMatrix::Load(const std::string& uri, bool silent, DataSplitM... function DMatrix (line 975) | DMatrix* DMatrix::Create(DataIterHandle iter, DMatrixHandle proxy, std... function DMatrix (line 983) | DMatrix* DMatrix::Create(DataIterHandle iter, DMatrixHandle proxy, Dat... function DMatrix (line 990) | DMatrix* DMatrix::Create(DataIterHandle iter, DMatrixHandle proxy, std... function DMatrix (line 1015) | DMatrix* DMatrix::Create(AdapterT* adapter, float missing, int nthread... function SparsePage (line 1039) | SparsePage SparsePage::GetTranspose(int num_columns, int32_t n_threads... function bst_idx_t (line 1133) | bst_idx_t SparsePage::Push(AdapterBatchT const& batch, float missing, ... type data (line 1294) | namespace data { FILE: src/data/ellpack_page.cc type xgboost (line 13) | namespace xgboost { class EllpackPageImpl (line 15) | class EllpackPageImpl { method CutsShared (line 20) | [[nodiscard]] std::shared_ptr CutsShare... function bst_idx_t (line 39) | bst_idx_t EllpackPage::Size() const { function bst_idx_t (line 51) | [[nodiscard]] bst_idx_t EllpackPage::BaseRowId() const { FILE: src/data/ellpack_page.h function namespace (line 13) | namespace xgboost { FILE: src/data/ellpack_page_raw_format.h function namespace (line 18) | namespace xgboost::common { function namespace (line 22) | namespace xgboost::data { FILE: src/data/ellpack_page_source.h function namespace (line 29) | namespace xgboost::curt { function namespace (line 32) | namespace xgboost::common::cuda_impl { type EllpackCacheInfo (line 37) | struct EllpackCacheInfo { function hw_decomp_ratio (line 43) | float hw_decomp_ratio{std::numeric_limits::quiet_NaN()}; function class (line 133) | class EllpackHostCacheStream { function namespace (line 170) | namespace detail { function has_hmm_ (line 179) | bool has_hmm_{curt::SupportsPageableMem()}; FILE: src/data/entry.h function bst_idx_t (line 16) | bst_idx_t row_idx{0} function bst_idx_t (line 17) | bst_idx_t column_idx{0} function value (line 18) | float value{0}; type IsValidFunctor (line 21) | struct IsValidFunctor { function const (line 30) | bool operator()(const data::COOTuple& e) const { function XGBOOST_DEVICE (line 34) | XGBOOST_DEVICE bool operator()(const Entry& e) const { FILE: src/data/extmem_quantile_dmatrix.cc type xgboost::data (line 22) | namespace xgboost::data { FILE: src/data/extmem_quantile_dmatrix.h function namespace (line 19) | namespace xgboost::data { FILE: src/data/file_iterator.cc type xgboost::data (line 19) | namespace xgboost::data { function ValidateFileFormat (line 20) | std::string ValidateFileFormat(std::string const& uri) { FILE: src/data/file_iterator.h function namespace (line 15) | namespace xgboost::data { function namespace (line 61) | namespace fileiter { FILE: src/data/gradient_index.cc type xgboost (line 16) | namespace xgboost { function bst_bin_t (line 194) | bst_bin_t GHistIndexMatrix::GetGindex(size_t ridx, size_t fidx) const { function GetFvalueImpl (line 212) | float GetFvalueImpl(std::vector const &ptrs, std::vecto... FILE: src/data/gradient_index.h function namespace (line 28) | namespace common { function class (line 43) | class GHistIndexMatrix { FILE: src/data/gradient_index_format.cc type xgboost::data (line 17) | namespace xgboost::data { FILE: src/data/gradient_index_format.h function namespace (line 14) | namespace xgboost::common { function namespace (line 18) | namespace xgboost::data { FILE: src/data/gradient_index_page_source.cc type xgboost::data (line 13) | namespace xgboost::data { FILE: src/data/gradient_index_page_source.h function namespace (line 21) | namespace xgboost::data { FILE: src/data/iterative_dmatrix.cc type xgboost::data (line 26) | namespace xgboost::data { function IterativeDMatrix (line 215) | IterativeDMatrix* IterativeDMatrix::Load(common::AlignedResourceReadSt... FILE: src/data/iterative_dmatrix.h function namespace (line 19) | namespace common { function namespace (line 25) | namespace data { FILE: src/data/metainfo.cc type xgboost (line 19) | namespace xgboost { type xgboost::data (line 43) | namespace xgboost::data { function CheckFeatureTypes (line 44) | void CheckFeatureTypes(HostDeviceVector const& lhs, type cuda_impl (line 57) | namespace cuda_impl { function CheckFeatureTypes (line 58) | void CheckFeatureTypes(HostDeviceVector const&, HostDev... FILE: src/data/metainfo.h function namespace (line 17) | namespace xgboost::data { FILE: src/data/proxy_dmatrix.cc type xgboost::data (line 22) | namespace xgboost::data { type cuda_impl (line 55) | namespace cuda_impl { function bst_idx_t (line 57) | [[nodiscard]] bst_idx_t BatchSamples(DMatrixProxy const *) { function bst_idx_t (line 61) | [[nodiscard]] bst_idx_t BatchColumns(DMatrixProxy const *) { function CreateDMatrixFromProxy (line 71) | std::shared_ptr CreateDMatrixFromProxy(Context const *ctx, function BatchCatsIsRef (line 100) | [[nodiscard]] bool BatchCatsIsRef(DMatrixProxy const *proxy) { FILE: src/data/proxy_dmatrix.h function namespace (line 24) | namespace xgboost::data { function bst_idx_t (line 151) | bst_idx_t row_stride{0} function namespace (line 290) | namespace cuda_impl { function bst_idx_t (line 302) | [[nodiscard]] inline bst_idx_t BatchSamples(DMatrixProxy const* proxy) { function bst_feature_t (line 315) | [[nodiscard]] inline bst_feature_t BatchColumns(DMatrixProxy const* prox... function namespace (line 325) | namespace cpu_impl {} FILE: src/data/quantile_dmatrix.cc type xgboost::data (line 18) | namespace xgboost::data { function GetCutsFromRef (line 19) | void GetCutsFromRef(Context const* ctx, std::shared_ptr ref, ... function GetCutsFromEllpack (line 63) | void GetCutsFromEllpack(EllpackPage const&, common::HistogramCuts*) { ... type cpu_impl (line 66) | namespace cpu_impl { function SyncFeatureType (line 68) | void SyncFeatureType(Context const* ctx, std::vector* p... function GetDataShape (line 87) | void GetDataShape(Context const* ctx, DMatrixProxy* proxy, function MakeSketches (line 149) | void MakeSketches(Context const* ctx, FILE: src/data/quantile_dmatrix.h function namespace (line 13) | namespace xgboost::common { function namespace (line 17) | namespace xgboost::data { FILE: src/data/simple_dmatrix.cc type xgboost::data (line 28) | namespace xgboost::data { function MetaInfo (line 29) | MetaInfo& SimpleDMatrix::Info() { return info_; } function MetaInfo (line 31) | const MetaInfo& SimpleDMatrix::Info() const { return info_; } function DMatrix (line 33) | DMatrix* SimpleDMatrix::Slice(common::Span ridxs) { function DMatrix (line 59) | DMatrix* SimpleDMatrix::SliceCol(int num_slices, int slice_id) { FILE: src/data/simple_dmatrix.h function MetaInfo (line 33) | const MetaInfo& Info() const override; FILE: src/data/sparse_page_dmatrix.cc type xgboost::data (line 22) | namespace xgboost::data { function MetaInfo (line 23) | MetaInfo &SparsePageDMatrix::Info() { return info_; } function MetaInfo (line 25) | const MetaInfo &SparsePageDMatrix::Info() const { return info_; } FILE: src/data/sparse_page_dmatrix.h function class (line 63) | class SparsePageDMatrix : public DMatrix { function DMatrix (line 100) | DMatrix *SliceCol(int, int) override { function EllpackExists (line 105) | [[nodiscard]] bool EllpackExists() const override { FILE: src/data/sparse_page_raw_format.cc type xgboost::data (line 14) | namespace xgboost::data { class SparsePageRawFormat (line 18) | class SparsePageRawFormat : public SparsePageFormat { method Read (line 20) | bool Read(T* page, common::AlignedResourceReadStream* fi) override { method Write (line 39) | std::size_t Write(const T& page, common::AlignedFileWriteStream* fo)... FILE: src/data/sparse_page_source.cc type xgboost::data (line 14) | namespace xgboost::data { function TryDeleteCacheFile (line 22) | void TryDeleteCacheFile(const std::string& file) { function MakeCachePrefix (line 34) | std::string MakeCachePrefix(std::string cache_prefix) { FILE: src/data/sparse_page_source.h function namespace (line 34) | namespace xgboost::data { function ShardName (line 44) | struct Cache { function bst_idx_t (line 78) | [[nodiscard]] bst_idx_t Bytes(std::size_t i) const { return offset.at(i ... function DeleteCacheFiles (line 89) | inline void DeleteCacheFiles(std::mapsingle_threaded_}; function Reset (line 668) | void Reset(BatchParam const& param) final { FILE: src/data/sparse_page_writer.h function namespace (line 15) | namespace xgboost::data { FILE: src/encoder/ordinal.h function namespace (line 54) | namespace enc { function namespace (line 120) | namespace detail { function namespace (line 165) | namespace detail { type MappingView (line 192) | struct MappingView { function namespace (line 205) | namespace cpu_impl { function SearchSorted (line 219) | [[nodiscard]] inline std::int32_t SearchSorted(CatStrArrayView haystack, function SearchSorted (line 256) | int32_t> function it (line 274) | auto it = MakeIndexTransformIter([](auto i) { return i; } function n_categories (line 276) | auto n_categories = std::visit([](auto &&arg) { return arg.size(); } function n_new_categories (line 372) | auto n_new_categories = FILE: src/encoder/types.h function namespace (line 23) | namespace enc { FILE: src/gbm/gblinear.cc type xgboost::gbm (line 28) | namespace xgboost::gbm { type GBLinearTrainParam (line 32) | struct GBLinearTrainParam : public XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 37) | DMLC_DECLARE_PARAMETER(GBLinearTrainParam) { function LinearCheckLayer (line 51) | void LinearCheckLayer(unsigned layer_begin) { class GBLinear (line 58) | class GBLinear : public GradientBooster { method GBLinear (line 60) | explicit GBLinear(LearnerModelParam const* learner_model_param, Cont... method Configure (line 68) | void Configure(const Args& cfg) override { method BoostedRounds (line 89) | int32_t BoostedRounds() const override { method ModelFitted (line 93) | bool ModelFitted() const override { return BoostedRounds() != 0; } method SaveModel (line 95) | void SaveModel(Json* p_out) const override { method LoadModel (line 103) | void LoadModel(Json const& in) override { method LoadConfig (line 109) | void LoadConfig(Json const& in) override { method SaveConfig (line 115) | void SaveConfig(Json* p_out) const override { method DoBoost (line 126) | void DoBoost(DMatrix* p_fmat, GradientContainer* in_gpair, Predictio... method PredictBatch (line 146) | void PredictBatch(DMatrix* p_fmat, PredictionCacheEntry* predts, boo... method PredictLeaf (line 155) | void PredictLeaf(DMatrix *, HostDeviceVector *, unsigned,... method PredictContribution (line 159) | void PredictContribution(DMatrix* p_fmat, HostDeviceVector DumpModel(const FeatureMap& f... method FeatureScore (line 216) | void FeatureScore(std::string const &importance_type, method PredictBatchInternal (line 241) | void PredictBatchInternal(DMatrix *p_fmat, method CheckConvergence (line 273) | bool CheckConvergence() { method LazySumWeights (line 291) | void LazySumWeights(DMatrix *p_fmat) { method Pred (line 301) | void Pred(const SparsePage::Inst &inst, bst_float *preds, int gid, FILE: src/gbm/gblinear_model.cc type xgboost::gbm (line 9) | namespace xgboost::gbm { FILE: src/gbm/gblinear_model.h function namespace (line 18) | namespace xgboost { FILE: src/gbm/gbm.cc type dmlc (line 15) | namespace dmlc { type xgboost (line 19) | namespace xgboost { function GradientBooster (line 20) | GradientBooster* GradientBooster::Create(const std::string& name, Cont... type gbm (line 33) | namespace gbm { type xgboost (line 32) | namespace xgboost { function GradientBooster (line 20) | GradientBooster* GradientBooster::Create(const std::string& name, Cont... type gbm (line 33) | namespace gbm { FILE: src/gbm/gbtree.cc type xgboost::gbm (line 40) | namespace xgboost::gbm { function MapTreeMethodToUpdaters (line 45) | std::string MapTreeMethodToUpdaters(Context const* ctx, TreeMethod tre... function UpdatersMatched (line 73) | bool UpdatersMatched(std::vector updater_seq, function CopyGradient (line 172) | void CopyGradient(Context const* ctx, linalg::Matrix con... FILE: src/gbm/gbtree.h type class (line 35) | enum class function TreeProcessType (line 43) | enum class TreeProcessType : int { kDefault = 0, kUpdate = 1 }; function class (line 171) | class GBTree : public GradientBooster { function FeatureScore (line 219) | void FeatureScore(std::string const& importance_type, common::Spanm... function PredictLeaf (line 292) | void PredictLeaf(DMatrix* p_fmat, HostDeviceVector* out_preds... function PredictContribution (line 300) | void PredictContribution(DMatrix* p_fmat, HostDeviceVector* out_c... function PredictInteractionContributions (line 310) | void PredictInteractionContributions(DMatrix* p_fmat, HostDeviceVector { method DMLC_DECLARE_PARAMETER (line 311) | DMLC_DECLARE_PARAMETER(LearnerTrainParam) { function CanonicalizeBoosterName (line 337) | std::string CanonicalizeBoosterName(std::string booster) { class Intercept (line 352) | class Intercept : public Learner { method InitEstimation (line 375) | void InitEstimation(MetaInfo const& info, linalg::Vector* bas... method NeedFit (line 382) | [[nodiscard]] bool NeedFit() const { method InitModelParam (line 393) | void InitModelParam(LearnerTrainParam const& tparam, bool apply_link) { method GetNumTargets (line 408) | void GetNumTargets(CacheT const& cache) { method CheckModelInitialized (line 430) | void CheckModelInitialized() const { method InitModelUserParam (line 435) | void InitModelUserParam(LearnerTrainParam const& tparam, CacheT cons... method FitIntercept (line 461) | void FitIntercept(LearnerTrainParam const& tparam, DMatrix const* p_... class LearnerConfiguration (line 484) | class LearnerConfiguration : public Intercept { method LearnerConfiguration (line 509) | explicit LearnerConfiguration(std::vector> ... method Configure (line 520) | void Configure() override { method LoadConfig (line 569) | void LoadConfig(Json const& in) override { method SaveConfig (line 624) | void SaveConfig(Json* p_out) const override { method SetParam (line 652) | void SetParam(const std::string& key, const std::string& value) over... method SetParams (line 663) | void SetParams(std::vector> cons... method GetNumFeature (line 669) | uint32_t GetNumFeature() const override { return learner_model_param... method SetAttr (line 671) | void SetAttr(const std::string& key, const std::string& value) overr... method GetAttr (line 675) | bool GetAttr(const std::string& key, std::string* out) const override { method DelAttr (line 682) | bool DelAttr(const std::string& key) override { method SetFeatureNames (line 691) | void SetFeatureNames(std::vector const& fn) override { ... method GetFeatureNames (line 693) | void GetFeatureNames(std::vector* fn) const override { ... method SetFeatureTypes (line 695) | void SetFeatureTypes(std::vector const& ft) override { ... method GetFeatureTypes (line 697) | void GetFeatureTypes(std::vector* p_ft) const override { method CatContainer (line 701) | [[nodiscard]] CatContainer const* Cats() const override { method GetAttrNames (line 706) | std::vector GetAttrNames() const override { method Context (line 718) | Context const* Ctx() const override { return &ctx_; } method ValidateParameters (line 721) | void ValidateParameters() { method ConfigureNumFeatures (line 797) | void ConfigureNumFeatures() { method ConfigureGBM (line 821) | void ConfigureGBM(LearnerTrainParam const& old, Args const& args) { method ConfigureObjective (line 834) | void ConfigureObjective(LearnerTrainParam const& old, Args* p_args) { method ConfigureMetrics (line 866) | void ConfigureMetrics(Args const& args) { method InitEstimation (line 881) | void InitEstimation(MetaInfo const& info, linalg::Vector* bas... class LearnerIO (line 891) | class LearnerIO : public LearnerConfiguration { method ClearCaches (line 893) | void ClearCaches() { this->prediction_container_ = PredictionContain... method LearnerIO (line 896) | explicit LearnerIO(std::vector> cache) : Le... method LoadModel (line 898) | void LoadModel(Json const& in) override { method SaveModel (line 950) | void SaveModel(Json* p_out) const override { method Save (line 986) | void Save(dmlc::Stream* fo) const override { method Load (line 1002) | void Load(dmlc::Stream* fi) override { class LearnerImpl (line 1030) | class LearnerImpl : public LearnerIO { method LearnerImpl (line 1032) | explicit LearnerImpl(std::vector> cache) : ... method DumpModel (line 1040) | std::vector DumpModel(const FeatureMap& fmap, bool with... method Learner (line 1048) | Learner* Slice(bst_layer_t begin, bst_layer_t end, bst_layer_t step, method Reset (line 1086) | void Reset() override { method UpdateOneIter (line 1108) | void UpdateOneIter(int iter, std::shared_ptr train) override { method BoostOneIter (line 1136) | void BoostOneIter(std::int32_t, std::shared_ptr train, method EvalOneIter (line 1159) | std::string EvalOneIter(int iter, const std::vector data, bool output_margin, method BoostedRounds (line 1230) | int32_t BoostedRounds() const override { method Groups (line 1238) | uint32_t Groups() const override { method XGBAPIThreadLocalEntry (line 1244) | XGBAPIThreadLocalEntry& GetThreadLocal() const override { method InplacePredict (line 1248) | void InplacePredict(std::shared_ptr p_m, PredictionType typ... method CalcFeatureScore (line 1269) | void CalcFeatureScore(std::string const& importance_type, common::Sp... method PredictRaw (line 1290) | void PredictRaw(DMatrix* data, PredictionCacheEntry* out_preds, bool... method ValidateDMatrix (line 1298) | void ValidateDMatrix(DMatrix* p_fmat, bool is_training) const { method GetGradient (line 1321) | void GetGradient(HostDeviceVector const& preds, MetaInfo cons... function Learner (line 1339) | Learner* Learner::Create(const std::vector>& ... type xgboost (line 238) | namespace xgboost { function StringView (line 68) | StringView ModelNotFitted() { return "Model is not yet initialized (no... function T (line 71) | T& UsePtr(T& ptr) { // NOLINT type LearnerModelParamLegacy (line 83) | struct LearnerModelParamLegacy : public dmlc::Parameter { method DMLC_DECLARE_PARAMETER (line 311) | DMLC_DECLARE_PARAMETER(LearnerTrainParam) { function CanonicalizeBoosterName (line 337) | std::string CanonicalizeBoosterName(std::string booster) { class Intercept (line 352) | class Intercept : public Learner { method InitEstimation (line 375) | void InitEstimation(MetaInfo const& info, linalg::Vector* bas... method NeedFit (line 382) | [[nodiscard]] bool NeedFit() const { method InitModelParam (line 393) | void InitModelParam(LearnerTrainParam const& tparam, bool apply_link) { method GetNumTargets (line 408) | void GetNumTargets(CacheT const& cache) { method CheckModelInitialized (line 430) | void CheckModelInitialized() const { method InitModelUserParam (line 435) | void InitModelUserParam(LearnerTrainParam const& tparam, CacheT cons... method FitIntercept (line 461) | void FitIntercept(LearnerTrainParam const& tparam, DMatrix const* p_... class LearnerConfiguration (line 484) | class LearnerConfiguration : public Intercept { method LearnerConfiguration (line 509) | explicit LearnerConfiguration(std::vector> ... method Configure (line 520) | void Configure() override { method LoadConfig (line 569) | void LoadConfig(Json const& in) override { method SaveConfig (line 624) | void SaveConfig(Json* p_out) const override { method SetParam (line 652) | void SetParam(const std::string& key, const std::string& value) over... method SetParams (line 663) | void SetParams(std::vector> cons... method GetNumFeature (line 669) | uint32_t GetNumFeature() const override { return learner_model_param... method SetAttr (line 671) | void SetAttr(const std::string& key, const std::string& value) overr... method GetAttr (line 675) | bool GetAttr(const std::string& key, std::string* out) const override { method DelAttr (line 682) | bool DelAttr(const std::string& key) override { method SetFeatureNames (line 691) | void SetFeatureNames(std::vector const& fn) override { ... method GetFeatureNames (line 693) | void GetFeatureNames(std::vector* fn) const override { ... method SetFeatureTypes (line 695) | void SetFeatureTypes(std::vector const& ft) override { ... method GetFeatureTypes (line 697) | void GetFeatureTypes(std::vector* p_ft) const override { method CatContainer (line 701) | [[nodiscard]] CatContainer const* Cats() const override { method GetAttrNames (line 706) | std::vector GetAttrNames() const override { method Context (line 718) | Context const* Ctx() const override { return &ctx_; } method ValidateParameters (line 721) | void ValidateParameters() { method ConfigureNumFeatures (line 797) | void ConfigureNumFeatures() { method ConfigureGBM (line 821) | void ConfigureGBM(LearnerTrainParam const& old, Args const& args) { method ConfigureObjective (line 834) | void ConfigureObjective(LearnerTrainParam const& old, Args* p_args) { method ConfigureMetrics (line 866) | void ConfigureMetrics(Args const& args) { method InitEstimation (line 881) | void InitEstimation(MetaInfo const& info, linalg::Vector* bas... class LearnerIO (line 891) | class LearnerIO : public LearnerConfiguration { method ClearCaches (line 893) | void ClearCaches() { this->prediction_container_ = PredictionContain... method LearnerIO (line 896) | explicit LearnerIO(std::vector> cache) : Le... method LoadModel (line 898) | void LoadModel(Json const& in) override { method SaveModel (line 950) | void SaveModel(Json* p_out) const override { method Save (line 986) | void Save(dmlc::Stream* fo) const override { method Load (line 1002) | void Load(dmlc::Stream* fi) override { class LearnerImpl (line 1030) | class LearnerImpl : public LearnerIO { method LearnerImpl (line 1032) | explicit LearnerImpl(std::vector> cache) : ... method DumpModel (line 1040) | std::vector DumpModel(const FeatureMap& fmap, bool with... method Learner (line 1048) | Learner* Slice(bst_layer_t begin, bst_layer_t end, bst_layer_t step, method Reset (line 1086) | void Reset() override { method UpdateOneIter (line 1108) | void UpdateOneIter(int iter, std::shared_ptr train) override { method BoostOneIter (line 1136) | void BoostOneIter(std::int32_t, std::shared_ptr train, method EvalOneIter (line 1159) | std::string EvalOneIter(int iter, const std::vector data, bool output_margin, method BoostedRounds (line 1230) | int32_t BoostedRounds() const override { method Groups (line 1238) | uint32_t Groups() const override { method XGBAPIThreadLocalEntry (line 1244) | XGBAPIThreadLocalEntry& GetThreadLocal() const override { method InplacePredict (line 1248) | void InplacePredict(std::shared_ptr p_m, PredictionType typ... method CalcFeatureScore (line 1269) | void CalcFeatureScore(std::string const& importance_type, common::Sp... method PredictRaw (line 1290) | void PredictRaw(DMatrix* data, PredictionCacheEntry* out_preds, bool... method ValidateDMatrix (line 1298) | void ValidateDMatrix(DMatrix* p_fmat, bool is_training) const { method GetGradient (line 1321) | void GetGradient(HostDeviceVector const& preds, MetaInfo cons... function Learner (line 1339) | Learner* Learner::Create(const std::vector>& ... FILE: src/linear/coordinate_common.h function namespace (line 20) | namespace xgboost { function UpdateResidualParallel (line 182) | inline void UpdateResidualParallel(Context const *ctx, bst_feature_t fid... function UpdateBiasResidualParallel (line 208) | inline void UpdateBiasResidualParallel(Context const *ctx, int group_idx... function class (line 224) | class FeatureSelector { function class (line 266) | class CyclicFeatureSelector : public FeatureSelector { function class (line 279) | class ShuffleFeatureSelector : public FeatureSelector { function class (line 304) | class RandomFeatureSelector : public FeatureSelector { function class (line 322) | class GreedyFeatureSelector : public FeatureSelector { function class (line 398) | class ThriftyFeatureSelector : public FeatureSelector { function NextFeature (line 457) | int NextFeature(Context const *, int, const gbm::GBLinearModel &model, i... function FeatureSelector (line 476) | inline FeatureSelector *FeatureSelector::Create(int choice) { FILE: src/linear/linear_updater.cc type dmlc (line 8) | namespace dmlc { type xgboost (line 12) | namespace xgboost { function LinearUpdater (line 14) | LinearUpdater* LinearUpdater::Create(const std::string& name, Context ... type linear (line 27) | namespace linear { type xgboost (line 26) | namespace xgboost { function LinearUpdater (line 14) | LinearUpdater* LinearUpdater::Create(const std::string& name, Context ... type linear (line 27) | namespace linear { FILE: src/linear/param.h function namespace (line 10) | namespace xgboost { FILE: src/linear/updater_coordinate.cc type xgboost::linear (line 12) | namespace xgboost::linear { class CoordinateUpdater (line 24) | class CoordinateUpdater : public LinearUpdater { method Configure (line 27) | void Configure(Args const& args) override { method LoadConfig (line 36) | void LoadConfig(Json const& in) override { method SaveConfig (line 41) | void SaveConfig(Json *p_out) const override { method Update (line 48) | void Update(linalg::Matrix *in_gpair, DMatrix *p_fmat,... method UpdateFeature (line 78) | void UpdateFeature(int fidx, int group_idx, std::vector *in_gpair, DMatrix *p_fmat,... FILE: src/logging.cc type xgboost (line 22) | namespace xgboost { type xgboost (line 39) | namespace xgboost { FILE: src/metric/auc.cc type xgboost::metric (line 26) | namespace xgboost::metric { function BinaryAUC (line 35) | std::tuple function MultiClassOVR (line 81) | double MultiClassOVR(Context const *ctx, common::Span pre... function BinaryROCAUC (line 140) | std::tuple BinaryROCAUC(Context const *ctx, function GroupRankingROC (line 152) | double GroupRankingROC(Context const* ctx, common::Span p... function BinaryPRAUC (line 189) | std::tuple BinaryPRAUC(Context const *ctx, com... function RankingAUC (line 216) | std::pair RankingAUC(Context const *ctx, std::vector... class EvalAUC (line 258) | class EvalAUC : public MetricNoCache { method Eval (line 259) | double Eval(const HostDeviceVector &preds, const MetaInfo... class EvalROCAUC (line 330) | class EvalROCAUC : public EvalAUC { method EvalRanking (line 334) | std::pair EvalRanking(HostDeviceVector cons... method EvalMultiClass (line 349) | double EvalMultiClass(HostDeviceVector const &predts, method EvalBinary (line 362) | std::tuple function GPUBinaryROCAUC (line 387) | std::tuple GPUBinaryROCAUC(Context const *, co... function GPUMultiClassROCAUC (line 394) | double GPUMultiClassROCAUC(Context const *, common::Span,... function GPURankingAUC (line 400) | std::pair GPURankingAUC(Context const *, common... type DeviceAUCCache (line 406) | struct DeviceAUCCache {} class EvalPRAUC (line 409) | class EvalPRAUC : public EvalAUC { method EvalBinary (line 413) | std::tuple method EvalMultiClass (line 426) | double EvalMultiClass(HostDeviceVector const &predts, MetaInf... method EvalRanking (line 436) | std::pair EvalRanking(HostDeviceVector cons... function GPUBinaryPRAUC (line 464) | std::tuple GPUBinaryPRAUC(Context const *, com... function GPUMultiClassPRAUC (line 471) | double GPUMultiClassPRAUC(Context const *, common::Span, ... function GPURankingPRAUC (line 477) | std::pair GPURankingPRAUC(Context const *, comm... FILE: src/metric/auc.h function XGBOOST_DEVICE (line 21) | XGBOOST_DEVICE inline double TrapezoidArea(double x0, double x1, double ... type DeviceAUCCache (line 25) | struct DeviceAUCCache function XGBOOST_DEVICE (line 58) | XGBOOST_DEVICE inline double CalcH(double fp_a, double fp_b, double tp_a, function XGBOOST_DEVICE (line 63) | XGBOOST_DEVICE inline double CalcB(double fp_a, double h, double tp_a, d... function XGBOOST_DEVICE (line 67) | XGBOOST_DEVICE inline double CalcA(double h) { return h + 1; } function XGBOOST_DEVICE (line 69) | XGBOOST_DEVICE inline double CalcDeltaPRAUC(double fp_prev, double fp, FILE: src/metric/metric.cc type xgboost (line 12) | namespace xgboost { function Metric (line 14) | Metric* CreateMetricImpl(const std::string& name) { function Metric (line 45) | Metric * type dmlc (line 57) | namespace dmlc { type xgboost::metric (line 61) | namespace xgboost::metric { FILE: src/metric/metric_common.h type Context (line 15) | struct Context function Evaluate (line 21) | double Evaluate(HostDeviceVector const &predts, std::shared_ptr& preds, const MetaInfo... type EvalRank (line 109) | struct EvalRank : public MetricNoCache, public EvalRankConfig { method Eval (line 111) | double Eval(const HostDeviceVector& preds, const MetaInfo... method EvalRank (line 146) | explicit EvalRank(const char* name, const char* param) { type EvalCox (line 154) | struct EvalCox : public MetricNoCache { method EvalCox (line 156) | EvalCox() = default; method Eval (line 157) | double Eval(const HostDeviceVector& preds, const MetaInfo... class EvalRankWithCache (line 208) | class EvalRankWithCache : public Metric { method EvalRankWithCache (line 217) | EvalRankWithCache(StringView name, const char* param) { method LoadConfig (line 227) | void LoadConfig(Json const& in) override { method SaveConfig (line 238) | void SaveConfig(Json* p_out) const override { method Evaluate (line 244) | double Evaluate(HostDeviceVector const& preds, std::shared_pt... function Finalize (line 267) | double Finalize(Context const* ctx, MetaInfo const& info, double score... class EvalPrecision (line 284) | class EvalPrecision : public EvalRankWithCache { method Eval (line 288) | double Eval(HostDeviceVector const& predt, MetaInfo const& info, class EvalNDCG (line 334) | class EvalNDCG : public EvalRankWithCache { method Configure (line 338) | void Configure(Args const& args) override { method Eval (line 350) | double Eval(HostDeviceVector const& preds, MetaInfo const& info, class EvalMAPScore (line 404) | class EvalMAPScore : public EvalRankWithCache { method Eval (line 408) | double Eval(HostDeviceVector const& predt, MetaInfo const& info, FILE: src/metric/rank_metric.h function namespace (line 15) | namespace xgboost::metric::cuda_impl { FILE: src/objective/adaptive.cc type xgboost::obj (line 32) | namespace xgboost::obj { function EncodeTreeLeafHost (line 33) | void EncodeTreeLeafHost(Context const* ctx, RegTree const& tree, type cpu_impl (line 83) | namespace cpu_impl { function AllocThreads (line 85) | [[nodiscard]] std::int32_t AllocThreads(Context const* ctx, std::vec... function UpdateTreeLeaf (line 108) | void UpdateTreeLeaf(Context const* ctx, std::vector cons... type cuda_impl (line 188) | namespace cuda_impl { function UpdateTreeLeaf (line 190) | void UpdateTreeLeaf(Context const*, common::Span, ... FILE: src/objective/adaptive.h function namespace (line 18) | namespace xgboost::obj { FILE: src/objective/aft_obj.cc type xgboost (line 11) | namespace xgboost { type obj (line 12) | namespace obj { FILE: src/objective/hinge.cc type xgboost (line 8) | namespace xgboost { type obj (line 9) | namespace obj { FILE: src/objective/init_estimation.cc type xgboost::obj (line 17) | namespace xgboost::obj { FILE: src/objective/init_estimation.h function namespace (line 10) | namespace xgboost::obj { FILE: src/objective/lambdarank_obj.cc type xgboost::obj (line 38) | namespace xgboost::obj { type cpu_impl (line 39) | namespace cpu_impl { function LambdaRankUpdatePositionBias (line 40) | void LambdaRankUpdatePositionBias(Context const* ctx, linalg::Vector... function MAPStat (line 442) | void MAPStat(Context const* ctx, linalg::VectorView label, class LambdaRankObj (line 99) | class LambdaRankObj : public FitIntercept { method UpdatePositionBias (line 103) | void UpdatePositionBias() { method GetCache (line 146) | [[nodiscard]] std::shared_ptr GetCache() const { method GroupLoss (line 153) | linalg::VectorView GroupLoss(bst_group_t g, linalg::Vector... method Configure (line 253) | void Configure(Args const& args) override { param_.UpdateAllowUnknow... method SaveConfig (line 254) | void SaveConfig(Json* p_out) const override { method LoadConfig (line 266) | void LoadConfig(Json const& in) override { method ObjInfo (line 278) | [[nodiscard]] ObjInfo Task() const override { return ObjInfo{ObjInfo... method bst_target_t (line 280) | [[nodiscard]] bst_target_t Targets(MetaInfo const& info) const overr... method GetGradient (line 295) | void GetGradient(HostDeviceVector const& predt, MetaInfo cons... class LambdaRankNDCG (line 328) | class LambdaRankNDCG : public LambdaRankObj label, class LambdaRankMAP (line 475) | class LambdaRankMAP : public LambdaRankObj= 0.0f && x <= 1.0f; } function XGBOOST_DEVICE (line 67) | XGBOOST_DEVICE static bst_float FirstOrderGradient(bst_float predt, bst_... function XGBOOST_DEVICE (line 70) | XGBOOST_DEVICE static bst_float SecondOrderGradient(bst_float predt, bst... function XGBOOST_DEVICE (line 74) | XGBOOST_DEVICE static float ProbToMargin(float base_score) { function StringView (line 79) | constexpr static StringView InterceptErrorMsg() { function XGBOOST_DEVICE (line 82) | XGBOOST_DEVICE static bool CheckIntercept(float base_score) { function ObjInfo (line 93) | static ObjInfo Info() { return ObjInfo::kRegression; } function LogisticRegression (line 97) | struct LogisticClassification : public LogisticRegression { function LogisticRegression (line 104) | struct LogisticRaw : public LogisticRegression { function class (line 128) | class GammaDeviance { function XGBOOST_DEVICE (line 132) | XGBOOST_DEVICE static float ProbToMargin(float x) { return std::log(x); } function StringView (line 133) | constexpr static StringView InterceptErrorMsg() { function XGBOOST_DEVICE (line 136) | XGBOOST_DEVICE static bool CheckIntercept(float base_score) { return bas... function XGBOOST_DEVICE (line 138) | XGBOOST_DEVICE static float FirstOrderGradient(float p, float y) { retur... function XGBOOST_DEVICE (line 139) | XGBOOST_DEVICE static float SecondOrderGradient(float p, float y) { retu... function ObjInfo (line 140) | static ObjInfo Info() { return ObjInfo::kRegression; } function XGBOOST_DEVICE (line 143) | XGBOOST_DEVICE static bool CheckLabel(float x) { return x > 0.0f; } type PoissonLabel (line 148) | struct PoissonLabel { FILE: src/objective/regression_obj.cc type xgboost (line 8) | namespace xgboost { type obj (line 9) | namespace obj { FILE: src/objective/regression_param.h function namespace (line 11) | namespace xgboost { FILE: src/predictor/array_tree_layout.h function namespace (line 16) | namespace xgboost::predictor { FILE: src/predictor/cpu_predictor.cc type xgboost::predictor (line 43) | namespace xgboost::predictor { type CopyViews (line 49) | struct CopyViews { function bst_node_t (line 63) | bst_node_t GetLeafIndex(TreeView const &tree, const RegTree::FVec &feat, type scalar (line 75) | namespace scalar { function PredValueByOneTree (line 77) | [[nodiscard]] float PredValueByOneTree(const RegTree::FVec &p_feats, function PredValueByOneTree (line 88) | void PredValueByOneTree(tree::ScalarTreeView const &tree, std::size_... type multi (line 112) | namespace multi { function PredValueByOneTree (line 114) | void PredValueByOneTree(RegTree::FVec const &p_feats, tree::MultiTar... function PredValueByOneTree (line 128) | void PredValueByOneTree(tree::MultiTargetTreeView const &tree, std::... function PredictBlockByAllTrees (line 157) | void PredictBlockByAllTrees(HostModel const &model, std::size_t const ... function DispatchArrayLayout (line 200) | void DispatchArrayLayout(HostModel const &model, std::size_t const pre... function ShouldUseBlock (line 236) | bool ShouldUseBlock(DMatrix *p_fmat) { type EncAccessorPolicy (line 249) | struct EncAccessorPolicy { method EncAccessorPolicy (line 254) | EncAccessorPolicy() = default; method EncAccessorPolicy (line 256) | EncAccessorPolicy &operator=(EncAccessorPolicy const &that) = delete; method EncAccessorPolicy (line 257) | EncAccessorPolicy(EncAccessorPolicy const &that) = delete; method EncAccessorPolicy (line 259) | EncAccessorPolicy &operator=(EncAccessorPolicy &&that) = default; method EncAccessorPolicy (line 260) | EncAccessorPolicy(EncAccessorPolicy &&that) = default; method MakeAccessor (line 262) | [[nodiscard]] auto MakeAccessor(Context const *ctx, enc::HostColumns... type NullEncAccessorPolicy (line 270) | struct NullEncAccessorPolicy { method MakeAccessor (line 272) | [[nodiscard]] auto MakeAccessor(Args &&...) const { type BlockPolicy (line 278) | struct BlockPolicy { type NullBlockPolicy (line 282) | struct NullBlockPolicy { type LaunchConfig (line 290) | struct LaunchConfig : public Args... { method LaunchConfig (line 295) | LaunchConfig(Context const *ctx, DMatrix *p_fmat, gbm::GBTreeModel c... method LaunchConfig (line 298) | LaunchConfig(LaunchConfig const &that) = delete; method LaunchConfig (line 299) | LaunchConfig &operator=(LaunchConfig const &that) = delete; method LaunchConfig (line 300) | LaunchConfig(LaunchConfig &&that) = default; method LaunchConfig (line 301) | LaunchConfig &operator=(LaunchConfig &&that) = default; method ForEachBatch (line 305) | void ForEachBatch(Fn &&fn) { function LaunchPredict (line 329) | void LaunchPredict(Context const *ctx, DMatrix *p_fmat, gbm::GBTreeMod... function LaunchPredict (line 353) | void LaunchPredict(Context const *ctx, DMatrix *p_fmat, gbm::GBTreeMod... class ThreadTmp (line 362) | class ThreadTmp { method ThreadTmp (line 370) | explicit ThreadTmp(std::int32_t n_threads) { method ThreadBuffer (line 382) | common::Span ThreadBuffer(std::size_t n) { function PredictBatchByBlockKernel (line 391) | void PredictBatchByBlockKernel(DataView const &batch, HostModel const ... class ColumnSplitHelper (line 449) | class ColumnSplitHelper { method ColumnSplitHelper (line 451) | ColumnSplitHelper(std::int32_t n_threads, gbm::GBTreeModel const &mo... method ColumnSplitHelper (line 483) | ColumnSplitHelper(ColumnSplitHelper const &) = delete; method ColumnSplitHelper (line 484) | ColumnSplitHelper &operator=(ColumnSplitHelper const &) = delete; method ColumnSplitHelper (line 485) | ColumnSplitHelper(ColumnSplitHelper &&) noexcept = delete; method ColumnSplitHelper (line 486) | ColumnSplitHelper &operator=(ColumnSplitHelper &&) noexcept = delete; method PredictDMatrix (line 488) | void PredictDMatrix(Context const *ctx, DMatrix *p_fmat, std::vector... method PredictLeaf (line 500) | void PredictLeaf(Context const *ctx, DMatrix *p_fmat, std::vector h_tree_groups, method PredictBatchKernel (line 629) | void PredictBatchKernel(Context const *ctx, DataView batch, std::vec... class CPUPredictor (line 713) | class CPUPredictor : public Predictor { method PredictDMatrix (line 715) | void PredictDMatrix(DMatrix *p_fmat, std::vector *out_preds, ... method CPUPredictor (line 746) | explicit CPUPredictor(Context const *ctx) : Predictor::Predictor{ctx... method PredictBatch (line 748) | void PredictBatch(DMatrix *dmat, PredictionCacheEntry *predts, gbm::... method InplacePredict (line 764) | [[nodiscard]] bool InplacePredict(std::shared_ptr p_m, gbm:... method PredictLeaf (line 823) | void PredictLeaf(DMatrix *p_fmat, HostDeviceVector *out_preds, method PredictContribution (line 864) | void PredictContribution(DMatrix *p_fmat, HostDeviceVector *o... method PredictInteractionContributions (line 877) | void PredictInteractionContributions(DMatrix *p_fmat, HostDeviceVect... FILE: src/predictor/data_accessor.h function namespace (line 23) | namespace xgboost::predictor { function bst_idx_t (line 104) | [[nodiscard]] bst_idx_t DoFill(bst_idx_t ridx, float* out) const { function bst_idx_t (line 178) | [[nodiscard]] bst_idx_t DoFill(bst_idx_t ridx, float* out) const { FILE: src/predictor/gbtree_view.h function bst_node_t (line 37) | bst_node_t n_nodes{0} function tree (line 53) | auto tree = tree::MultiTargetTreeView{device, need_stat, p_tree.get()} function tree (line 57) | auto tree = tree::ScalarTreeView{device, need_stat, p_tree.get()}; FILE: src/predictor/interpretability/shap.cc type xgboost::interpretability (line 21) | namespace xgboost::interpretability { function ValidateTreeWeights (line 23) | void ValidateTreeWeights(std::vector const *tree_weights, bst_t... function FillNodeMeanValues (line 30) | float FillNodeMeanValues(tree::ScalarTreeView const &tree, bst_node_t ... function FillNodeMeanValues (line 47) | void FillNodeMeanValues(tree::ScalarTreeView const &tree, std::vector<... function CalculateApproxContributions (line 56) | void CalculateApproxContributions(tree::ScalarTreeView const &tree, Re... function DispatchByBatchView (line 64) | void DispatchByBatchView(Context const *ctx, DMatrix *p_fmat, EncAcces... function LaunchShap (line 81) | void LaunchShap(Context const *ctx, DMatrix *p_fmat, gbm::GBTreeModel ... type cpu_impl (line 92) | namespace cpu_impl { function ShapValues (line 93) | void ShapValues(Context const *ctx, DMatrix *p_fmat, HostDeviceVecto... function ApproxFeatureImportance (line 168) | void ApproxFeatureImportance(Context const *ctx, DMatrix *p_fmat, function ShapInteractionValues (line 238) | void ShapInteractionValues(Context const *ctx, DMatrix *p_fmat, FILE: src/predictor/interpretability/shap.h function namespace (line 12) | namespace xgboost::gbm { function namespace (line 16) | namespace xgboost::interpretability { FILE: src/predictor/predict_fn.h function namespace (line 13) | namespace xgboost::predictor { FILE: src/predictor/predictor.cc type dmlc (line 20) | namespace dmlc { type xgboost (line 24) | namespace xgboost { function Predictor (line 27) | Predictor* Predictor::Create(std::string const& name, Context const* c... function ValidateBaseMarginShape (line 37) | void ValidateBaseMarginShape(linalg::Tensor const& margin, b... type cuda_impl (line 46) | namespace cuda_impl { type sycl_impl (line 51) | namespace sycl_impl { type xgboost::predictor (line 110) | namespace xgboost::predictor { FILE: src/predictor/treeshap.cc type xgboost (line 15) | namespace xgboost { function CalculateContributionsApprox (line 16) | void CalculateContributionsApprox(tree::ScalarTreeView const& tree, co... type PathElement (line 49) | struct PathElement { method PathElement (line 54) | PathElement() = default; method PathElement (line 55) | PathElement(int i, float z, float o, float w) function ExtendPath (line 60) | void ExtendPath(PathElement* unique_path, std::uint32_t unique_depth, ... function UnwindPath (line 75) | void UnwindPath(PathElement* unique_path, std::uint32_t unique_depth, ... function UnwoundPathSum (line 102) | float UnwoundPathSum(const PathElement* unique_path, std::uint32_t uni... function TreeShap (line 140) | void TreeShap(tree::ScalarTreeView const& tree, const RegTree::FVec& f... function CalculateContributions (line 216) | void CalculateContributions(tree::ScalarTreeView const& tree, const Re... FILE: src/predictor/treeshap.h function namespace (line 10) | namespace xgboost { FILE: src/predictor/utils.h function namespace (line 11) | namespace xgboost::predictor { FILE: src/tree/common_row_partitioner.h function namespace (line 28) | namespace xgboost::tree { function bitvec (line 68) | auto bitvec = BitVector{span.subspan(n * tidx, n)}; function rc (line 95) | auto rc = collective::Success() << [&] { function BitVector (line 117) | BitVector decision_bits_{} function BitVector (line 119) | BitVector missing_bits_{} function class (line 128) | class CommonRowPartitioner { function Reset (line 139) | void Reset(Context const* ctx, bst_idx_t num_row, bst_idx_t _base_rowid,... function LeafPartition (line 314) | void LeafPartition(Context const* ctx, ScalarTreeView const& tree, commo... FILE: src/tree/constraints.cc type xgboost (line 13) | namespace xgboost { FILE: src/tree/constraints.h function class (line 20) | class FeatureInteractionConstraintHost { FILE: src/tree/driver.h function namespace (line 11) | namespace xgboost { FILE: src/tree/fit_stump.cc type xgboost::tree (line 22) | namespace xgboost::tree { type cpu_impl (line 23) | namespace cpu_impl { function SumGradients (line 24) | void SumGradients(Context const* ctx, linalg::MatrixView*... FILE: src/tree/hist/hist_cache.h function namespace (line 17) | namespace xgboost::tree { FILE: src/tree/hist/hist_param.cc type xgboost::tree (line 15) | namespace xgboost::tree { FILE: src/tree/hist/hist_param.h function namespace (line 13) | namespace xgboost::tree { FILE: src/tree/hist/histogram.cc type xgboost::tree (line 18) | namespace xgboost::tree { function AssignNodes (line 19) | void AssignNodes(MultiTargetTreeView const &tree, function AssignNodes (line 47) | void AssignNodes(ScalarTreeView const &tree, std::vector CalcRegAbsGrad(Context const* ctx, linalg::MatrixVi... function UniformSample (line 153) | void UniformSample(Context const* ctx, linalg::MatrixView sorted_rag, common:... FILE: src/tree/hist/sampler.h function namespace (line 19) | namespace xgboost::tree { type MvsGradOp (line 50) | struct MvsGradOp { function XGBOOST_DEVICE (line 60) | XGBOOST_DEVICE inline float SamplingProbability(float u, float reg_abs_g... function detail (line 68) | inline detail::GradientPairInternal RescaleGrad( function subsample_ (line 95) | float subsample_{1.0f}; FILE: src/tree/io_utils.h function namespace (line 13) | namespace xgboost { function std (line 61) | inline std::string const kLeft{"left_children"}; FILE: src/tree/multi_target_tree_model.cc type xgboost (line 22) | namespace xgboost { function LoadModelImpl (line 211) | void LoadModelImpl(Json const& in, HostDeviceVector* p_weights, function bst_target_t (line 375) | [[nodiscard]] bst_target_t MultiTargetTree::NumTargets() const { retur... function bst_target_t (line 376) | [[nodiscard]] bst_target_t MultiTargetTree::NumSplitTargets() const { function MultiTargetTree (line 383) | [[nodiscard]] MultiTargetTree* MultiTargetTree::Copy(TreeParam const* ... FILE: src/tree/param.cc type std (line 11) | namespace std { type xgboost (line 84) | namespace xgboost { function ParseInteractionConstraint (line 85) | void ParseInteractionConstraint( FILE: src/tree/param.h type TrainParam (line 25) | struct TrainParam type TreeGrowPolicy (line 37) | enum TreeGrowPolicy { kDepthWise = 0, kLossGuide = 1 } function bst_bin_t (line 42) | bst_bin_t max_cat_threshold{64}; function GradStats (line 373) | inline GradStats &CopyStats(GradStats const &src, GradStats *dst) { // ... function bst_float (line 385) | bst_float loss_chg {0.0f}; function namespace (line 579) | namespace std { FILE: src/tree/sample_position.h function namespace (line 7) | namespace xgboost::tree { FILE: src/tree/split_evaluator.h function namespace (line 24) | namespace xgboost::tree { FILE: src/tree/tree_model.cc type xgboost (line 27) | namespace xgboost { type tree (line 28) | namespace tree { function ToStr (line 34) | std::enable_if_t, std::string> ToStr(F... function ToStr (line 44) | std::string ToStr(linalg::VectorView value) { class TreeGenerator (line 74) | class TreeGenerator { method Tabs (line 80) | static std::string Tabs(uint32_t n) { method Match (line 90) | [[nodiscard]] static std::string Match(std::string const& input, method Indicator (line 101) | virtual std::string Indicator(TreeView /*tree*/, int32_t /*nid*/, ui... method Integer (line 105) | virtual std::string Integer(TreeView /*tree*/, int32_t /*nid*/, uint... method Quantitive (line 108) | virtual std::string Quantitive(TreeView /*tree*/, int32_t /*nid*/, u... method NodeStat (line 111) | virtual std::string NodeStat(TreeView /*tree*/, int32_t /*nid*/) con... method SplitNode (line 115) | virtual std::string SplitNode(TreeView tree, int32_t nid, uint32_t d... method TreeGenerator (line 169) | TreeGenerator(FeatureMap const& _fmap, bool with_stats) : fmap_{_fma... method BuildTree (line 172) | virtual void BuildTree(TreeView tree) { ss_ << this->BuildTree(tree,... method Str (line 174) | std::string Str() const { return ss_.str(); } function GetSplitCategories (line 181) | std::vector GetSplitCategories(TreeView const& tree, int32_... function PrintCatsAsSet (line 195) | std::string PrintCatsAsSet(std::vector const& cats) { function GetFeatureName (line 208) | std::string GetFeatureName(FeatureMap const& fmap, bst_feature_t split... class TextGenerator (line 218) | class TextGenerator : public TreeGenerator { method TextGenerator (line 222) | TextGenerator(FeatureMap const& fmap, bool with_stats) : SuperT(fmap... method LeafNode (line 224) | std::string LeafNode(TreeView tree, int32_t nid, uint32_t depth) con... method Indicator (line 238) | std::string Indicator(TreeView tree, bst_node_t nid, uint32_t) const... method SplitNodeImpl (line 250) | std::string SplitNodeImpl(TreeView tree, bst_node_t nid, std::string... method Integer (line 264) | std::string Integer(TreeView tree, int32_t nid, uint32_t depth) cons... method Quantitive (line 274) | std::string Quantitive(TreeView tree, int32_t nid, uint32_t depth) c... method PlainNode (line 281) | std::string PlainNode(TreeView tree, int32_t nid, uint32_t depth) co... method Categorical (line 288) | std::string Categorical(TreeView tree, bst_node_t nid, uint32_t dept... method NodeStat (line 297) | std::string NodeStat(TreeView tree, bst_node_t nid) const override { method BuildTree (line 305) | std::string BuildTree(TreeView tree, int32_t nid, uint32_t depth) ov... method BuildTree (line 318) | void BuildTree(TreeView tree) override { class JsonGenerator (line 326) | class JsonGenerator : public TreeGenerator { method JsonGenerator (line 330) | JsonGenerator(FeatureMap const& fmap, bool with_stats) : SuperT{fmap... method Indent (line 332) | std::string Indent(uint32_t depth) const { method LeafNode (line 340) | std::string LeafNode(TreeView tree, bst_node_t nid, uint32_t) const ... method Indicator (line 353) | std::string Indicator(TreeView tree, bst_node_t nid, uint32_t depth)... method Categorical (line 367) | std::string Categorical(TreeView tree, bst_node_t nid, uint32_t dept... method SplitNodeImpl (line 385) | std::string SplitNodeImpl(TreeView tree, bst_node_t nid, std::string... method Integer (line 399) | std::string Integer(TreeView tree, int32_t nid, uint32_t depth) cons... method Quantitive (line 411) | std::string Quantitive(TreeView tree, int32_t nid, uint32_t depth) c... method PlainNode (line 420) | std::string PlainNode(TreeView tree, int32_t nid, uint32_t depth) co... method NodeStat (line 429) | std::string NodeStat(TreeView tree, int32_t nid) const override { method SplitNode (line 436) | std::string SplitNode(TreeView tree, int32_t nid, uint32_t depth) ov... method BuildTree (line 449) | std::string BuildTree(TreeView tree, int32_t nid, uint32_t depth) ov... type GraphvizParam (line 460) | struct GraphvizParam : public XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 468) | DMLC_DECLARE_PARAMETER(GraphvizParam) { class GraphvizGenerator (line 487) | class GraphvizGenerator : public TreeGenerator { method GraphvizGenerator (line 492) | GraphvizGenerator(FeatureMap const& fmap, std::string const& attrs, ... method BuildEdge (line 554) | std::string BuildEdge(TreeView tree, bst_node_t nidx, int32_t child,... method PlainNode (line 575) | std::string PlainNode(TreeView tree, bst_node_t nidx, uint32_t) cons... method NodeStat (line 609) | std::string NodeStat(TreeView tree, bst_node_t nidx) const override { method Categorical (line 614) | std::string Categorical(TreeView tree, bst_node_t nidx, uint32_t /*d... method LeafNode (line 634) | std::string LeafNode(TreeView tree, bst_node_t nidx, uint32_t) const... method BuildTree (line 649) | std::string BuildTree(TreeView tree, bst_node_t nidx, uint32_t depth... method BuildTree (line 664) | void BuildTree(TreeView tree) override { function CreateTreeGenerator (line 700) | std::unique_ptr> CreateTreeGenerator(std::stri... function bst_node_t (line 766) | [[nodiscard]] bst_node_t RegTree::GetNumLeaves() const { function bst_node_t (line 777) | [[nodiscard]] bst_node_t RegTree::GetNumSplitNodes() const { function bst_node_t (line 788) | [[nodiscard]] bst_node_t RegTree::GetDepth(bst_node_t nidx) const { function bst_node_t (line 798) | [[nodiscard]] bst_node_t RegTree::MaxDepth() const { function RegTree (line 903) | RegTree* RegTree::Copy() const { function LoadModelImpl (line 1040) | void LoadModelImpl(Json const& in, TreeParam const& param, std::vector... type xgboost (line 178) | namespace xgboost { type tree (line 28) | namespace tree { function ToStr (line 34) | std::enable_if_t, std::string> ToStr(F... function ToStr (line 44) | std::string ToStr(linalg::VectorView value) { class TreeGenerator (line 74) | class TreeGenerator { method Tabs (line 80) | static std::string Tabs(uint32_t n) { method Match (line 90) | [[nodiscard]] static std::string Match(std::string const& input, method Indicator (line 101) | virtual std::string Indicator(TreeView /*tree*/, int32_t /*nid*/, ui... method Integer (line 105) | virtual std::string Integer(TreeView /*tree*/, int32_t /*nid*/, uint... method Quantitive (line 108) | virtual std::string Quantitive(TreeView /*tree*/, int32_t /*nid*/, u... method NodeStat (line 111) | virtual std::string NodeStat(TreeView /*tree*/, int32_t /*nid*/) con... method SplitNode (line 115) | virtual std::string SplitNode(TreeView tree, int32_t nid, uint32_t d... method TreeGenerator (line 169) | TreeGenerator(FeatureMap const& _fmap, bool with_stats) : fmap_{_fma... method BuildTree (line 172) | virtual void BuildTree(TreeView tree) { ss_ << this->BuildTree(tree,... method Str (line 174) | std::string Str() const { return ss_.str(); } function GetSplitCategories (line 181) | std::vector GetSplitCategories(TreeView const& tree, int32_... function PrintCatsAsSet (line 195) | std::string PrintCatsAsSet(std::vector const& cats) { function GetFeatureName (line 208) | std::string GetFeatureName(FeatureMap const& fmap, bst_feature_t split... class TextGenerator (line 218) | class TextGenerator : public TreeGenerator { method TextGenerator (line 222) | TextGenerator(FeatureMap const& fmap, bool with_stats) : SuperT(fmap... method LeafNode (line 224) | std::string LeafNode(TreeView tree, int32_t nid, uint32_t depth) con... method Indicator (line 238) | std::string Indicator(TreeView tree, bst_node_t nid, uint32_t) const... method SplitNodeImpl (line 250) | std::string SplitNodeImpl(TreeView tree, bst_node_t nid, std::string... method Integer (line 264) | std::string Integer(TreeView tree, int32_t nid, uint32_t depth) cons... method Quantitive (line 274) | std::string Quantitive(TreeView tree, int32_t nid, uint32_t depth) c... method PlainNode (line 281) | std::string PlainNode(TreeView tree, int32_t nid, uint32_t depth) co... method Categorical (line 288) | std::string Categorical(TreeView tree, bst_node_t nid, uint32_t dept... method NodeStat (line 297) | std::string NodeStat(TreeView tree, bst_node_t nid) const override { method BuildTree (line 305) | std::string BuildTree(TreeView tree, int32_t nid, uint32_t depth) ov... method BuildTree (line 318) | void BuildTree(TreeView tree) override { class JsonGenerator (line 326) | class JsonGenerator : public TreeGenerator { method JsonGenerator (line 330) | JsonGenerator(FeatureMap const& fmap, bool with_stats) : SuperT{fmap... method Indent (line 332) | std::string Indent(uint32_t depth) const { method LeafNode (line 340) | std::string LeafNode(TreeView tree, bst_node_t nid, uint32_t) const ... method Indicator (line 353) | std::string Indicator(TreeView tree, bst_node_t nid, uint32_t depth)... method Categorical (line 367) | std::string Categorical(TreeView tree, bst_node_t nid, uint32_t dept... method SplitNodeImpl (line 385) | std::string SplitNodeImpl(TreeView tree, bst_node_t nid, std::string... method Integer (line 399) | std::string Integer(TreeView tree, int32_t nid, uint32_t depth) cons... method Quantitive (line 411) | std::string Quantitive(TreeView tree, int32_t nid, uint32_t depth) c... method PlainNode (line 420) | std::string PlainNode(TreeView tree, int32_t nid, uint32_t depth) co... method NodeStat (line 429) | std::string NodeStat(TreeView tree, int32_t nid) const override { method SplitNode (line 436) | std::string SplitNode(TreeView tree, int32_t nid, uint32_t depth) ov... method BuildTree (line 449) | std::string BuildTree(TreeView tree, int32_t nid, uint32_t depth) ov... type GraphvizParam (line 460) | struct GraphvizParam : public XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 468) | DMLC_DECLARE_PARAMETER(GraphvizParam) { class GraphvizGenerator (line 487) | class GraphvizGenerator : public TreeGenerator { method GraphvizGenerator (line 492) | GraphvizGenerator(FeatureMap const& fmap, std::string const& attrs, ... method BuildEdge (line 554) | std::string BuildEdge(TreeView tree, bst_node_t nidx, int32_t child,... method PlainNode (line 575) | std::string PlainNode(TreeView tree, bst_node_t nidx, uint32_t) cons... method NodeStat (line 609) | std::string NodeStat(TreeView tree, bst_node_t nidx) const override { method Categorical (line 614) | std::string Categorical(TreeView tree, bst_node_t nidx, uint32_t /*d... method LeafNode (line 634) | std::string LeafNode(TreeView tree, bst_node_t nidx, uint32_t) const... method BuildTree (line 649) | std::string BuildTree(TreeView tree, bst_node_t nidx, uint32_t depth... method BuildTree (line 664) | void BuildTree(TreeView tree) override { function CreateTreeGenerator (line 700) | std::unique_ptr> CreateTreeGenerator(std::stri... function bst_node_t (line 766) | [[nodiscard]] bst_node_t RegTree::GetNumLeaves() const { function bst_node_t (line 777) | [[nodiscard]] bst_node_t RegTree::GetNumSplitNodes() const { function bst_node_t (line 788) | [[nodiscard]] bst_node_t RegTree::GetDepth(bst_node_t nidx) const { function bst_node_t (line 798) | [[nodiscard]] bst_node_t RegTree::MaxDepth() const { function RegTree (line 903) | RegTree* RegTree::Copy() const { function LoadModelImpl (line 1040) | void LoadModelImpl(Json const& in, TreeParam const& param, std::vector... FILE: src/tree/tree_updater.cc type dmlc (line 12) | namespace dmlc { type xgboost (line 16) | namespace xgboost { function TreeUpdater (line 17) | TreeUpdater* TreeUpdater::Create(const std::string& name, Context cons... type xgboost::tree (line 27) | namespace xgboost::tree { FILE: src/tree/tree_view.cc type xgboost::tree (line 11) | namespace xgboost::tree { function DispatchPtr (line 14) | auto DispatchPtr(DeviceOrd device, HostDeviceVector const& vec) { function DispatchWeight (line 22) | auto DispatchWeight(DeviceOrd device, RegTree const* tree) { FILE: src/tree/tree_view.h function namespace (line 18) | namespace xgboost::tree { type ScalarTreeView (line 97) | struct ScalarTreeView function bst_node_t (line 98) | static bst_node_t constexpr InvalidNodeId() { return RegTree::kInvalidNo... function bst_node_t (line 99) | static constexpr bst_node_t RootId() { return RegTree::kRoot; } function bst_node_t (line 105) | bst_node_t n{0} function XGBOOST_DEVICE (line 107) | [[nodiscard]] XGBOOST_DEVICE bool IsLeaf(bst_node_t nidx) const { return... function XGBOOST_DEVICE (line 108) | [[nodiscard]] XGBOOST_DEVICE bst_node_t Parent(bst_node_t nidx) const { function XGBOOST_DEVICE (line 111) | [[nodiscard]] XGBOOST_DEVICE bst_node_t LeftChild(bst_node_t nidx) const { function XGBOOST_DEVICE (line 114) | [[nodiscard]] XGBOOST_DEVICE bst_node_t RightChild(bst_node_t nidx) const { function XGBOOST_DEVICE (line 117) | [[nodiscard]] XGBOOST_DEVICE bst_feature_t SplitIndex(bst_node_t nidx) c... function XGBOOST_DEVICE (line 120) | [[nodiscard]] XGBOOST_DEVICE bool IsDeleted(bst_node_t nidx) const { function XGBOOST_DEVICE (line 123) | [[nodiscard]] XGBOOST_DEVICE float SplitCond(bst_node_t nidx) const { function XGBOOST_DEVICE (line 126) | [[nodiscard]] XGBOOST_DEVICE bool DefaultLeft(bst_node_t nidx) const { function XGBOOST_DEVICE (line 129) | [[nodiscard]] XGBOOST_DEVICE bool IsLeftChild(bst_node_t nidx) const { function XGBOOST_DEVICE (line 132) | [[nodiscard]] XGBOOST_DEVICE bst_node_t DefaultChild(bst_node_t nidx) co... function XGBOOST_DEVICE (line 135) | [[nodiscard]] XGBOOST_DEVICE float LeafValue(bst_node_t nidx) const { function XGBOOST_DEVICE (line 141) | [[nodiscard]] XGBOOST_DEVICE bool IsRoot(bst_node_t nidx) const { function RTreeNodeStat (line 145) | [[nodiscard]] RTreeNodeStat const& Stat(bst_node_t nidx) const { return ... function XGBOOST_DEVICE (line 146) | [[nodiscard]] XGBOOST_DEVICE auto SumHess(bst_node_t nidx) const { retur... function XGBOOST_DEVICE (line 147) | [[nodiscard]] XGBOOST_DEVICE auto LossChg(bst_node_t nidx) const { retur... type MultiTargetTreeView (line 172) | struct MultiTargetTreeView function bst_node_t (line 173) | static bst_node_t constexpr InvalidNodeId() { return MultiTargetTree::In... function bst_node_t (line 184) | bst_node_t n{0} function XGBOOST_DEVICE (line 192) | [[nodiscard]] XGBOOST_DEVICE bool IsLeaf(bst_node_t nidx) const { function XGBOOST_DEVICE (line 196) | [[nodiscard]] XGBOOST_DEVICE bst_node_t Parent(bst_node_t nidx) const { ... function XGBOOST_DEVICE (line 197) | [[nodiscard]] XGBOOST_DEVICE bst_node_t LeftChild(bst_node_t nidx) const... function XGBOOST_DEVICE (line 198) | [[nodiscard]] XGBOOST_DEVICE bst_node_t RightChild(bst_node_t nidx) cons... function IsLeftChild (line 200) | [[nodiscard]] bool IsLeftChild(bst_node_t nidx) const { function XGBOOST_DEVICE (line 204) | [[nodiscard]] XGBOOST_DEVICE bst_feature_t SplitIndex(bst_node_t nidx) c... function XGBOOST_DEVICE (line 207) | [[nodiscard]] XGBOOST_DEVICE float SplitCond(bst_node_t nidx) const { re... function XGBOOST_DEVICE (line 208) | [[nodiscard]] XGBOOST_DEVICE bool DefaultLeft(bst_node_t nidx) const { function XGBOOST_DEVICE (line 211) | [[nodiscard]] XGBOOST_DEVICE bst_node_t DefaultChild(bst_node_t nidx) co... function XGBOOST_DEVICE (line 214) | [[nodiscard]] XGBOOST_DEVICE linalg::VectorView LeafValue(b... function XGBOOST_DEVICE (line 221) | [[nodiscard]] XGBOOST_DEVICE bool IsRoot(bst_node_t nidx) const { return... function SumHess (line 225) | [[nodiscard]] float SumHess(bst_node_t nidx) const { return sum_hess[nid... function LossChg (line 226) | [[nodiscard]] float LossChg(bst_node_t nidx) const { return loss_chg[nid... function IsScalarTree (line 258) | [[nodiscard]] bool constexpr IsScalarTree() { function IsScalarTree (line 263) | [[nodiscard]] bool constexpr IsScalarTree(TreeView const&) { FILE: src/tree/updater_approx.cc type xgboost::tree (line 41) | namespace xgboost::tree { function BatchSpec (line 47) | auto BatchSpec(TrainParam const &p, common::Span hess, ObjInfo ... function BatchSpec (line 51) | auto BatchSpec(TrainParam const &p, common::Span hess) { class GlobalApproxBuilder (line 56) | class GlobalApproxBuilder { method InitData (line 75) | void InitData(DMatrix *p_fmat, RegTree const *p_tree, common::Span c... method UpdatePredictionCache (line 133) | void UpdatePredictionCache(DMatrix const *p_fmat, common::Span hess, method GlobalApproxBuilder (line 166) | explicit GlobalApproxBuilder(TrainParam const *param, HistMakerTrain... method UpdateTree (line 178) | void UpdateTree(DMatrix *p_fmat, std::vector const &gp... class GlobalApproxUpdater (line 250) | class GlobalApproxUpdater : public TreeUpdater { method GlobalApproxUpdater (line 261) | explicit GlobalApproxUpdater(Context const *ctx, ObjInfo const *task) method Configure (line 266) | void Configure(Args const &args) override { hist_param_.UpdateAllowU... method LoadConfig (line 267) | void LoadConfig(Json const &in) override { method SaveConfig (line 271) | void SaveConfig(Json *p_out) const override { method InitData (line 276) | void InitData(TrainParam const ¶m, linalg::Matrix ... method Update (line 287) | void Update(TrainParam const *param, GradientContainer *in_gpair, DM... method UpdatePredictionCache (line 313) | bool UpdatePredictionCache(DMatrix const *p_fmat, method HasNodePosition (line 326) | [[nodiscard]] bool HasNodePosition() const override { return true; } FILE: src/tree/updater_colmaker.cc type xgboost::tree (line 25) | namespace xgboost::tree { type ColMakerTrainParam (line 29) | struct ColMakerTrainParam : XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 35) | DMLC_DECLARE_PARAMETER(ColMakerTrainParam) { method NeedForwardSearch (line 49) | inline bool NeedForwardSearch(float col_density, bool indicator) con... method NeedBackwardSearch (line 54) | inline bool NeedBackwardSearch() const { return default_direction !=... class ColMaker (line 60) | class ColMaker : public TreeUpdater { method ColMaker (line 62) | explicit ColMaker(Context const *ctx) method Configure (line 64) | void Configure(const Args &args) override { colmaker_param_.UpdateAl... method LoadConfig (line 66) | void LoadConfig(Json const &in) override { method SaveConfig (line 70) | void SaveConfig(Json *p_out) const override { method LazyGetColumnDensity (line 77) | void LazyGetColumnDensity(DMatrix *dmat) { method Update (line 95) | void Update(TrainParam const *param, GradientContainer *in_gpair, DM... type ThreadEntry (line 134) | struct ThreadEntry { method ThreadEntry (line 142) | ThreadEntry() = default; type NodeEntry (line 144) | struct NodeEntry { method NodeEntry (line 154) | NodeEntry() = default; class Builder (line 157) | class Builder { method Builder (line 159) | explicit Builder(const TrainParam ¶m, const ColMakerTrainParam... method Update (line 171) | virtual void Update(const std::vector &gpair, DMatri... method InitData (line 212) | inline void InitData(const std::vector &gpair, const... method InitNewNode (line 262) | void InitNewNode(const std::vector &qexpand, const std::vecto... method UpdateQueueExpand (line 301) | void UpdateQueueExpand(RegTree const &tree, const std::vector &qexpand, method ResetPosition (line 489) | void ResetPosition(const std::vector &qexpand, DMatrix *p_fma... method SyncBestSolution (line 518) | virtual void SyncBestSolution(const std::vector &qexpand) { method SetNonDefaultPosition (line 527) | virtual void SetNonDefaultPosition(const std::vector &qexpand... method SetEncodePosition (line 562) | void SetEncodePosition(bst_idx_t ridx, bst_node_t nidx) { FILE: src/tree/updater_prune.cc type xgboost::tree (line 17) | namespace xgboost::tree { class TreePruner (line 21) | class TreePruner : public TreeUpdater { method TreePruner (line 23) | explicit TreePruner(Context const* ctx, ObjInfo const* task) : TreeU... method Configure (line 29) | void Configure(const Args& args) override { syncher_->Configure(args... method LoadConfig (line 31) | void LoadConfig(Json const&) override {} method SaveConfig (line 32) | void SaveConfig(Json*) const override {} method CanModifyTree (line 33) | [[nodiscard]] bool CanModifyTree() const override { return true; } method Update (line 36) | void Update(TrainParam const* param, GradientContainer* in_gpair, DM... method bst_node_t (line 49) | bst_node_t TryPruneLeaf(TrainParam const* param, RegTree* p_tree, in... method DoPrune (line 74) | void DoPrune(TrainParam const* param, RegTree* p_tree) { FILE: src/tree/updater_quantile_hist.cc type xgboost::tree (line 48) | namespace xgboost::tree { function BatchParam (line 52) | BatchParam HistBatch(TrainParam const *param) { return {param->max_bin... function ReduceToRows (line 60) | linalg::Matrix ReduceToRows(Context const *ctx, linalg::TensorView<... function CheckPartitionerLeaves (line 79) | void CheckPartitionerLeaves(std::vector const &p... function UpdateTree (line 95) | void UpdateTree(common::Monitor *monitor, linalg::MatrixView const &full_grad, R... method MultiTargetHistBuilder (line 384) | explicit MultiTargetHistBuilder(Context const *ctx, TrainParam const... method UpdatePredictionCache (line 396) | bool UpdatePredictionCache(DMatrix const *p_fmat, common::Span Xy, DMatrixHandle cxy) { function MakeSimpleDMatrixForTest (line 404) | auto MakeSimpleDMatrixForTest(bst_idx_t n_samples, bst_feature_t n_fea... function MakeQDMForTest (line 421) | auto MakeQDMForTest(Context const *ctx, bst_idx_t n_samples, bst_featu... function MakeExtMemForTest (line 453) | auto MakeExtMemForTest(bst_idx_t n_samples, bst_feature_t n_features, ... function CheckResult (line 477) | void CheckResult(Context const *ctx, bst_feature_t n_features, std::sh... function TestXGDMatrixGetQuantileCut (line 505) | void TestXGDMatrixGetQuantileCut(Context const *ctx) { function TEST (line 591) | TEST(CAPI, XGDMatrixGetQuantileCut) { function TEST (line 597) | TEST(CAPI, GPUXGDMatrixGetQuantileCut) { function TEST (line 603) | TEST(CAPI, PredictReuseProxy) { FILE: tests/cpp/categorical_helpers.h function namespace (line 13) | namespace xgboost { FILE: tests/cpp/collective/test_allgather.cc type xgboost::collective (line 23) | namespace xgboost::collective { class AllgatherTest (line 25) | class AllgatherTest : public TrackerTest {} class Worker (line 27) | class Worker : public WorkerForTest { method Run (line 31) | void Run() { method CheckV (line 67) | void CheckV(common::Span result) { method TestVRing (line 79) | void TestVRing() { method TestVBasic (line 89) | void TestVBasic() { method TestVAlgo (line 100) | void TestVAlgo() { function TEST_F (line 143) | TEST_F(AllgatherTest, Basic) { function TEST_F (line 152) | TEST_F(AllgatherTest, VBasic) { function TEST_F (line 161) | TEST_F(AllgatherTest, VRing) { function TEST_F (line 170) | TEST_F(AllgatherTest, VAlgo) { function TEST (line 179) | TEST(VectorAllgatherV, Basic) { FILE: tests/cpp/collective/test_allreduce.cc type xgboost::collective (line 13) | namespace xgboost::collective { class AllreduceWorker (line 15) | class AllreduceWorker : public WorkerForTest { method Basic (line 19) | void Basic() { method Restricted (line 42) | void Restricted() { method Acc (line 58) | void Acc() { method BitOr (line 72) | void BitOr() { method VariableAllreduce (line 84) | void VariableAllreduce() { class AllreduceTest (line 109) | class AllreduceTest : public SocketTest {} function TEST_F (line 112) | TEST_F(AllreduceTest, Basic) { function TEST_F (line 121) | TEST_F(AllreduceTest, Sum) { function TEST_F (line 130) | TEST_F(AllreduceTest, BitOr) { function TEST_F (line 139) | TEST_F(AllreduceTest, AllreduceV) { function TEST_F (line 148) | TEST_F(AllreduceTest, Restricted) { function TEST (line 160) | TEST(AllreduceGlobal, Basic) { function TEST (line 180) | TEST(AllreduceGlobal, Small) { FILE: tests/cpp/collective/test_broadcast.cc type xgboost::collective (line 15) | namespace xgboost::collective { class Worker (line 17) | class Worker : public WorkerForTest { method Run (line 21) | void Run() { class BroadcastTest (line 39) | class BroadcastTest : public SocketTest {} function TEST_F (line 42) | TEST_F(BroadcastTest, Basic) { FILE: tests/cpp/collective/test_coll_c_api.cc type xgboost::collective (line 15) | namespace xgboost::collective { class TrackerAPITest (line 17) | class TrackerAPITest : public SocketTest {} function TEST_F (line 20) | TEST_F(TrackerAPITest, CAPI) { FILE: tests/cpp/collective/test_comm.cc type xgboost::collective (line 10) | namespace xgboost::collective { class CommTest (line 12) | class CommTest : public TrackerTest {} function TEST_F (line 15) | TEST_F(CommTest, Channel) { FILE: tests/cpp/collective/test_comm_group.cc type xgboost::collective (line 18) | namespace xgboost::collective { class CommGroupTest (line 20) | class CommGroupTest : public SocketTest {} function TEST_F (line 23) | TEST_F(CommGroupTest, Basic) { function TEST_F (line 39) | TEST_F(CommGroupTest, BasicMGPU) { FILE: tests/cpp/collective/test_loop.cc type xgboost::collective (line 17) | namespace xgboost::collective { class LoopTest (line 19) | class LoopTest : public ::testing::Test { method SetUp (line 25) | void SetUp() override { method TearDown (line 52) | void TearDown() override { function TEST_F (line 59) | TEST_F(LoopTest, Timeout) { function TEST_F (line 68) | TEST_F(LoopTest, Op) { function TEST_F (line 87) | TEST_F(LoopTest, Block) { FILE: tests/cpp/collective/test_result.cc type xgboost::collective (line 7) | namespace xgboost::collective { function TEST (line 8) | TEST(Result, Concat) { FILE: tests/cpp/collective/test_socket.cc type xgboost::collective (line 12) | namespace xgboost::collective { function TEST_F (line 13) | TEST_F(SocketTest, Basic) { function TEST_F (line 66) | TEST_F(SocketTest, Bind) { FILE: tests/cpp/collective/test_tracker.cc type xgboost::collective (line 17) | namespace xgboost::collective { class PrintWorker (line 19) | class PrintWorker : public WorkerForTest { method Print (line 23) | void Print() { function TEST_F (line 30) | TEST_F(TrackerTest, Bootstrap) { function TEST_F (line 56) | TEST_F(TrackerTest, Print) { function TEST_F (line 80) | TEST_F(TrackerTest, GetHostAddress) { ASSERT_TRUE(host.find("127.") ==... function TEST_F (line 85) | TEST_F(TrackerTest, AfterShutdown) { FILE: tests/cpp/collective/test_worker.h function comm_ (line 45) | to_string(rank)}, function virtual (line 49) | virtual ~WorkerForTest() noexcept(false) { SafeColl(comm_.Shutdown()); } function LimitSockBuf (line 52) | void LimitSockBuf(std::int32_t n_bytes) { function SkipTest (line 67) | bool SkipTest() { function class (line 91) | class TrackerTest : public SocketTest { function Json (line 106) | Json config{Object{}} function RabitTracker (line 122) | RabitTracker tracker{MakeTrackerConfig(host, n_workers, timeout)}; function GetWorkerLocalThreads (line 199) | [[nodiscard]] inline std::int32_t GetWorkerLocalThreads(std::int32_t n_w... function GetWorkerLocalThreads (line 205) | inline void GetWorkerLocalThreads(std::int32_t n_workers, Context* ctx) { function class (line 211) | class BaseMGPUTest : public ::testing::Test { FILE: tests/cpp/common/test_algorithm.cc type xgboost (line 12) | namespace xgboost { type common (line 13) | namespace common { function TEST (line 14) | TEST(Algorithm, ArgSort) { function TEST (line 22) | TEST(Algorithm, Sort) { FILE: tests/cpp/common/test_bitfield.cc type xgboost (line 7) | namespace xgboost { function TEST (line 9) | TEST(BitField, Check) { function TestBitFieldSet (line 52) | void TestBitFieldSet(typename BitFieldT::value_type res, size_t index,... function TEST (line 71) | TEST(BitField, Set) { function TestBitFieldClear (line 81) | void TestBitFieldClear(size_t clear_bit) { function TEST (line 92) | TEST(BitField, Clear) { function TEST (line 101) | TEST(BitField, CTZ) { FILE: tests/cpp/common/test_categorical.cc type xgboost (line 13) | namespace xgboost { type common (line 14) | namespace common { function TEST (line 15) | TEST(Categorical, Decision) { function TEST (line 49) | TEST(Categorical, MinimalSet) { FILE: tests/cpp/common/test_charconv.cc type xgboost (line 28) | namespace xgboost { function TestInteger (line 30) | void TestInteger(char const* res, int64_t i) { function Int32Bits2Float (line 37) | static float Int32Bits2Float(uint32_t bits) { function TestRyu (line 43) | void TestRyu(char const *res, float v) { function TEST (line 51) | TEST(Ryu, Subnormal) { function TEST (line 63) | TEST(Ryu, Denormal) { function TEST (line 67) | TEST(Ryu, SwitchToSubnormal) { function TEST (line 71) | TEST(Ryu, MinAndMax) { function TEST (line 78) | TEST(Ryu, BoundaryRoundEven) { function TEST (line 87) | TEST(Ryu, ExactValueRoundEven) { function TEST (line 92) | TEST(Ryu, LotsOfTrailingZeros) { function TEST (line 100) | TEST(Ryu, Regression) { function TEST (line 135) | TEST(Ryu, RoundTrip) { function TEST (line 150) | TEST(Ryu, LooksLikePow5) { function TEST (line 159) | TEST(Ryu, OutputLength) { function TEST (line 171) | TEST(IntegerPrinting, Basic) { function TestRyuParse (line 179) | void TestRyuParse(float f, std::string in) { function TEST (line 186) | TEST(Ryu, Basic) { function TEST (line 195) | TEST(Ryu, MinMax) { function TEST (line 201) | TEST(Ryu, MantissaRoundingOverflow) { function TEST (line 207) | TEST(Ryu, TrailingZeros) { FILE: tests/cpp/common/test_column_matrix.cc type xgboost::common (line 23) | namespace xgboost::common { function TEST (line 24) | TEST(ColumnMatrix, Basic) { function CheckSparseColumn (line 55) | void CheckSparseColumn(SparseColumnIter* p_col, const GHis... function TEST (line 73) | TEST(ColumnMatrix, SparseColumn) { function CheckColumWithMissingValue (line 94) | void CheckColumWithMissingValue(const DenseColumnIter GenerateRandom(int num_rows, int num_columns) { function std (line 41) | inline std::vector GenerateRandomWeights(int num_rows) { function Json (line 52) | Json array_interface{Object()}; FILE: tests/cpp/common/test_intrusive_ptr.cc type xgboost (line 7) | namespace xgboost { class NotCopyConstructible (line 9) | class NotCopyConstructible { method NotCopyConstructible (line 13) | explicit NotCopyConstructible(float d) : data{d} {} method NotCopyConstructible (line 14) | NotCopyConstructible(NotCopyConstructible const &that) = delete; method NotCopyConstructible (line 15) | NotCopyConstructible &operator=(NotCopyConstructible const &that) = ... method NotCopyConstructible (line 16) | NotCopyConstructible(NotCopyConstructible&& that) = default; class ForIntrusivePtrTest (line 21) | class ForIntrusivePtrTest { class IntrusivePtrCell (line 23) | class IntrusivePtrCell method IntrusivePtrCell (line 26) | IntrusivePtrCell & method ForIntrusivePtrTest (line 31) | ForIntrusivePtrTest() = default; method ForIntrusivePtrTest (line 32) | ForIntrusivePtrTest(float a, int32_t b) : data{a + static_castRunRun v1, linalg::VectorView *storage, std::size_t ... function TEST (line 40) | TEST(Linalg, MatrixView) { function TEST (line 49) | TEST(Linalg, VectorView) { function TEST (line 61) | TEST(Linalg, TensorView) { function TEST (line 225) | TEST(Linalg, Tensor) { function TEST (line 262) | TEST(Linalg, Empty) { function TEST (line 286) | TEST(Linalg, ArrayInterface) { function TEST (line 303) | TEST(Linalg, Popc) { function TEST (line 331) | TEST(Linalg, Stack) { function TEST (line 349) | TEST(Linalg, FOrder) { function TEST (line 377) | TEST(Linalg, IO) { function TEST (line 415) | TEST(Linalg, CpuDispatch) { function TEST (line 420) | TEST(Linalg, ExpandDim) { FILE: tests/cpp/common/test_math.cc type xgboost::common (line 9) | namespace xgboost::common { function TEST (line 10) | TEST(Math, Softmax) { FILE: tests/cpp/common/test_monitor.cc type xgboost (line 6) | namespace xgboost { type common (line 7) | namespace common { function TEST (line 8) | TEST(Monitor, Logging) { FILE: tests/cpp/common/test_numa_topo.cc type xgboost::common (line 13) | namespace xgboost::common { function TEST (line 18) | TEST(Numa, CpuListParser) { function TEST (line 116) | TEST(Numa, GetCpus) { function TEST (line 126) | TEST(Numa, GetMaxNumNodes) { function TEST (line 135) | TEST(Numa, GetMemBind) { function TEST (line 144) | TEST(Numa, GetNumNodes) { function TEST (line 153) | TEST(Numa, GetHasCpuNodes) { function TEST (line 163) | TEST(Numa, GetHasNormalMemoryNodes) { FILE: tests/cpp/common/test_numeric.cc type xgboost::common (line 10) | namespace xgboost::common { function TEST (line 11) | TEST(Numeric, PartialSum) { function TEST (line 32) | TEST(Numeric, Reduce) { function TEST (line 42) | TEST(Numeric, Iota) { FILE: tests/cpp/common/test_optional_weight.cc type xgboost (line 9) | namespace xgboost { type common (line 10) | namespace common { function TEST (line 11) | TEST(OptionalWeight, Basic) { FILE: tests/cpp/common/test_param_array.cc type xgboost::common (line 17) | namespace xgboost::common { function TEST (line 18) | TEST(ParamArray, Float) { type TestParamArray (line 57) | struct TestParamArray : public XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 59) | DMLC_DECLARE_PARAMETER(TestParamArray) { function TEST (line 67) | TEST(ParamArray, Update) { FILE: tests/cpp/common/test_parameter.cc type Foo (line 10) | enum class Foo : int { type MyEnumParam (line 16) | struct MyEnumParam : xgboost::XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 19) | DMLC_DECLARE_PARAMETER(MyEnumParam) { function TEST (line 33) | TEST(EnumClassParam, Basic) { type UpdatableParam (line 62) | struct UpdatableParam : xgboost::XGBoostParameter { method DMLC_DECLARE_PARAMETER (line 66) | DMLC_DECLARE_PARAMETER(UpdatableParam) { function TEST (line 76) | TEST(XGBoostParameter, Update) { type xgboost (line 107) | namespace xgboost { function TEST (line 108) | TEST(XGBoostParameter, Json) { FILE: tests/cpp/common/test_partition_builder.cc type xgboost::common (line 14) | namespace xgboost::common { function TEST (line 15) | TEST(PartitionBuilder, BasicTest) { FILE: tests/cpp/common/test_probability_distribution.cc type xgboost (line 11) | namespace xgboost { type common (line 12) | namespace common { function RunDistributionGenericTest (line 15) | void RunDistributionGenericTest() { function TEST (line 40) | TEST(ProbabilityDistribution, DistributionGeneric) { function TEST (line 48) | TEST(ProbabilityDistribution, NormalDist) { function TEST (line 63) | TEST(ProbabilityDistribution, LogisticDist) { function TEST (line 80) | TEST(ProbabilityDistribution, ExtremeDist) { FILE: tests/cpp/common/test_quantile.cc type xgboost::common (line 16) | namespace xgboost::common { function TEST (line 17) | TEST(Quantile, LoadBalance) { function TEST (line 33) | TEST(Quantile, InitWithEmptyColumn) { function TEST (line 40) | TEST(Quantile, SetPruneInplace) { function PushPage (line 81) | void PushPage(HostSketchContainer* container, SparsePage const& page, ... function DoTestDistributedQuantile (line 91) | void DoTestDistributedQuantile(size_t rows, size_t cols) { function TestDistributedQuantile (line 185) | void TestDistributedQuantile(size_t const rows, size_t const cols) { function TEST (line 192) | TEST(Quantile, DistributedBasic) { function TEST (line 197) | TEST(Quantile, Distributed) { function TEST (line 202) | TEST(Quantile, SortedDistributedBasic) { function TEST (line 207) | TEST(Quantile, SortedDistributed) { function DoTestColSplitQuantile (line 214) | void DoTestColSplitQuantile(size_t rows, size_t cols) { function TestColSplitQuantile (line 306) | void TestColSplitQuantile(size_t rows, size_t cols) { function TEST (line 313) | TEST(Quantile, ColumnSplitBasic) { function TEST (line 318) | TEST(Quantile, ColumnSplit) { function TEST (line 323) | TEST(Quantile, ColumnSplitSortedBasic) { function TEST (line 328) | TEST(Quantile, ColumnSplitSorted) { function TestSameOnAllWorkers (line 334) | void TestSameOnAllWorkers() { function TEST (line 398) | TEST(Quantile, SameOnAllWorkers) { FILE: tests/cpp/common/test_quantile.h function namespace (line 12) | namespace xgboost::common { FILE: tests/cpp/common/test_quantile_utils.cc type xgboost (line 9) | namespace xgboost { type common (line 10) | namespace common { function TEST (line 11) | TEST(QuantileLossParam, Basic) { FILE: tests/cpp/common/test_random.cc type xgboost::common (line 9) | namespace xgboost::common { function TestBasic (line 11) | void TestBasic(Context const* ctx) { function TEST (line 56) | TEST(ColumnSampler, Test) { function TEST (line 62) | TEST(ColumnSampler, GPUTest) { function TEST (line 71) | TEST(ColumnSampler, ThreadSynchronisation) { function TestWeightedSampling (line 109) | void TestWeightedSampling(Context const* ctx) { function TEST (line 161) | TEST(ColumnSampler, WeightedSampling) { function TEST (line 167) | TEST(ColumnSampler, GPUWeightedSampling) { function TestWeightedMultiSampling (line 174) | void TestWeightedMultiSampling(Context const* ctx) { function TEST (line 192) | TEST(ColumnSampler, WeightedMultiSampling) { function TEST (line 198) | TEST(ColumnSampler, GPUWeightedMultiSampling) { FILE: tests/cpp/common/test_ranking_utils.cc type xgboost::ltr (line 24) | namespace xgboost::ltr { function TEST (line 25) | TEST(RankingUtils, LambdaRankParam) { function TEST (line 42) | TEST(RankingUtils, ParseMetricName) { function TEST (line 68) | TEST(RankingUtils, MakeMetricName) { function TestRankingCache (line 79) | void TestRankingCache(Context const* ctx) { function TEST (line 108) | TEST(RankingCache, InitFromCPU) { function TestNDCGCache (line 113) | void TestNDCGCache(Context const* ctx) { function TEST (line 176) | TEST(NDCGCache, InitFromCPU) { function TestMAPCache (line 181) | void TestMAPCache(Context const* ctx) { function TEST (line 207) | TEST(MAPCache, InitFromCPU) { FILE: tests/cpp/common/test_ranking_utils.h function namespace (line 7) | namespace xgboost::ltr { FILE: tests/cpp/common/test_ref_resource_view.cc type xgboost::common (line 14) | namespace xgboost::common { function TEST (line 15) | TEST(RefResourceView, Basic) { function TEST (line 44) | TEST(RefResourceView, IO) { function TEST (line 69) | TEST(RefResourceView, IOAligned) { FILE: tests/cpp/common/test_span.cc type xgboost::common (line 13) | namespace xgboost::common { function TEST (line 23) | TEST(Span, TestStatus) { function TEST (line 34) | TEST(Span, DlfConstructors) { function TEST (line 69) | TEST(Span, FromNullPtr) { function TEST (line 92) | TEST(Span, FromPtrLen) { function TEST (line 135) | TEST(SpanDeathTest, FromPtrLen) { function TEST (line 144) | TEST(Span, FromFirstLast) { function TEST (line 191) | TEST(Span, FromOther) { function TEST (line 212) | TEST(Span, FromArray) { function TEST (line 235) | TEST(Span, FromContainer) { function TEST (line 247) | TEST(Span, Assignment) { function TEST (line 253) | TEST(SpanIter, Construct) { function TEST (line 259) | TEST(SpanIter, Ref) { function TEST (line 265) | TEST(SpanIter, Calculate) { function TEST (line 271) | TEST(SpanIter, Compare) { function TEST (line 277) | TEST(Span, BeginEnd) { function TEST (line 283) | TEST(Span, RBeginREnd) { function TEST (line 289) | TEST(Span, ElementAccess) { function TEST (line 301) | TEST(SpanDeathTest, ElementAccess) { function TEST (line 313) | TEST(Span, Obversers) { function TEST (line 319) | TEST(Span, FrontBack) { function TEST (line 334) | TEST(SpanDeathTest, FrontBack) { function TEST (line 347) | TEST(Span, FirstLast) { function TEST (line 413) | TEST(SpanDeathTest, FirstLast) { function TEST (line 461) | TEST(Span, Subspan) { function TEST (line 476) | TEST(SpanDeathTest, Subspan) { function TEST (line 487) | TEST(Span, Compare) { function TEST (line 493) | TEST(Span, AsBytes) { function TEST (line 499) | TEST(Span, AsWritableBytes) { function TEST (line 505) | TEST(Span, Empty) { function TEST (line 529) | TEST(SpanDeathTest, Empty) { function TEST (line 537) | TEST(IterSpan, Basic) { FILE: tests/cpp/common/test_span.h function InitializeRange (line 11) | void InitializeRange(Iter _begin, Iter _end) { function namespace (line 18) | namespace xgboost { type TestBeginEnd (line 66) | struct TestBeginEnd { type TestRBeginREnd (line 88) | struct TestRBeginREnd { type TestObservers (line 116) | struct TestObservers { type TestCompare (line 143) | struct TestCompare { type TestIterConstruct (line 173) | struct TestIterConstruct { type TestIterRef (line 192) | struct TestIterRef { type TestIterCalculate (line 210) | struct TestIterCalculate { type TestIterCompare (line 243) | struct TestIterCompare { type TestAsBytes (line 273) | struct TestAsBytes { function Span (line 286) | const Span s {arr}; type TestAsWritableBytes (line 308) | struct TestAsWritableBytes { FILE: tests/cpp/common/test_stats.cc type xgboost::common (line 17) | namespace xgboost::common { function TEST (line 18) | TEST(Stats, Quantile) { function TEST (line 45) | TEST(Stats, WeightedQuantile) { function TEST (line 67) | TEST(Stats, Median) { function TestMean (line 107) | void TestMean(Context const* ctx) { function TEST (line 124) | TEST(Stats, Mean) { function TEST (line 130) | TEST(Stats, GpuMean) { function TestSampleMean (line 137) | void TestSampleMean(Context const* ctx) { function TestSampleMeanDistributed (line 150) | void TestSampleMeanDistributed(Context const* ctx) { function TestWeightedSampleMean (line 176) | void TestWeightedSampleMean(Context const* ctx) { function TestWeightedSampleMeanDistributed (line 203) | void TestWeightedSampleMeanDistributed(Context const* ctx) { function TEST (line 232) | TEST(Stats, SampleMean) { function TEST (line 237) | TEST(Stats, SampleMeanDist) { function TEST (line 243) | TEST(Stats, WeightedSampleMean) { function TEST (line 248) | TEST(Stats, WeightedSampleMeanDist) { function TEST (line 254) | TEST(Stats, GpuSampleMean) { function TEST (line 260) | TEST(Stats, MGPUSampleMeanDist) { function TEST (line 266) | TEST(Stats, GpuWeightedSampleMean) { function TEST (line 272) | TEST(Stats, MGPUWeightedSampleMeanDist) { FILE: tests/cpp/common/test_string_view.cc type xgboost (line 11) | namespace xgboost { function TEST (line 12) | TEST(StringView, Basic) { FILE: tests/cpp/common/test_survival_util.cc type xgboost (line 8) | namespace xgboost { type common (line 9) | namespace common { function RobustTestSuite (line 12) | inline static void RobustTestSuite(double y_lower, double y_upper, d... function TEST (line 35) | TEST(AFTLoss, RobustGradientPair) { // Ensure that INF and NAN don'... FILE: tests/cpp/common/test_threading_utils.cc type xgboost::common (line 12) | namespace xgboost::common { function TEST (line 13) | TEST(ParallelFor2d, CreateBlockedSpace2d) { function TEST (line 32) | TEST(ParallelFor2d, Test) { function TEST (line 56) | TEST(ParallelFor2d, NonUniform) { function TEST (line 90) | TEST(ParallelFor, Basic) { function TEST (line 105) | TEST(OmpGetNumThreads, Max) { FILE: tests/cpp/common/test_threadpool.cc type xgboost::common (line 14) | namespace xgboost::common { function TEST (line 15) | TEST(ThreadPool, Basic) { FILE: tests/cpp/common/test_transform_iterator.cc type xgboost (line 10) | namespace xgboost { type common (line 11) | namespace common { function TEST (line 12) | TEST(IndexTransformIter, Basic) { FILE: tests/cpp/common/test_transform_range.cc type xgboost::common (line 15) | namespace xgboost::common { function DeviceOrd (line 17) | constexpr DeviceOrd TransformDevice() { type TestTransformRange (line 27) | struct TestTransformRange { function TEST (line 33) | TEST(Transform, DeclareUnifiedTest(Basic)) { function TEST (line 56) | TEST(TransformDeathTest, Exception) { FILE: tests/cpp/common/test_version.cc type xgboost (line 15) | namespace xgboost { function TEST (line 16) | TEST(Version, Basic) { FILE: tests/cpp/data/test_adapter.cc type xgboost (line 16) | namespace xgboost { function TEST (line 17) | TEST(Adapter, CSRArrayAdapter) { function TEST (line 67) | TEST(Adapter, CSCAdapterColsMoreThanRows) { class CSRIterForTest (line 107) | class CSRIterForTest { method XGBoostBatchCSR (line 119) | XGBoostBatchCSR Next() { method Iter (line 137) | size_t Iter() const { return iter_; } function CSRSetDataNextForTest (line 142) | int CSRSetDataNextForTest(DataIterHandle data_handle, function TEST (line 157) | TEST(Adapter, IteratorAdapter) { FILE: tests/cpp/data/test_array_interface.cc type xgboost (line 11) | namespace xgboost { function TEST (line 12) | TEST(ArrayInterface, Initialize) { function TEST (line 33) | TEST(ArrayInterface, Error) { function TEST (line 86) | TEST(ArrayInterface, GetElement) { function TEST (line 102) | TEST(ArrayInterface, TrivialDim) { function TEST (line 121) | TEST(ArrayInterface, ToDType) { FILE: tests/cpp/data/test_cat_container.cc type xgboost (line 11) | namespace xgboost { function TEST (line 18) | TEST(CatContainer, Str) { function TEST (line 23) | TEST(CatContainer, Mixed) { FILE: tests/cpp/data/test_cat_container.h function namespace (line 10) | namespace xgboost { FILE: tests/cpp/data/test_data.cc type xgboost (line 13) | namespace xgboost { function TEST (line 14) | TEST(SparsePage, PushCSC) { function TEST (line 64) | TEST(SparsePage, PushCSCAfterTranspose) { function TEST (line 90) | TEST(SparsePage, SortIndices) { function TEST (line 114) | TEST(DMatrix, Uri) { FILE: tests/cpp/data/test_extmem_quantile_dmatrix.cc type xgboost::data (line 15) | namespace xgboost::data { class ExtMemQuantileDMatrixCpu (line 17) | class ExtMemQuantileDMatrixCpu : public ::testing::TestWithParam { method Run (line 19) | void Run(float sparsity) { function TEST_P (line 53) | TEST_P(ExtMemQuantileDMatrixCpu, Basic) { this->Run(this->GetParam()); } FILE: tests/cpp/data/test_extmem_quantile_dmatrix.h function namespace (line 10) | namespace xgboost::data { FILE: tests/cpp/data/test_file_iterator.cc type xgboost::data (line 15) | namespace xgboost::data { function TEST (line 16) | TEST(FileIterator, Basic) { FILE: tests/cpp/data/test_gradient_index.cc type xgboost::data (line 29) | namespace xgboost::data { function TEST (line 30) | TEST(GradientIndex, ExternalMemoryBaseRowID) { function TEST (line 60) | TEST(GradientIndex, FromCategoricalBasic) { function TEST (line 93) | TEST(GradientIndex, FromCategoricalLarge) { function TEST (line 117) | TEST(GradientIndex, PushBatch) { class GHistIndexMatrixTest (line 162) | class GHistIndexMatrixTest : public testing::TestWithParam { method Run (line 109) | void Run(bool is_dense) { function TEST_P (line 144) | TEST_P(TestGradientIndexExt, Basic) { this->Run(this->GetParam()); } function TEST (line 149) | TEST(SparsePageDMatrix, GHistIndexSkipSparsePage) { function TEST (line 231) | TEST(SparsePageDMatrix, MetaInfo) { function TEST (line 243) | TEST(SparsePageDMatrix, RowAccess) { function TEST (line 255) | TEST(SparsePageDMatrix, ColAccess) { function TEST (line 300) | TEST(SparsePageDMatrix, ThreadSafetyException) { function TEST (line 334) | TEST(SparsePageDMatrix, ColAccessBatches) { function TestSparsePageDMatrixDeterminism (line 345) | auto TestSparsePageDMatrixDeterminism(std::int32_t n_threads) { function TEST (line 370) | TEST(SparsePageDMatrix, Determinism) { FILE: tests/cpp/data/test_sparse_page_raw_format.cc type xgboost::data (line 16) | namespace xgboost::data { function TestSparsePageRawFormat (line 17) | void TestSparsePageRawFormat() { function TEST (line 51) | TEST(SparsePageRawFormat, SparsePage) { function TEST (line 55) | TEST(SparsePageRawFormat, CSCPage) { function TEST (line 59) | TEST(SparsePageRawFormat, SortedCSCPage) { FILE: tests/cpp/encoder/df_mock.h function namespace (line 18) | namespace enc { FILE: tests/cpp/encoder/test_ordinal.cc type enc (line 16) | namespace enc { class OrdRecoderTest (line 20) | class OrdRecoderTest { method Recode (line 22) | void Recode(HostColumnsView orig_enc, HostColumnsView new_enc, Span<... function TEST (line 30) | TEST(CategoricalEncoder, Str) { TestOrdinalEncoderStrs{0, 3, 1}; function sol1 (line 75) | auto sol1 = std::vector{3, 2, 0}; function sol (line 85) | auto sol = std::vector{0, 3, 1}; function sol (line 124) | auto sol = std::vector{0, 3, 1}; function sol (line 180) | auto sol = std::vector{0, 3, 1}; FILE: tests/cpp/filesystem.cc type xgboost::common (line 24) | namespace xgboost::common { FILE: tests/cpp/filesystem.h function namespace (line 9) | namespace xgboost::common { FILE: tests/cpp/gbm/test_gblinear.cc type xgboost::gbm (line 15) | namespace xgboost::gbm { function TEST (line 16) | TEST(GBLinear, JsonIO) { function TEST (line 41) | TEST(GBLinear, Dump) { FILE: tests/cpp/gbm/test_gbtree.cc type xgboost (line 22) | namespace xgboost { function TEST (line 23) | TEST(GBTree, SelectTreeMethod) { function TEST (line 56) | TEST(GBTree, PredictionCache) { function TEST (line 100) | TEST(GBTree, WrongUpdater) { function TEST (line 118) | TEST(GBTree, ChoosePredictor) { function TEST (line 171) | TEST(GBTree, ChooseTreeMethod) { function TEST (line 282) | TEST(GBTree, JsonIO) { function TEST (line 336) | TEST(Dart, JsonIO) { function TEST (line 364) | TEST(GBTree, LoadLegacyDartJson) { function TEST (line 405) | TEST(GBTree, DropoutJsonIO) { class Dart (line 430) | class Dart : public testing::TestWithParam { method Run (line 432) | void Run(std::string device) { function TEST_P (line 492) | TEST_P(Dart, Prediction) { this->Run(GetParam()); } function TestModelSlice (line 500) | std::pair TestModelSlice(std::string booster) { function TEST (line 626) | TEST(GBTree, Slice) { TestModelSlice("gbtree"); } function TEST (line 628) | TEST(Dart, Slice) { function TEST (line 636) | TEST(GBTree, FeatureScore) { function TEST (line 673) | TEST(GBTree, PredictRange) { function TEST (line 717) | TEST(GBTree, InplacePredictionError) { FILE: tests/cpp/helpers.cc function FileExists (line 48) | bool FileExists(const std::string& filename) { function CreateSimpleTestData (line 53) | void CreateSimpleTestData(const std::string& filename) { CreateBigTestDa... function CreateBigTestData (line 55) | void CreateBigTestData(const std::string& filename, size_t n_entries, bo... function CreateTestCSV (line 78) | void CreateTestCSV(std::string const& path, size_t rows, size_t cols) { function CheckObjFunctionImpl (line 101) | void CheckObjFunctionImpl(std::unique_ptr const& obj, function CheckObjFunction (line 123) | void CheckObjFunction(std::unique_ptr const& obj, function CheckConfigReloadImpl (line 139) | xgboost::Json CheckConfigReloadImpl(xgboost::Configurable* const configu... function CheckRankingObjFunction (line 158) | void CheckRankingObjFunction(std::unique_ptr const... function GetMetricEval (line 177) | xgboost::bst_float GetMetricEval(xgboost::Metric* metric, function GetMultiMetricEval (line 190) | double GetMultiMetricEval(xgboost::Metric* metric, type xgboost (line 210) | namespace xgboost { function GetBaseScore (line 211) | [[nodiscard]] std::vector GetBaseScore(Json const& config) { function Json (line 269) | Json RandomDataGenerator::ArrayInterfaceImpl(HostDeviceVector* ... function MakeArrayInterfaceBatch (line 282) | std::pair, std::string> MakeArrayInterfaceBatch( function MakeLabels (line 400) | void MakeLabels(DeviceOrd device, bst_idx_t n_samples, bst_target_t n_... function DecompAllowFallback (line 423) | [[nodiscard]] bool DecompAllowFallback() { function GenerateRandomCategoricalSingleColumn (line 617) | [[nodiscard]] std::vector GenerateRandomCategoricalSingleColumn... function GetDMatrixFromData (line 630) | std::shared_ptr GetDMatrixFromData(const std::vector& ... function GetExternalMemoryDMatrixFromData (line 640) | [[nodiscard]] std::shared_ptr GetExternalMemoryDMatrixFromData( function CreateTrainedGBM (line 660) | std::unique_ptr CreateTrainedGBM(std::string name, Ar... function DMatrixToCSR (line 710) | void DMatrixToCSR(DMatrix* dmat, std::vector* p_data, std::vect... class RMMAllocator (line 741) | class RMMAllocator { method RMMAllocator (line 746) | RMMAllocator() : n_gpu(curt::AllVisibleGPUs()) { function DeleteRMMResource (line 759) | void DeleteRMMResource(RMMAllocator* r) { delete r; } function RMMAllocatorPtr (line 761) | RMMAllocatorPtr SetUpRMMResourceForCppTests(int argc, char** argv) { class RMMAllocator (line 780) | class RMMAllocator {} method RMMAllocator (line 746) | RMMAllocator() : n_gpu(curt::AllVisibleGPUs()) { function DeleteRMMResource (line 782) | void DeleteRMMResource(RMMAllocator*) {} function RMMAllocatorPtr (line 784) | RMMAllocatorPtr SetUpRMMResourceForCppTests(int, char**) { return {nul... function DistGpuIdx (line 787) | std::int32_t DistGpuIdx() { return curt::AllVisibleGPUs() == 1 ? 0 : c... FILE: tests/cpp/helpers.h function namespace (line 49) | namespace xgboost { function Seed (line 154) | void Seed(StateType seed) { state_ = seed % mod_; } function explicit (line 161) | explicit SimpleLCG(StateType state) function bst_target_t (line 242) | bst_target_t n_targets_{1} function bst_target_t (line 243) | bst_target_t n_classes_{0} function bst_bin_t (line 250) | bst_bin_t bins_{0} function hw_decomp_ratio_ (line 257) | float hw_decomp_ratio_{true}; function std (line 365) | inline std::shared_ptr EmptyDMatrix() { function class (line 420) | class ArrayIterForTest { function class (line 455) | class CudaArrayIterForTest : public ArrayIterForTest { FILE: tests/cpp/histogram_helpers.h function namespace (line 16) | namespace detail { FILE: tests/cpp/linear/test_json_io.h function Json (line 16) | Json config_0 {Object() }; FILE: tests/cpp/linear/test_linear.cc type xgboost (line 12) | namespace xgboost { function TEST (line 14) | TEST(Linear, Shotgun) { function TEST (line 42) | TEST(Shotgun, JsonIO) { function TEST (line 46) | TEST(Linear, coordinate) { function TEST (line 67) | TEST(Coordinate, JsonIO){ FILE: tests/cpp/metric/test_distributed_metric.cc type xgboost::metric (line 27) | namespace xgboost::metric { type Param (line 30) | struct Param { class TestDistributedMetric (line 39) | class TestDistributedMetric : public ::testing::TestWithParam { method Run (line 42) | void Run(bool is_dist, bool is_fed, DataSplitMode split_mode, Fn fn,... function TEST_P (line 73) | TEST_P(TestDistributedMetric, BinaryAUCRowSplit) { function UseNCCL (line 78) | constexpr bool UseNCCL() { function UseCUDA (line 86) | constexpr bool UseCUDA() { function UseFederated (line 94) | constexpr bool UseFederated() { function MakeParamsForTest (line 102) | auto MakeParamsForTest() { FILE: tests/cpp/metric/test_elementwise_metric.h function CheckDeterministicMetricElementWise (line 196) | CheckDeterministicMetricElementWise(StringView{"logloss"}, device.ordinal); FILE: tests/cpp/metric/test_metric.cc type xgboost (line 5) | namespace xgboost { function TEST (line 6) | TEST(Metric, UnknownMetric) { function TEST (line 18) | TEST(Metric, ExpectileLoadConfig) { FILE: tests/cpp/metric/test_multiclass_metric.h function TestMultiClassError (line 47) | inline void TestMultiClassError(DataSplitMode data_split_mode, DeviceOrd... function VerifyMultiClassError (line 62) | inline void VerifyMultiClassError(DataSplitMode data_split_mode, DeviceO... FILE: tests/cpp/metric/test_rank_metric.cc type xgboost::metric (line 15) | namespace xgboost::metric { function TEST (line 16) | TEST(Metric, AMS) { FILE: tests/cpp/metric/test_rank_metric.h function VerifyNDCG (line 46) | inline void VerifyNDCG(DataSplitMode data_split_mode, DeviceOrd device) { function VerifyMAP (line 104) | inline void VerifyMAP(DataSplitMode data_split_mode, DeviceOrd device) { function p_fmat (line 155) | auto p_fmat = xgboost::RandomDataGenerator{0, 0, 0}.GenerateDMatrix(); FILE: tests/cpp/metric/test_survival_metric.cc type xgboost::common (line 19) | namespace xgboost::common { function CheckLossOverGridPoints (line 35) | static inline void CheckLossOverGridPoints( function TEST (line 52) | TEST(AFTLoss, Uncensored) { function TEST (line 68) | TEST(AFTLoss, LeftCensored) { function TEST (line 84) | TEST(AFTLoss, RightCensored) { function TEST (line 100) | TEST(AFTLoss, IntervalCensored) { FILE: tests/cpp/metric/test_survival_metric.h type TestCase (line 68) | struct TestCase { FILE: tests/cpp/objective/test_aft_obj.cc type xgboost::common (line 15) | namespace xgboost::common { function TestAFTObjConfiguration (line 16) | void TestAFTObjConfiguration(const Context* ctx) { function CheckGPairOverGridPoints (line 38) | static inline void CheckGPairOverGridPoints( function TestAFTObjGPairUncensoredLabels (line 76) | void TestAFTObjGPairUncensoredLabels(const Context* ctx) { function TestAFTObjGPairLeftCensoredLabels (line 99) | void TestAFTObjGPairLeftCensoredLabels(const Context* ctx) { function TestAFTObjGPairRightCensoredLabels (line 119) | void TestAFTObjGPairRightCensoredLabels(const Context* ctx) { function TestAFTObjGPairIntervalCensoredLabels (line 142) | void TestAFTObjGPairIntervalCensoredLabels(const Context* ctx) { FILE: tests/cpp/objective/test_aft_obj.h function namespace (line 9) | namespace xgboost::common { FILE: tests/cpp/objective/test_aft_obj_cpu.cc type xgboost::common (line 15) | namespace xgboost::common { function TEST (line 16) | TEST(Objective, DeclareUnifiedTest(AFTObjConfiguration)) { function TEST (line 21) | TEST(Objective, DeclareUnifiedTest(AFTObjGPairUncensoredLabels)) { function TEST (line 26) | TEST(Objective, DeclareUnifiedTest(AFTObjGPairLeftCensoredLabels)) { function TEST (line 31) | TEST(Objective, DeclareUnifiedTest(AFTObjGPairRightCensoredLabels)) { function TEST (line 36) | TEST(Objective, DeclareUnifiedTest(AFTObjGPairIntervalCensoredLabels)) { FILE: tests/cpp/objective/test_hinge.cc type xgboost (line 11) | namespace xgboost { function TestHingeObj (line 13) | void TestHingeObj(const Context* ctx) { FILE: tests/cpp/objective/test_hinge.h function namespace (line 9) | namespace xgboost { FILE: tests/cpp/objective/test_hinge_cpu.cc type xgboost (line 12) | namespace xgboost { function TEST (line 14) | TEST(Objective, DeclareUnifiedTest(HingeObj)) { FILE: tests/cpp/objective/test_lambdarank_obj.cc type xgboost::obj (line 27) | namespace xgboost::obj { function TEST (line 28) | TEST(LambdaRank, NDCGJsonIO) { function TestNDCGGPair (line 33) | void TestNDCGGPair(Context const* ctx) { function TEST (line 130) | TEST(LambdaRank, NDCGGPair) { function TestUnbiasedNDCG (line 135) | void TestUnbiasedNDCG(Context const* ctx) { function TEST (line 162) | TEST(LambdaRank, UnbiasedNDCG) { function InitMakePairTest (line 167) | void InitMakePairTest(Context const* ctx, MetaInfo* out_info, HostDevi... function TEST (line 185) | TEST(LambdaRank, MakePair) { function TestMAPStat (line 246) | void TestMAPStat(Context const* ctx) { function TEST (line 320) | TEST(LambdaRank, MAPStat) { function TestMAPGPair (line 325) | void TestMAPGPair(Context const* ctx) { function TEST (line 354) | TEST(LambdaRank, MAPGPair) { function TestPairWiseGPair (line 359) | void TestPairWiseGPair(Context const* ctx) { function TEST (line 367) | TEST(LambdaRank, Pairwise) { FILE: tests/cpp/objective/test_lambdarank_obj.h function Json (line 24) | Json j_obj{Object()}; FILE: tests/cpp/objective/test_multiclass_obj.cc type xgboost (line 9) | namespace xgboost { function TestSoftmaxMultiClassObjGPair (line 11) | void TestSoftmaxMultiClassObjGPair(const Context* ctx) { function TestSoftmaxMultiClassBasic (line 37) | void TestSoftmaxMultiClassBasic(const Context* ctx) { function TestSoftprobMultiClassBasic (line 57) | void TestSoftprobMultiClassBasic(const Context* ctx) { FILE: tests/cpp/objective/test_multiclass_obj.h function namespace (line 9) | namespace xgboost { FILE: tests/cpp/objective/test_multiclass_obj_cpu.cc type xgboost (line 10) | namespace xgboost { function TEST (line 11) | TEST(Objective, DeclareUnifiedTest(SoftmaxMultiClassObjGPair)) { function TEST (line 16) | TEST(Objective, DeclareUnifiedTest(SoftmaxMultiClassBasic)) { function TEST (line 21) | TEST(Objective, DeclareUnifiedTest(SoftprobMultiClassBasic)) { FILE: tests/cpp/objective/test_objective.cc function TEST (line 11) | TEST(Objective, UnknownFunction) { type xgboost (line 24) | namespace xgboost { function TEST (line 25) | TEST(Objective, PredTransform) { class TestDefaultObjConfig (line 51) | class TestDefaultObjConfig : public ::testing::TestWithParam const& obj, float... function TestLinearRegressionGPair (line 37) | void TestLinearRegressionGPair(const Context* ctx) { function TestSquaredLog (line 61) | void TestSquaredLog(const Context* ctx) { function TestLogisticRegressionGPair (line 85) | void TestLogisticRegressionGPair(const Context* ctx) { function TestLogisticRegressionBasic (line 102) | void TestLogisticRegressionBasic(const Context* ctx) { function TestsLogisticRawGPair (line 130) | void TestsLogisticRawGPair(const Context* ctx) { function TestPoissonRegressionGPair (line 145) | void TestPoissonRegressionGPair(const Context* ctx) { function TestPoissonRegressionBasic (line 167) | void TestPoissonRegressionBasic(const Context* ctx) { function TestGammaRegressionGPair (line 193) | void TestGammaRegressionGPair(const Context* ctx) { function TestGammaRegressionBasic (line 214) | void TestGammaRegressionBasic(const Context* ctx) { function TestTweedieRegressionGPair (line 242) | void TestTweedieRegressionGPair(const Context* ctx) { function TestTweedieRegressionBasic (line 265) | void TestTweedieRegressionBasic(const Context* ctx) { function TestCoxRegressionGPair (line 291) | void TestCoxRegressionGPair(const Context* ctx) { function TestAbsoluteError (line 306) | void TestAbsoluteError(const Context* ctx) { function TestAbsoluteErrorLeaf (line 345) | void TestAbsoluteErrorLeaf(const Context* ctx) { function TestVectorLeafObj (line 401) | void TestVectorLeafObj(Context const* ctx, std::string name, Args cons... function TestExpectileRegressionGPair (line 433) | void TestExpectileRegressionGPair(const Context* ctx) { function TestExpectileRegressionMultiAlpha (line 451) | void TestExpectileRegressionMultiAlpha(const Context* ctx) { function TestExpectileRegressionInitEstimation (line 465) | void TestExpectileRegressionInitEstimation(const Context* ctx) { function TestPseudoHuber (line 504) | void TestPseudoHuber(const Context* ctx) { FILE: tests/cpp/objective/test_regression_obj.h function namespace (line 11) | namespace xgboost { FILE: tests/cpp/objective/test_regression_obj_cpu.cc type xgboost (line 12) | namespace xgboost { function TEST (line 13) | TEST(Objective, DeclareUnifiedTest(LinearRegressionGPair)) { function TEST (line 18) | TEST(Objective, DeclareUnifiedTest(SquaredLog)) { function TEST (line 23) | TEST(Objective, DeclareUnifiedTest(PseudoHuber)) { function TEST (line 28) | TEST(Objective, DeclareUnifiedTest(ExpectileRegressionGPair)) { function TEST (line 33) | TEST(Objective, DeclareUnifiedTest(ExpectileRegressionMultiAlpha)) { function TEST (line 38) | TEST(Objective, DeclareUnifiedTest(ExpectileRegressionInitEstimation)) { function TEST (line 43) | TEST(Objective, DeclareUnifiedTest(LogisticRegressionGPair)) { function TEST (line 48) | TEST(Objective, DeclareUnifiedTest(LogisticRegressionBasic)) { function TEST (line 53) | TEST(Objective, DeclareUnifiedTest(LogisticRawGPair)) { function TEST (line 58) | TEST(Objective, DeclareUnifiedTest(PoissonRegressionGPair)) { function TEST (line 63) | TEST(Objective, DeclareUnifiedTest(PoissonRegressionBasic)) { function TEST (line 68) | TEST(Objective, DeclareUnifiedTest(GammaRegressionGPair)) { function TEST (line 73) | TEST(Objective, DeclareUnifiedTest(GammaRegressionBasic)) { function TEST (line 78) | TEST(Objective, DeclareUnifiedTest(TweedieRegressionGPair)) { function TEST (line 84) | TEST(Objective, CPU_vs_CUDA) { function TEST (line 133) | TEST(Objective, DeclareUnifiedTest(TweedieRegressionBasic)) { function TEST (line 140) | TEST(Objective, CoxRegressionGPair) { function TEST (line 146) | TEST(Objective, DeclareUnifiedTest(AbsoluteError)) { function TEST (line 151) | TEST(Objective, DeclareUnifiedTest(AbsoluteErrorLeaf)) { function TEST (line 156) | TEST(Objective, DeclareUnifiedTest(AbsoluteErrorVectorLeaf)) { function TEST (line 164) | TEST(Adaptive, DeclareUnifiedTest(MissingLeaf)) { FILE: tests/cpp/objective_helpers.cc type xgboost (line 9) | namespace xgboost { function MakeLabelForObjTest (line 11) | void MakeLabelForObjTest(std::shared_ptr p_fmat, std::string ... function MakeFmatForObjTest (line 31) | [[nodiscard]] std::shared_ptr MakeFmatForObjTest(std::string ... FILE: tests/cpp/objective_helpers.h function namespace (line 15) | namespace xgboost { FILE: tests/cpp/plugin/federated/test_federated_coll.cc type xgboost::collective (line 15) | namespace xgboost::collective { class FederatedCollTest (line 17) | class FederatedCollTest : public SocketTest {} function TEST_F (line 20) | TEST_F(FederatedCollTest, Allreduce) { function TEST_F (line 38) | TEST_F(FederatedCollTest, Broadcast) { function TEST_F (line 56) | TEST_F(FederatedCollTest, Allgather) { function TEST_F (line 71) | TEST_F(FederatedCollTest, AllgatherV) { FILE: tests/cpp/plugin/federated/test_federated_comm.cc type xgboost::collective (line 16) | namespace xgboost::collective { class FederatedCommTest (line 18) | class FederatedCommTest : public SocketTest {} function MakeConfig (line 19) | auto MakeConfig(std::string host, std::int32_t port, std::int32_t worl... function TEST_F (line 28) | TEST_F(FederatedCommTest, ThrowOnWorldSizeTooSmall) { function TEST_F (line 36) | TEST_F(FederatedCommTest, ThrowOnRankTooSmall) { function TEST_F (line 44) | TEST_F(FederatedCommTest, ThrowOnRankTooBig) { function TEST_F (line 52) | TEST_F(FederatedCommTest, ThrowOnWorldSizeNotInteger) { function TEST_F (line 63) | TEST_F(FederatedCommTest, ThrowOnRankNotInteger) { function TEST_F (line 74) | TEST_F(FederatedCommTest, GetWorldSizeAndRank) { function TEST_F (line 84) | TEST_F(FederatedCommTest, IsDistributed) { function TEST_F (line 90) | TEST_F(FederatedCommTest, InsecureTracker) { FILE: tests/cpp/plugin/federated/test_federated_comm_group.cc type xgboost::collective (line 11) | namespace xgboost::collective { function TEST (line 12) | TEST(CommGroup, Federated) { FILE: tests/cpp/plugin/federated/test_federated_data.cc type xgboost (line 12) | namespace xgboost { function VerifyLoadUri (line 14) | void VerifyLoadUri() { function TEST (line 45) | TEST(FederatedDataTest, LoadUri) { FILE: tests/cpp/plugin/federated/test_federated_learner.cc type xgboost (line 17) | namespace xgboost { function MakeModel (line 20) | auto MakeModel(std::string tree_method, std::string device, std::strin... function VerifyObjective (line 44) | void VerifyObjective(std::size_t rows, std::size_t cols, class VerticalFederatedLearnerTest (line 60) | class VerticalFederatedLearnerTest : public ::testing::TestWithParam { method TestHistUpdater (line 21) | TestHistUpdater(const Context* ctx, method TestInitSampling (line 28) | void TestInitSampling(const HostDeviceVector& gpair, method TestInitNewNode (line 49) | auto TestInitNewNode(int nid, method TestEvaluateSplits (line 57) | auto TestEvaluateSplits(const std::vector& nodes_set, method TestApplySplit (line 64) | void TestApplySplit(const std::vector nodes, method TestExpandWithLossGuide (line 70) | auto TestExpandWithLossGuide(const common::GHistIndexMatrix& gmat, method TestExpandWithDepthWise (line 77) | auto TestExpandWithDepthWise(const common::GHistIndexMatrix& gmat, function GenerateRandomGPairs (line 85) | void GenerateRandomGPairs(::sycl::queue* qu, GradientPair* gpair_ptr, ... function TestHistUpdaterSampling (line 102) | void TestHistUpdaterSampling(const xgboost::tree::TrainParam& param) { function TestHistUpdaterInitData (line 154) | void TestHistUpdaterInitData(const xgboost::tree::TrainParam& param, b... function TestHistUpdaterBuildHistogramsLossGuide (line 203) | void TestHistUpdaterBuildHistogramsLossGuide(const xgboost::tree::Trai... function TestHistUpdaterInitNewNode (line 262) | void TestHistUpdaterInitNewNode(const xgboost::tree::TrainParam& param... function TestHistUpdaterEvaluateSplits (line 318) | void TestHistUpdaterEvaluateSplits(const xgboost::tree::TrainParam& pa... function TestHistUpdaterApplySplit (line 392) | void TestHistUpdaterApplySplit(const xgboost::tree::TrainParam& param,... function TestHistUpdaterExpandWithLossGuide (line 476) | void TestHistUpdaterExpandWithLossGuide(const xgboost::tree::TrainPara... function TestHistUpdaterExpandWithDepthWise (line 520) | void TestHistUpdaterExpandWithDepthWise(const xgboost::tree::TrainPara... function TEST (line 562) | TEST(SyclHistUpdater, Sampling) { function TEST (line 570) | TEST(SyclHistUpdater, InitData) { function TEST (line 581) | TEST(SyclHistUpdater, BuildHistogramsLossGuide) { function TEST (line 591) | TEST(SyclHistUpdater, InitNewNode) { function TEST (line 601) | TEST(SyclHistUpdater, EvaluateSplits) { function TEST (line 609) | TEST(SyclHistUpdater, ApplySplitSparce) { function TEST (line 617) | TEST(SyclHistUpdater, ApplySplitDence) { function TEST (line 629) | TEST(SyclHistUpdater, ExpandWithLossGuide) { function TEST (line 638) | TEST(SyclHistUpdater, ExpandWithDepthWise) { FILE: tests/cpp/plugin/test_sycl_host_device_vector.cc type xgboost::common (line 14) | namespace xgboost::common { function InitHostDeviceVector (line 17) | void InitHostDeviceVector(size_t n, DeviceOrd device, HostDeviceVector... function PlusOne (line 42) | void PlusOne(HostDeviceVector *v) { function CheckDevice (line 48) | void CheckDevice(HostDeviceVector* v, function CheckHost (line 70) | void CheckHost(HostDeviceVector *v, GPUAccess access) { function TestHostDeviceVector (line 83) | void TestHostDeviceVector(size_t n, DeviceOrd device) { function TEST (line 93) | TEST(SyclHostDeviceVector, Basic) { function TEST (line 99) | TEST(SyclHostDeviceVector, Copy) { function TEST (line 118) | TEST(SyclHostDeviceVector, Fill) { function TEST (line 139) | TEST(SyclHostDeviceVector, Extend) { function TEST (line 167) | TEST(SyclHostDeviceVector, SetDevice) { function TEST (line 187) | TEST(SyclHostDeviceVector, Span) { function TEST (line 207) | TEST(SyclHostDeviceVector, Empty) { function TEST (line 214) | TEST(SyclHostDeviceVector, Resize) { FILE: tests/cpp/plugin/test_sycl_lambdarank_obj.cc type xgboost::obj (line 13) | namespace xgboost::obj { function TEST (line 14) | TEST(SyclObjective, LambdaRankNDCGJsonIO) { function TEST (line 20) | TEST(SyclObjective, LambdaRankTestNDCGGPair) { function TEST (line 26) | TEST(SyclObjective, LambdaRankUnbiasedNDCG) { function TEST (line 32) | TEST(SyclObjective, LambdaRankMAPStat) { function TEST (line 38) | TEST(SyclObjective, LambdaRankMAPGPair) { FILE: tests/cpp/plugin/test_sycl_linalg.cc type xgboost::sycl::linalg (line 12) | namespace xgboost::sycl::linalg { function TEST (line 13) | TEST(SyclLinalg, SmallHistogram) { FILE: tests/cpp/plugin/test_sycl_multiclass_obj.cc type xgboost (line 13) | namespace xgboost { function TEST (line 15) | TEST(SyclObjective, SoftmaxMultiClassObjGPair) { function TEST (line 21) | TEST(SyclObjective, SoftmaxMultiClassBasic) { function TEST (line 27) | TEST(SyclObjective, SoftprobMultiClassBasic) { FILE: tests/cpp/plugin/test_sycl_partition_builder.cc type xgboost::sycl::common (line 14) | namespace xgboost::sycl::common { function TestPartitioning (line 16) | void TestPartitioning(float sparsity, int max_bins) { function TEST (line 115) | TEST(SyclPartitionBuilder, BasicTest) { function TEST (line 190) | TEST(SyclPartitionBuilder, PartitioningSparce) { function TEST (line 194) | TEST(SyclPartitionBuilder, PartitioningDence8Bits) { function TEST (line 198) | TEST(SyclPartitionBuilder, PartitioningDence16Bits) { function TEST (line 202) | TEST(SyclPartitionBuilder, PartitioningDence32Bits) { FILE: tests/cpp/plugin/test_sycl_prediction_cache.cc type xgboost::sycl::tree (line 12) | namespace xgboost::sycl::tree { class SyclPredictionCache (line 14) | class SyclPredictionCache : public xgboost::TestPredictionCache {} function TEST_F (line 16) | TEST_F(SyclPredictionCache, Hist) { FILE: tests/cpp/plugin/test_sycl_predictor.cc type xgboost (line 23) | namespace xgboost { function TEST (line 25) | TEST(SyclPredictor, Basic) { function TEST (line 35) | TEST(SyclPredictor, ExternalMemory) { function TEST (line 46) | TEST(SyclPredictor, InplacePredict) { function TEST (line 66) | TEST(SyclPredictor, IterationRange) { function TEST (line 72) | TEST(SyclPredictor, GHistIndexTraining) { function TEST (line 85) | TEST(SyclPredictor, CategoricalPredictLeaf) { function TEST (line 91) | TEST(SyclPredictor, LesserFeatures) { function TEST (line 97) | TEST(SyclPredictor, Sparse) { FILE: tests/cpp/plugin/test_sycl_quantile_hist_builder.cc type xgboost::sycl::tree (line 14) | namespace xgboost::sycl::tree { function TEST (line 15) | TEST(SyclQuantileHistMaker, Basic) { function TEST (line 25) | TEST(SyclQuantileHistMaker, JsonIO) { FILE: tests/cpp/plugin/test_sycl_quantile_obj.cc type xgboost (line 15) | namespace xgboost { function TEST (line 16) | TEST(SyclObjective, DeclareUnifiedTest(Quantile)) { function TEST (line 22) | TEST(SyclObjective, DeclareUnifiedTest(QuantileIntercept)) { FILE: tests/cpp/plugin/test_sycl_regression_obj.cc type xgboost (line 15) | namespace xgboost { function TEST (line 17) | TEST(SyclObjective, LinearRegressionGPair) { function TEST (line 23) | TEST(SyclObjective, SquaredLog) { function TEST (line 29) | TEST(SyclObjective, LogisticRegressionGPair) { function TEST (line 35) | TEST(SyclObjective, LogisticRegressionBasic) { function TEST (line 42) | TEST(SyclObjective, LogisticRawGPair) { function TEST (line 48) | TEST(SyclObjective, PoissonRegressionGPair) { function TEST (line 54) | TEST(SyclObjective, PoissonRegressionBasic) { function TEST (line 60) | TEST(SyclObjective, GammaRegressionGPair) { function TEST (line 66) | TEST(SyclObjective, GammaRegressionBasic) { function TEST (line 72) | TEST(SyclObjective, TweedieRegressionGPair) { function TEST (line 78) | TEST(SyclObjective, TweedieRegressionBasic) { function TEST (line 84) | TEST(SyclObjective, CoxRegressionGPair) { function TEST (line 90) | TEST(SyclObjective, AbsoluteError) { function TEST (line 96) | TEST(SyclObjective, AbsoluteErrorLeaf) { function TEST (line 102) | TEST(SyclObjective, DeclareUnifiedTest(PseudoHuber)) { function TEST (line 108) | TEST(SyclObjective, CPUvsSycl) { FILE: tests/cpp/plugin/test_sycl_row_set_collection.cc type xgboost::sycl::common (line 14) | namespace xgboost::sycl::common { function TEST (line 15) | TEST(SyclRowSetCollection, AddSplits) { FILE: tests/cpp/plugin/test_sycl_split_evaluator.cc type xgboost::sycl::tree (line 16) | namespace xgboost::sycl::tree { function BasicTestSplitEvaluator (line 19) | void BasicTestSplitEvaluator(const std::string& monotone_constraints, ... function TestSplitEvaluator (line 47) | void TestSplitEvaluator(const std::string& monotone_constraints) { function TEST (line 115) | TEST(SyclSplitEvaluator, BasicTest) { function TEST (line 127) | TEST(SyclSplitEvaluator, TestMath) { FILE: tests/cpp/plugin/test_sycl_transform_range.cc type xgboost::common (line 18) | namespace xgboost::common { type TestTransformRange (line 21) | struct TestTransformRange { function TEST (line 27) | TEST(SyclTransform, DeclareUnifiedTest(Basic)) { FILE: tests/cpp/predictor/test_cpu_predictor.cc type xgboost (line 19) | namespace xgboost { function TEST (line 20) | TEST(CpuPredictor, Basic) { function TEST (line 28) | TEST(CpuPredictor, BatchPredictionWithWeights) { function TEST (line 33) | TEST(CpuPredictor, InplacePredictionWithWeights) { function CheckArrayLayout (line 39) | void CheckArrayLayout(const RegTree& tree, ArrayLayoutT buffer, int ma... function TEST (line 78) | TEST(CpuPredictor, ArrayTreeLayout) { function TestColumnSplit (line 121) | void TestColumnSplit() { function TEST (line 135) | TEST(CpuPredictor, BasicColumnSplit) { function TEST (line 140) | TEST(CpuPredictor, IterationRange) { function TEST (line 145) | TEST(CpuPredictor, IterationRangeColmnSplit) { function TEST (line 150) | TEST(CpuPredictor, ExternalMemory) { function TEST (line 159) | TEST(CpuPredictor, InplacePredict) { function TestUpdatePredictionCache (line 195) | void TestUpdatePredictionCache(bool use_subsampling) { function TEST (line 235) | TEST(CPUPredictor, GHistIndexTraining) { function TEST (line 247) | TEST(CPUPredictor, CategoricalPrediction) { TestCategoricalPrediction(... function TEST (line 249) | TEST(CPUPredictor, CategoricalPredictionColumnSplit) { function TEST (line 254) | TEST(CPUPredictor, CategoricalPredictLeaf) { function TEST (line 259) | TEST(CPUPredictor, CategoricalPredictLeafColumnSplit) { function TEST (line 265) | TEST(CpuPredictor, UpdatePredictionCache) { function TEST (line 270) | TEST(CpuPredictor, LesserFeatures) { function TEST (line 275) | TEST(CpuPredictor, LesserFeaturesColumnSplit) { function TEST (line 281) | TEST(CpuPredictor, Sparse) { function TEST (line 287) | TEST(CpuPredictor, SparseColumnSplit) { function TEST (line 293) | TEST(CpuPredictor, Multi) { function TEST (line 298) | TEST(CpuPredictor, Access) { TestPredictionDeviceAccess(); } FILE: tests/cpp/predictor/test_predictor.cc type xgboost (line 32) | namespace xgboost { function TestBasic (line 33) | void TestBasic(DMatrix *dmat, Context const *ctx) { function TestBatchPredictionWithWeights (line 62) | void TestBatchPredictionWithWeights(Context const *ctx) { function TestInplacePredictionWithWeights (line 104) | void TestInplacePredictionWithWeights(Context const *ctx) { function TEST (line 158) | TEST(Predictor, PredictionCache) { function TestTrainingPrediction (line 176) | void TestTrainingPrediction(Context const *ctx, size_t rows, size_t bins, function TestInplacePrediction (line 222) | void TestInplacePrediction(Context const *ctx, std::shared_ptr LearnerForTest(Context const *ctx, std::share... function VerifyPredictionWithLesserFeatures (line 294) | void VerifyPredictionWithLesserFeatures(Learner *learner, bst_idx_t kR... function TestPredictionWithLesserFeatures (line 309) | void TestPredictionWithLesserFeatures(Context const *ctx) { function TestPredictionDeviceAccess (line 318) | void TestPredictionDeviceAccess() { function TestPredictionWithLesserFeaturesColumnSplit (line 354) | void TestPredictionWithLesserFeaturesColumnSplit(bool use_gpu) { function GBTreeModelForTest (line 374) | void GBTreeModelForTest(gbm::GBTreeModel *model, uint32_t split_ind, b... function TestCategoricalPrediction (line 391) | void TestCategoricalPrediction(bool use_gpu, bool is_column_split) { function TestCategoricalPredictLeaf (line 438) | void TestCategoricalPredictLeaf(Context const *ctx, bool is_column_spl... function TestIterationRange (line 477) | void TestIterationRange(Context const *ctx) { function VerifyIterationRangeColumnSplit (line 515) | void VerifyIterationRangeColumnSplit(bool use_gpu, Json const &ranged_... function TestIterationRangeColumnSplit (line 579) | void TestIterationRangeColumnSplit(int world_size, bool use_gpu) { function TestSparsePrediction (line 632) | void TestSparsePrediction(Context const *ctx, float sparsity) { function VerifySparsePredictionColumnSplit (line 690) | void VerifySparsePredictionColumnSplit(bool use_gpu, Json const &model... function TestSparsePredictionColumnSplit (line 714) | void TestSparsePredictionColumnSplit(int world_size, bool use_gpu, flo... function TestVectorLeafPrediction (line 753) | void TestVectorLeafPrediction(Context const *ctx) { FILE: tests/cpp/predictor/test_predictor.h function namespace (line 19) | namespace xgboost { function LearnerModelParam (line 53) | LearnerModelParam mparam{MakeMP(cols, .5, kClasses, ctx->Device())}; FILE: tests/cpp/predictor/test_shap.cc type xgboost (line 25) | namespace xgboost { function SetLabels (line 27) | void SetLabels(DMatrix* dmat, bst_target_t n_classes) { function Args (line 42) | Args BaseParams(Context const* ctx, std::string objective, std::string... function LoadGBTreeModel (line 54) | std::unique_ptr LoadGBTreeModel(Learner* learner, Co... function BuildShapTestCases (line 114) | std::vector BuildShapTestCases(Context const* ctx) { function CheckShapOutput (line 187) | void CheckShapOutput(DMatrix* dmat, Args const& model_args) { function CheckDartShapOutput (line 218) | void CheckDartShapOutput(Context const* ctx) { function CheckShapAdditivity (line 250) | void CheckShapAdditivity(size_t rows, size_t cols, HostDeviceVectorTestUpdateConfig(); } function TEST_F (line 627) | TEST_F(InitBaseScore, FromAvgParam) { this->TestBoostFromAvgParam(); } function TEST_F (line 629) | TEST_F(InitBaseScore, InitAfterLoad) { this->TestInitAfterLoad(); } function TEST_F (line 631) | TEST_F(InitBaseScore, InitWithPredict) { this->TestInitWithPredt(); } function TEST_F (line 633) | TEST_F(InitBaseScore, UpdateProcess) { this->TestUpdateProcess(); } class TestColumnSplit (line 635) | class TestColumnSplit : public ::testing::TestWithParam { method TestBaseScore (line 636) | void TestBaseScore(std::string objective, std::vector const& ... method Run (line 671) | void Run(std::string objective) { function TEST_P (line 702) | TEST_P(TestColumnSplit, Objective) { function Json (line 714) | Json GetModelWithArgs(std::shared_ptr dmat, std::string const... function VerifyColumnSplitWithArgs (line 729) | void VerifyColumnSplitWithArgs(std::string const& tree_method, bool us... function TestColumnSplitWithArgs (line 743) | void TestColumnSplitWithArgs(std::string const& tree_method, bool use_... class ColumnSplitTrainingTest (line 777) | class ColumnSplitTrainingTest method TestColumnSplitColumnSampler (line 780) | static void TestColumnSplitColumnSampler(std::string const& tree_met... method TestColumnSplitInteractionConstraints (line 786) | static void TestColumnSplitInteractionConstraints(std::string const&... method TestColumnSplitMonotoneConstraints (line 791) | static void TestColumnSplitMonotoneConstraints(std::string const& tr... function WithFed (line 798) | auto WithFed() { function TEST_P (line 807) | TEST_P(ColumnSplitTrainingTest, ColumnSampler) { function TEST_P (line 811) | TEST_P(ColumnSplitTrainingTest, InteractionConstraints) { function TEST_P (line 815) | TEST_P(ColumnSplitTrainingTest, MonotoneConstraints) { FILE: tests/cpp/test_logging.cc type xgboost (line 6) | namespace xgboost { function TEST (line 8) | TEST(Logging, Basic) { FILE: tests/cpp/test_main.cc function main (line 12) | int main(int argc, char** argv) { FILE: tests/cpp/test_multi_target.cc type xgboost (line 23) | namespace xgboost { class TestL1MultiTarget (line 24) | class TestL1MultiTarget : public ::testing::Test { method SetUp (line 31) | void SetUp() override { method RunTest (line 70) | void RunTest(Context const* ctx, std::string const& tree_method, boo... method RunTest (line 107) | void RunTest(Context const* ctx, std::string const& tree_method) { function TEST_F (line 113) | TEST_F(TestL1MultiTarget, Hist) { function TEST_F (line 118) | TEST_F(TestL1MultiTarget, Exact) { function TEST_F (line 123) | TEST_F(TestL1MultiTarget, Approx) { function TEST_F (line 129) | TEST_F(TestL1MultiTarget, GpuHist) { function TEST (line 135) | TEST(MultiStrategy, Configure) { FILE: tests/cpp/test_serialization.cc type xgboost (line 21) | namespace xgboost { function CompareFloat (line 23) | void CompareFloat(T lhs, T rhs) { function CompareIntArray (line 37) | void CompareIntArray(Json l, Json r) { function CompareJSON (line 46) | void CompareJSON(Json l, Json r) { function CompareJsonModels (line 148) | void CompareJsonModels(Json l, Json r) { CompareJSON(std::move(l), std... function TestLearnerSerialization (line 150) | void TestLearnerSerialization(Args args, FeatureMap const& fmap, std::... class SerializationTest (line 293) | class SerializationTest : public ::testing::Test { method SetUp (line 302) | void SetUp() override { function TEST_F (line 325) | TEST_F(SerializationTest, Exact) { function TEST_F (line 352) | TEST_F(SerializationTest, Approx) { function TEST_F (line 376) | TEST_F(SerializationTest, Hist) { function TEST_F (line 400) | TEST_F(SerializationTest, CPUCoordDescent) { function TEST_F (line 407) | TEST_F(SerializationTest, GpuHist) { function TEST_F (line 434) | TEST_F(SerializationTest, ConfigurationCount) { function TEST_F (line 480) | TEST_F(SerializationTest, GPUCoordDescent) { class L1SerializationTest (line 490) | class L1SerializationTest : public SerializationTest {} function TEST_F (line 492) | TEST_F(L1SerializationTest, Exact) { function TEST_F (line 501) | TEST_F(L1SerializationTest, Approx) { function TEST_F (line 510) | TEST_F(L1SerializationTest, Hist) { function TEST_F (line 520) | TEST_F(L1SerializationTest, GpuHist) { class LogitSerializationTest (line 531) | class LogitSerializationTest : public SerializationTest { method SetUp (line 533) | void SetUp() override { function TEST_F (line 554) | TEST_F(LogitSerializationTest, Exact) { function TEST_F (line 572) | TEST_F(LogitSerializationTest, Approx) { function TEST_F (line 590) | TEST_F(LogitSerializationTest, Hist) { function TEST_F (line 608) | TEST_F(LogitSerializationTest, CPUCoordDescent) { function TEST_F (line 615) | TEST_F(LogitSerializationTest, GpuHist) { function TEST_F (line 645) | TEST_F(LogitSerializationTest, GPUCoordDescent) { class MultiClassesSerializationTest (line 656) | class MultiClassesSerializationTest : public SerializationTest { method SetUp (line 660) | void SetUp() override { function TEST_F (line 681) | TEST_F(MultiClassesSerializationTest, Exact) { function TEST_F (line 708) | TEST_F(MultiClassesSerializationTest, Approx) { function TEST_F (line 726) | TEST_F(MultiClassesSerializationTest, Hist) { function TEST_F (line 753) | TEST_F(MultiClassesSerializationTest, CPUCoordDescent) { function TEST_F (line 760) | TEST_F(MultiClassesSerializationTest, GpuHist) { function TEST_F (line 797) | TEST_F(MultiClassesSerializationTest, GPUCoordDescent) { FILE: tests/cpp/test_serialization.h function namespace (line 7) | namespace xgboost { FILE: tests/cpp/tree/hist/test_evaluate_splits.cc type xgboost::tree (line 28) | namespace xgboost::tree { function TestEvaluateSplits (line 95) | void TestEvaluateSplits(bool force_read_by_column) { function TEST (line 162) | TEST(HistEvaluator, Evaluate) { function TEST (line 167) | TEST(HistMultiEvaluator, Evaluate) { function TEST (line 233) | TEST(HistEvaluator, Apply) { function TEST_F (line 265) | TEST_F(TestPartitionBasedSplit, CPUHist) { function CompareOneHotAndPartition (line 279) | auto CompareOneHotAndPartition(bool onehot) { function TEST (line 330) | TEST(HistEvaluator, Categorical) { function TEST_F (line 337) | TEST_F(TestCategoricalSplitWithMissing, HistEvaluator) { function TEST (line 365) | TEST(HistMultiEvaluator, CategoricalOneHot) { FILE: tests/cpp/tree/hist/test_expand_entry.cc type xgboost::tree (line 11) | namespace xgboost::tree { function TEST (line 12) | TEST(ExpandEntry, IO) { function TEST (line 34) | TEST(ExpandEntry, IOMulti) { FILE: tests/cpp/tree/hist/test_histogram.cc type xgboost::tree (line 39) | namespace xgboost::tree { function InitRowPartitionForTest (line 41) | void InitRowPartitionForTest(common::RowSetCollection *row_set, size_t... function TestAddHistRows (line 50) | void TestAddHistRows(bool is_distributed) { function TEST (line 85) | TEST(CPUHistogram, AddRows) { function TestSyncHist (line 90) | void TestSyncHist(bool is_distributed) { function TEST (line 225) | TEST(CPUHistogram, SyncHist) { function TestBuildHistogram (line 230) | void TestBuildHistogram(Context const *ctx, bool is_distributed, bool ... function TEST (line 298) | TEST(CPUHistogram, BuildHist) { function TEST (line 306) | TEST(CPUHistogram, BuildHistColumnSplit) { function ValidateCategoricalHistogram (line 318) | void ValidateCategoricalHistogram(size_t n_categories, common::Span TestOverflow(bool limit, bool is_di... method RunTest (line 600) | void RunTest() { function MakeParamsForTest (line 608) | auto MakeParamsForTest() { function TEST_P (line 619) | TEST_P(OverflowTest, Overflow) { this->RunTest(); } FILE: tests/cpp/tree/hist/test_sampler.cc type xgboost::tree::cpu_impl (line 24) | namespace xgboost::tree::cpu_impl { function VerifySampling (line 25) | void VerifySampling(float subsample, int sampling_method, bst_target_t... function TEST (line 53) | TEST(CpuSampler, NoSampling) { function TEST (line 59) | TEST(CpuSampler, UniformSampling) { function TEST (line 70) | TEST(CpuSampler, GradientBasedSampling) { function TEST (line 77) | TEST(CpuSampler, ApplySampling) { FILE: tests/cpp/tree/test_approx.cc type xgboost::tree (line 21) | namespace xgboost::tree { function GenerateHess (line 23) | std::vector GenerateHess(size_t n_samples) { function TEST (line 32) | TEST(Approx, Partitioner) { function TEST (line 88) | TEST(Approx, InteractionConstraint) { function TestColumnSplitPartitioner (line 135) | void TestColumnSplitPartitioner(size_t n_samples, size_t base_rowid, s... function TEST (line 185) | TEST(Approx, PartitionerColumnSplit) { class TestApproxColumnSplit (line 215) | class TestApproxColumnSplit : public ::testing::TestWithParamRun(); } FILE: tests/cpp/tree/test_column_split.cc type xgboost::tree (line 15) | namespace xgboost::tree { function TestColumnSplit (line 16) | void TestColumnSplit(bst_target_t n_targets, bool categorical, std::st... FILE: tests/cpp/tree/test_column_split.h function namespace (line 14) | namespace xgboost::tree { FILE: tests/cpp/tree/test_common_partitioner.cc type xgboost::tree (line 20) | namespace xgboost::tree { function TestLeafPartition (line 22) | void TestLeafPartition(size_t n_samples) { function TestExternalMemory (line 88) | void TestExternalMemory() { function TEST (line 136) | TEST(CommonRowPartitioner, LeafPartition) { function TEST (line 142) | TEST(CommonRowPartitioner, LeafPartitionExternalMemory) { TestExternal... FILE: tests/cpp/tree/test_constraints.cc type xgboost::tree (line 15) | namespace xgboost::tree { function TEST (line 16) | TEST(CPUFeatureInteractionConstraint, Empty) { function TEST (line 39) | TEST(CPUFeatureInteractionConstraint, Basic) { function TEST (line 63) | TEST(CPUMonoConstraint, Basic) { FILE: tests/cpp/tree/test_evaluate_splits.h function class (line 28) | class TestPartitionBasedSplit : public ::testing::Test { function GradientPairPrecise (line 60) | GradientPairPrecise parent_sum_{1.0, 6.0}; FILE: tests/cpp/tree/test_fit_stump.cc type xgboost::tree (line 12) | namespace xgboost::tree { function TestFitStump (line 14) | void TestFitStump(Context const *ctx, DataSplitMode split = DataSplitM... function TEST (line 39) | TEST(InitEstimation, FitStump) { function TEST (line 45) | TEST(InitEstimation, GPUFitStump) { function TEST (line 52) | TEST(InitEstimation, FitStumpColumnSplit) { FILE: tests/cpp/tree/test_multi_target_tree_model.cc type xgboost (line 17) | namespace xgboost { function MakeMtTreeForTest (line 18) | std::unique_ptr MakeMtTreeForTest(bst_target_t n_targets) { function TEST (line 53) | TEST(MultiTargetTree, JsonIO) { function TestTreeDump (line 96) | void TestTreeDump(std::string format, std::string leaf_key) { function TEST (line 126) | TEST(MultiTargetTree, DotDump) { TestTreeDump("dot", "leaf="); } function TEST (line 128) | TEST(MultiTargetTree, TextDump) { TestTreeDump("text", "leaf="); } function TEST (line 130) | TEST(MultiTargetTree, JsonDump) { TestTreeDump("json", "\"leaf\": "); } function TEST (line 132) | TEST(MultiTargetTree, View) { function TEST (line 141) | TEST(MultiTargetTree, SetLeaves) { function TEST (line 182) | TEST(MultiTargetTree, Statistics) { FILE: tests/cpp/tree/test_multi_target_tree_model.h function namespace (line 9) | namespace xgboost { FILE: tests/cpp/tree/test_node_partition.cc type xgboost (line 13) | namespace xgboost { function TEST (line 14) | TEST(Updater, HasNodePosition) { FILE: tests/cpp/tree/test_param.cc function TEST (line 6) | TEST(Param, VectorIOStream) { function TEST (line 23) | TEST(Param, VectorStreamRead) { function TEST (line 85) | TEST(Param, SplitEntry) { FILE: tests/cpp/tree/test_partitioner.h function GetSplit (line 16) | inline void GetSplit(RegTree *tree, float split_value, std::vector(1); } function TEST (line 110) | TEST(QuantileHist, MultiPartitioner) { TestPartitionerRun(); } function FillGradients (line 263) | void FillGradients(linalg::Matrix* gpair) { function TestPartitionerOverrun (line 274) | void TestPartitionerOverrun(bst_target_t n_targets) { function TEST (line 350) | TEST(QuantileHist, HistUpdaterPartitionerOverrun) { TestPartitionerOve... function TEST (line 352) | TEST(QuantileHist, MultiTargetHistBuilderPartitionerOverrun) { TestPar... FILE: tests/cpp/tree/test_refresh.cc type xgboost::tree (line 17) | namespace xgboost::tree { function TEST (line 18) | TEST(Updater, Refresh) { FILE: tests/cpp/tree/test_regen.cc type xgboost (line 11) | namespace xgboost { class DMatrixForTest (line 13) | class DMatrixForTest : public data::SimpleDMatrix { method GetGradientIndex (line 18) | BatchSet GetGradientIndex(Context const* ctx, method GetEllpackBatches (line 26) | BatchSet GetEllpackBatches(Context const* ctx, const Ba... method NumRegen (line 33) | auto NumRegen() const { return n_regen_; } method Reset (line 35) | void Reset() { class RegenTest (line 45) | class RegenTest : public ::testing::Test { method SetUp (line 49) | void SetUp() override { method Iter (line 62) | auto constexpr Iter() const { return 4; } method TestTreeMethod (line 65) | size_t TestTreeMethod(Context const* ctx, std::string tree_method, s... function TEST_F (line 91) | TEST_F(RegenTest, Approx) { function TEST_F (line 99) | TEST_F(RegenTest, Hist) { function TEST_F (line 107) | TEST_F(RegenTest, Mixed) { function TEST_F (line 121) | TEST_F(RegenTest, GpuApprox) { function TEST_F (line 132) | TEST_F(RegenTest, GpuHist) { function TEST_F (line 146) | TEST_F(RegenTest, GpuMixed) { FILE: tests/cpp/tree/test_sampler.h function namespace (line 15) | namespace xgboost::tree { FILE: tests/cpp/tree/test_tree_model.cc type xgboost (line 14) | namespace xgboost { function TEST (line 15) | TEST(Tree, ModelShape) { function TEST (line 46) | TEST(Tree, AllocateNode) { function TEST (line 63) | TEST(Tree, ExpandCategoricalFeature) { function GrowTree (line 108) | void GrowTree(RegTree* p_tree) { function CheckReload (line 146) | void CheckReload(RegTree const &tree) { function TEST (line 158) | TEST(Tree, CategoricalIO) { function RegTree (line 179) | RegTree ConstructTree() { function RegTree (line 198) | RegTree ConstructTreeCat(std::vector* cond) { function TestCategoricalTreeDump (line 223) | void TestCategoricalTreeDump(std::string format, std::string sep) { function TEST (line 259) | TEST(Tree, DumpJson) { function TEST (line 294) | TEST(Tree, DumpJsonCategorical) { function TEST (line 298) | TEST(Tree, DumpText) { function TEST (line 333) | TEST(Tree, DumpTextCategorical) { function TEST (line 337) | TEST(Tree, DumpDot) { function TEST (line 375) | TEST(Tree, DumpDotCategorical) { function TEST (line 379) | TEST(Tree, JsonIO) { FILE: tests/cpp/tree/test_tree_policy.cc type xgboost (line 15) | namespace xgboost { class TestGrowPolicy (line 16) | class TestGrowPolicy : public ::testing::Test { method TrainOneIter (line 22) | std::unique_ptr TrainOneIter(Context const* ctx, bst_target... method TestCombination (line 97) | void TestCombination(Context const* ctx, bst_target_t n_targets, std... method TestTreeGrowPolicy (line 108) | void TestTreeGrowPolicy(Context const* ctx, bst_target_t n_targets, ... function TEST_F (line 144) | TEST_F(TestGrowPolicy, Approx) { function TEST_F (line 153) | TEST_F(TestGrowPolicy, Hist) { function TEST_F (line 162) | TEST_F(TestGrowPolicy, MultiHist) { function TEST_F (line 172) | TEST_F(TestGrowPolicy, GpuHist) { function TEST_F (line 181) | TEST_F(TestGrowPolicy, GpuMultiHist) { function TEST_F (line 190) | TEST_F(TestGrowPolicy, GpuApprox) { FILE: tests/cpp/tree/test_tree_stat.cc type xgboost (line 18) | namespace xgboost { class UpdaterTreeStatTest (line 22) | class UpdaterTreeStatTest : public ::testing::Test { method SetUp (line 30) | void SetUp() override { method RunTest (line 36) | void RunTest(Context const* ctx, std::string updater) { function TEST_F (line 59) | TEST_F(UpdaterTreeStatTest, GpuHist) { function TEST_F (line 64) | TEST_F(UpdaterTreeStatTest, GpuApprox) { function TEST_F (line 70) | TEST_F(UpdaterTreeStatTest, Hist) { function TEST_F (line 75) | TEST_F(UpdaterTreeStatTest, Exact) { function TEST_F (line 80) | TEST_F(UpdaterTreeStatTest, Approx) { function BuildTree (line 86) | void BuildTree(Context const* ctx, DMatrix* p_fmat, GradientContainer*... class TestSplitWithEta (line 101) | class TestSplitWithEta : public ::testing::Test { method Run (line 103) | void Run(Context const* ctx, bst_target_t n_targets, std::string nam... function TEST_F (line 164) | TEST_F(TestSplitWithEta, MultiHist) { function TEST_F (line 170) | TEST_F(TestSplitWithEta, Hist) { function TEST_F (line 176) | TEST_F(TestSplitWithEta, Approx) { function TEST_F (line 182) | TEST_F(TestSplitWithEta, Exact) { function TEST_F (line 189) | TEST_F(TestSplitWithEta, GpuHist) { function TEST_F (line 195) | TEST_F(TestSplitWithEta, GpuMultiHist) { function TEST_F (line 201) | TEST_F(TestSplitWithEta, GpuApprox) { class TestMinSplitLoss (line 208) | class TestMinSplitLoss : public ::testing::Test { method SynthesizeData (line 212) | void SynthesizeData(bst_target_t n_targets) { method bst_node_t (line 222) | bst_node_t Update(Context const* ctx, std::string updater, float gam... method RunTest (line 247) | void RunTest(Context const* ctx, std::string updater, bst_target_t n... function TEST_F (line 267) | TEST_F(TestMinSplitLoss, Approx) { function TEST_F (line 272) | TEST_F(TestMinSplitLoss, Hist) { function TEST_F (line 277) | TEST_F(TestMinSplitLoss, MultiHist) { function TEST_F (line 283) | TEST_F(TestMinSplitLoss, GpuHist) { function TEST_F (line 288) | TEST_F(TestMinSplitLoss, GpuMultiHist) { function TEST_F (line 293) | TEST_F(TestMinSplitLoss, GpuApprox) { class TestRegularization (line 299) | class TestRegularization : public ::testing::Test { method Run (line 301) | void Run(Context const* ctx, std::string const& updater, std::string... class TestLambda (line 327) | class TestLambda : public TestRegularization { method RunTest (line 329) | void RunTest(Context const* ctx, std::string const& updater, bst_tar... function TEST_F (line 334) | TEST_F(TestLambda, Hist) { function TEST_F (line 339) | TEST_F(TestLambda, MultiHist) { function TEST_F (line 344) | TEST_F(TestLambda, Approx) { function TEST_F (line 350) | TEST_F(TestLambda, GpuHist) { function TEST_F (line 355) | TEST_F(TestLambda, GpuMultiHist) { function TEST_F (line 360) | TEST_F(TestLambda, GpuApprox) { class TestAlpha (line 366) | class TestAlpha : public TestRegularization { method RunTest (line 368) | void RunTest(Context const* ctx, std::string const& updater, bst_tar... function TEST_F (line 373) | TEST_F(TestAlpha, Hist) { function TEST_F (line 378) | TEST_F(TestAlpha, MultiHist) { function TEST_F (line 383) | TEST_F(TestAlpha, Approx) { function TEST_F (line 389) | TEST_F(TestAlpha, GpuHist) { function TEST_F (line 394) | TEST_F(TestAlpha, GpuMultiHist) { function TEST_F (line 399) | TEST_F(TestAlpha, GpuApprox) { class TestMaxDeltaStep (line 405) | class TestMaxDeltaStep : public ::testing::Test { method RunTest (line 407) | void RunTest(Context const* ctx, std::string const& updater, bst_tar... function TEST_F (line 423) | TEST_F(TestMaxDeltaStep, Hist) { function TEST_F (line 428) | TEST_F(TestMaxDeltaStep, MultiHist) { function TEST_F (line 433) | TEST_F(TestMaxDeltaStep, Approx) { function TEST_F (line 439) | TEST_F(TestMaxDeltaStep, GpuHist) { function TEST_F (line 444) | TEST_F(TestMaxDeltaStep, GpuMultiHist) { function TEST_F (line 449) | TEST_F(TestMaxDeltaStep, GpuApprox) { FILE: tests/cross-platform/test_cross_platform_model.py function _pickle_path (line 17) | def _pickle_path(model_path: str) -> Path: function get_data (line 21) | def get_data() -> Tuple[np.ndarray, np.ndarray]: function train_model (line 34) | def train_model(model_path: str) -> None: function test_inference (line 56) | def test_inference(model_path: str) -> None: function main (line 76) | def main() -> int: FILE: tests/python-gpu/conftest.py function has_rmm (line 8) | def has_rmm() -> bool: function setup_rmm_pool (line 13) | def setup_rmm_pool(request: Any, pytestconfig: pytest.Config) -> None: function pytest_addoption (line 17) | def pytest_addoption(parser: pytest.Parser) -> None: function pytest_collection_modifyitems (line 23) | def pytest_collection_modifyitems( FILE: tests/python-gpu/load_pickle.py class TestLoadPickle (line 14) | class TestLoadPickle: method test_load_pkl (line 15) | def test_load_pkl(self) -> None: method test_context_is_removed (line 31) | def test_context_is_removed(self) -> None: method test_context_is_preserved (line 39) | def test_context_is_preserved(self) -> None: method test_wrap_gpu_id (line 47) | def test_wrap_gpu_id(self) -> None: method test_training_on_cpu_only_env (line 59) | def test_training_on_cpu_only_env(self) -> None: FILE: tests/python-gpu/test_device_quantile_dmatrix.py class TestQuantileDMatrix (line 21) | class TestQuantileDMatrix: method test_dmatrix_feature_weights (line 25) | def test_dmatrix_feature_weights(self) -> None: method test_categorical_strings (line 40) | def test_categorical_strings(self) -> None: method test_dmatrix_cupy_init (line 44) | def test_dmatrix_cupy_init(self) -> None: method test_initialization (line 54) | def test_initialization(self, on_device: bool, device: str) -> None: method test_interoperability (line 132) | def test_interoperability(self, device: str, max_bin: int) -> None: method test_ref_quantile_cut (line 166) | def test_ref_quantile_cut(self) -> None: method test_metainfo (line 170) | def test_metainfo(self) -> None: method test_ref_dmatrix (line 194) | def test_ref_dmatrix(self) -> None: method test_to_csr (line 206) | def test_to_csr(self, n_samples: int, n_features: int, sparsity: float... method test_ltr (line 238) | def test_ltr(self) -> None: method test_check_inf (line 254) | def test_check_inf(self) -> None: method test_mixed_sparsity (line 260) | def test_mixed_sparsity(self) -> None: FILE: tests/python-gpu/test_from_cudf.py function test_type_check (line 18) | def test_type_check() -> None: function dmatrix_from_cudf (line 24) | def dmatrix_from_cudf( function _test_from_cudf (line 52) | def _test_from_cudf(DMatrixT: Type[xgb.DMatrix]) -> None: function _test_cudf_training (line 88) | def _test_cudf_training(DMatrixT: Type[xgb.DMatrix]) -> None: function _test_cudf_metainfo (line 124) | def _test_cudf_metainfo(DMatrixT: Type[xgb.DMatrix]) -> None: class TestFromColumnar (line 168) | class TestFromColumnar: method test_simple_dmatrix_from_cudf (line 173) | def test_simple_dmatrix_from_cudf(self) -> None: method test_device_dmatrix_from_cudf (line 177) | def test_device_dmatrix_from_cudf(self) -> None: method test_cudf_training_simple_dmatrix (line 181) | def test_cudf_training_simple_dmatrix(self) -> None: method test_cudf_training_device_dmatrix (line 185) | def test_cudf_training_device_dmatrix(self) -> None: method test_cudf_metainfo_simple_dmatrix (line 189) | def test_cudf_metainfo_simple_dmatrix(self) -> None: method test_cudf_metainfo_device_dmatrix (line 193) | def test_cudf_metainfo_device_dmatrix(self) -> None: method test_cudf_categorical (line 197) | def test_cudf_categorical(self) -> None: function test_cudf_training_with_sklearn (line 255) | def test_cudf_training_with_sklearn() -> None: class IterForDMatrixTest (line 285) | class IterForDMatrixTest(xgb.core.DataIter): method __init__ (line 296) | def __init__(self, categorical: bool) -> None: method as_array (line 325) | def as_array(self) -> "cudf.DataFrame": method as_array_labels (line 328) | def as_array_labels(self) -> np.ndarray: method data (line 331) | def data(self) -> "cudf.DataFrame": method labels (line 335) | def labels(self) -> Any: method reset (line 339) | def reset(self) -> None: method next (line 343) | def next(self, input_data: Callable) -> bool: function test_from_cudf_iter (line 355) | def test_from_cudf_iter(enable_categorical: bool) -> None: function test_invalid_meta (line 379) | def test_invalid_meta() -> None: FILE: tests/python-gpu/test_from_cupy.py function test_array_interface (line 15) | def test_array_interface() -> None: function dmatrix_from_cupy (line 23) | def dmatrix_from_cupy( function _test_from_cupy (line 51) | def _test_from_cupy(DMatrixT: Type[xgb.DMatrix]) -> None: function _test_cupy_training (line 71) | def _test_cupy_training(DMatrixT: Type[xgb.DMatrix]) -> None: function _test_cupy_metainfo (line 99) | def _test_cupy_metainfo(DMatrixT: Type[xgb.DMatrix]) -> None: function test_cupy_training_with_sklearn (line 138) | def test_cupy_training_with_sklearn() -> None: class TestFromCupy (line 160) | class TestFromCupy: method test_simple_dmat_from_cupy (line 165) | def test_simple_dmat_from_cupy(self) -> None: method test_quantile_dmat_from_cupy (line 169) | def test_quantile_dmat_from_cupy(self) -> None: method test_cupy_training_quantile_dmat (line 173) | def test_cupy_training_quantile_dmat(self) -> None: method test_cupy_training_simple_dmat (line 177) | def test_cupy_training_simple_dmat(self) -> None: method test_cupy_metainfo_simple_dmat (line 181) | def test_cupy_metainfo_simple_dmat(self) -> None: method test_cupy_metainfo_quantile_dmat (line 185) | def test_cupy_metainfo_quantile_dmat(self) -> None: method test_dlpack_simple_dmat (line 189) | def test_dlpack_simple_dmat(self) -> None: method test_cupy_categorical (line 196) | def test_cupy_categorical(self) -> None: method test_dlpack_quantile_dmat (line 208) | def test_dlpack_quantile_dmat(self) -> None: method test_qid (line 219) | def test_qid(self) -> None: method test_specified_device (line 235) | def test_specified_device(self) -> None: FILE: tests/python-gpu/test_gpu_basic_models.py class TestGPUBasicModels (line 12) | class TestGPUBasicModels: method run_cls (line 13) | def run_cls(self, X: np.ndarray, y: np.ndarray) -> Tuple[int, int]: method test_custom_objective (line 32) | def test_custom_objective(self) -> None: method test_deterministic_gpu_hist (line 36) | def test_deterministic_gpu_hist(self) -> None: method test_invalid_gpu_id (line 48) | def test_invalid_gpu_id(self) -> None: FILE: tests/python-gpu/test_gpu_callbacks.py function test_eta_decay (line 12) | def test_eta_decay(tree_method: str) -> None: function test_eta_decay_leaf_output (line 18) | def test_eta_decay_leaf_output(tree_method: str, objective: str) -> None: FILE: tests/python-gpu/test_gpu_data_iterator.py function test_gpu_single_batch (line 26) | def test_gpu_single_batch() -> None: function test_gpu_data_iterator (line 40) | def test_gpu_data_iterator( function test_cpu_data_iterator (line 60) | def test_cpu_data_iterator() -> None: function test_extmem_qdm (line 82) | def test_extmem_qdm( function test_categorical_extmem_qdm (line 109) | def test_categorical_extmem_qdm( function test_invalid_device_extmem_qdm (line 126) | def test_invalid_device_extmem_qdm() -> None: function test_concat_pages (line 142) | def test_concat_pages() -> None: function test_quantile_objective (line 171) | def test_quantile_objective( function test_categorical_missing (line 193) | def test_categorical_missing(tree_method: str) -> None: function test_categorical_ohe (line 202) | def test_categorical_ohe(tree_method: str) -> None: function test_invalid_cat_batches (line 216) | def test_invalid_cat_batches() -> None: function test_uneven_sizes (line 220) | def test_uneven_sizes() -> None: function test_cache_host_ratio (line 224) | def test_cache_host_ratio() -> None: FILE: tests/python-gpu/test_gpu_demos.py function test_data_iterator (line 13) | def test_data_iterator() -> None: function test_update_process_demo (line 19) | def test_update_process_demo() -> None: function test_categorical_demo (line 25) | def test_categorical_demo() -> None: function test_external_memory_demo (line 33) | def test_external_memory_demo() -> None: function test_distributed_extmem_basic_demo (line 42) | def test_distributed_extmem_basic_demo() -> None: FILE: tests/python-gpu/test_gpu_eval_metrics.py class TestGPUEvalMetrics (line 18) | class TestGPUEvalMetrics: method test_roc_auc_binary (line 20) | def test_roc_auc_binary(self, n_samples: int) -> None: method test_roc_auc_multi (line 26) | def test_roc_auc_multi(self, n_samples: int, weighted: bool) -> None: method test_roc_auc_ltr (line 30) | def test_roc_auc_ltr(self, n_samples: int) -> None: method test_pr_auc_binary (line 61) | def test_pr_auc_binary(self) -> None: method test_pr_auc_multi (line 64) | def test_pr_auc_multi(self) -> None: method test_pr_auc_ltr (line 67) | def test_pr_auc_ltr(self) -> None: method test_precision_score (line 70) | def test_precision_score(self) -> None: method test_quantile_error (line 74) | def test_quantile_error(self) -> None: FILE: tests/python-gpu/test_gpu_interaction_constraints.py class TestGPUInteractionConstraints (line 12) | class TestGPUInteractionConstraints: method test_interaction_constraints (line 14) | def test_interaction_constraints(self, tree_method: str) -> None: method test_training_accuracy (line 18) | def test_training_accuracy(self, tree_method: str) -> None: method test_issue_8730 (line 23) | def test_issue_8730(self) -> None: FILE: tests/python-gpu/test_gpu_intercept.py function test_init_estimation (line 13) | def test_init_estimation() -> None: function test_adaptive (line 20) | def test_adaptive(tree_method: str, weighted: bool) -> None: function test_exp_family (line 24) | def test_exp_family() -> None: function test_logistic_degenerate (line 28) | def test_logistic_degenerate() -> None: FILE: tests/python-gpu/test_gpu_linear.py function train_result (line 25) | def train_result( class TestGPULinear (line 41) | class TestGPULinear: method test_gpu_coordinate (line 44) | def test_gpu_coordinate( method test_gpu_coordinate_regularised (line 68) | def test_gpu_coordinate_regularised( method test_gpu_coordinate_from_cupy (line 89) | def test_gpu_coordinate_from_cupy(self) -> None: FILE: tests/python-gpu/test_gpu_multi_target.py function test_multiclass (line 33) | def test_multiclass(learning_rate: Optional[float]) -> None: function test_multilabel (line 38) | def test_multilabel(learning_rate: Optional[float]) -> None: function test_quantile_loss (line 43) | def test_quantile_loss(weighted: bool) -> None: function test_quantile_loss_rf (line 48) | def test_quantile_loss_rf(multi_strategy: str) -> None: function test_absolute_error (line 54) | def test_absolute_error() -> None: function test_reduced_grad (line 58) | def test_reduced_grad() -> None: function test_with_iter (line 62) | def test_with_iter() -> None: function test_eta (line 67) | def test_eta() -> None: function test_deterministic (line 71) | def test_deterministic() -> None: function test_column_sampling (line 75) | def test_column_sampling() -> None: function test_grow_policy (line 80) | def test_grow_policy(grow_policy: str) -> None: function test_mixed_strategy (line 84) | def test_mixed_strategy() -> None: function test_feature_importance_strategy_compare (line 88) | def test_feature_importance_strategy_compare() -> None: function test_hist (line 94) | def test_hist(param: Dict[str, Any], num_rounds: int, dataset: tm.TestDa... function test_reg_objective (line 104) | def test_reg_objective(obj_fn: Callable[[Device], None]) -> None: function test_subsample (line 109) | def test_subsample(sampling_method: str) -> None: function test_gradient_based_sampling_accuracy (line 113) | def test_gradient_based_sampling_accuracy() -> None: FILE: tests/python-gpu/test_gpu_ordinal.py function test_cat_container (line 31) | def test_cat_container() -> None: function test_cat_container_mixed (line 35) | def test_cat_container_mixed() -> None: function test_cat_container_iter (line 39) | def test_cat_container_iter() -> None: function test_cat_predict (line 43) | def test_cat_predict() -> None: function test_cat_invalid (line 47) | def test_cat_invalid() -> None: function test_cat_thread_safety (line 51) | def test_cat_thread_safety() -> None: function test_cat_shap (line 55) | def test_cat_shap() -> None: function test_cat_leaf (line 59) | def test_cat_leaf() -> None: function test_mixed_devices (line 63) | def test_mixed_devices() -> None: function test_mixed_devices_types (line 113) | def test_mixed_devices_types(DMatrixT: Type) -> None: function test_specified_cat (line 118) | def test_specified_cat() -> None: function test_validation (line 122) | def test_validation() -> None: function test_recode_dmatrix (line 126) | def test_recode_dmatrix() -> None: function test_training_continuation (line 130) | def test_training_continuation() -> None: function test_update (line 134) | def test_update() -> None: function test_recode_dmatrix_predict (line 138) | def test_recode_dmatrix_predict() -> None: FILE: tests/python-gpu/test_gpu_parse_tree.py function test_tree_to_df_categorical (line 7) | def test_tree_to_df_categorical() -> None: function test_split_value_histograms (line 11) | def test_split_value_histograms() -> None: FILE: tests/python-gpu/test_gpu_pickling.py function build_dataset (line 20) | def build_dataset() -> Tuple[np.ndarray, np.ndarray]: function save_pickle (line 28) | def save_pickle(bst: Union[xgb.Booster, xgb.XGBModel], path: str) -> None: function load_pickle (line 33) | def load_pickle(path: str) -> Any: class TestPickling (line 39) | class TestPickling: method run_pickling (line 42) | def run_pickling(self, bst: Union[xgb.Booster, xgb.XGBModel]) -> None: method test_pickling (line 71) | def test_pickling(self) -> None: method test_wrap_gpu_id (line 90) | def test_wrap_gpu_id(self) -> None: method test_pickled_context (line 111) | def test_pickled_context(self) -> None: method test_predict_sklearn_pickle (line 153) | def test_predict_sklearn_pickle(self) -> None: method test_training_on_cpu_only_env (line 183) | def test_training_on_cpu_only_env(self) -> None: FILE: tests/python-gpu/test_gpu_plotting.py class TestPlotting (line 6) | class TestPlotting: method test_categorical (line 8) | def test_categorical(self) -> None: FILE: tests/python-gpu/test_gpu_prediction.py class TestGPUPredict (line 39) | class TestGPUPredict: method test_predict (line 40) | def test_predict(self) -> None: method test_multi_predict (line 94) | def test_multi_predict(self) -> None: method test_sklearn (line 119) | def test_sklearn(self) -> None: method test_inplace_predict_device_type (line 149) | def test_inplace_predict_device_type(self, device: str) -> None: method run_inplace_base_margin (line 188) | def run_inplace_base_margin( method run_inplace_predict_cupy (line 219) | def run_inplace_predict_cupy(self, device: int) -> None: method test_inplace_predict_cupy (line 285) | def test_inplace_predict_cupy(self) -> None: method test_inplace_predict_cupy_specified_device (line 290) | def test_inplace_predict_cupy_specified_device(self) -> None: method test_inplace_predict_cudf (line 299) | def test_inplace_predict_cudf(self) -> None: method test_shap (line 345) | def test_shap(self, num_rounds: int, dataset: tm.TestDataset, param: d... method test_shap_interactions (line 372) | def test_shap_interactions( method test_shap_categorical (line 407) | def test_shap_categorical(self) -> None: method test_predict_leaf_basic (line 429) | def test_predict_leaf_basic(self, DMatrixT: Type[xgb.DMatrix]) -> None: method run_predict_leaf_booster (line 434) | def run_predict_leaf_booster( method test_predict_leaf_gbtree (line 464) | def test_predict_leaf_gbtree( method test_predict_leaf_dart (line 476) | def test_predict_leaf_dart(self, param: dict, dataset: tm.TestDataset)... method test_predict_categorical_split (line 496) | def test_predict_categorical_split(self, df: Any) -> None: method test_predict_dart (line 531) | def test_predict_dart(self, n_classes: int) -> None: method test_dtypes (line 585) | def test_dtypes(self) -> None: function test_base_margin_vs_base_score (line 636) | def test_base_margin_vs_base_score() -> None: function test_shap_multiclass (line 641) | def test_shap_multiclass() -> None: FILE: tests/python-gpu/test_gpu_ranking.py function comp_training_with_rank_objective (line 13) | def comp_training_with_rank_objective( function test_with_mq2008 (line 106) | def test_with_mq2008(objective: str, metric: str) -> None: function test_normalization (line 131) | def test_normalization() -> None: function test_score_normalization (line 136) | def test_score_normalization(objective: str) -> None: FILE: tests/python-gpu/test_gpu_training_continuation.py function test_model_output (line 14) | def test_model_output(tree_method: str) -> None: function test_continuation_determinism (line 21) | def test_continuation_determinism( FILE: tests/python-gpu/test_gpu_updaters.py class TestGPUUpdaters (line 28) | class TestGPUUpdaters: method test_gpu_hist (line 37) | def test_gpu_hist( method test_cache_size (line 54) | def test_cache_size(self, tree_method: str) -> None: method test_gpu_approx (line 83) | def test_gpu_approx( method test_sparse (line 101) | def test_sparse(self, dataset: tm.TestDataset) -> None: method test_categorical_ohe (line 124) | def test_categorical_ohe( method test_categorical_hist (line 145) | def test_categorical_hist( method test_categorical_approx (line 167) | def test_categorical_approx( method test_categorical_ames_housing (line 186) | def test_categorical_ames_housing( method test_categorical_missing (line 207) | def test_categorical_missing(self, rows: int, cols: int, cats: int) ->... method test_max_cat (line 217) | def test_max_cat(self, tree_method: str) -> None: method test_categorical_32_cat (line 220) | def test_categorical_32_cat(self) -> None: method test_invalid_category (line 235) | def test_invalid_category(self, tree_method: str) -> None: method test_gpu_hist_device_dmatrix (line 245) | def test_gpu_hist_device_dmatrix( method test_external_memory (line 267) | def test_external_memory( method test_empty_dmatrix_prediction (line 282) | def test_empty_dmatrix_prediction(self) -> None: method test_specified_gpu_id_gpu_update (line 311) | def test_specified_gpu_id_gpu_update( method test_quantile_loss (line 320) | def test_quantile_loss(self, weighted: bool) -> None: method test_issue8824 (line 324) | def test_issue8824(self) -> None: method test_get_quantile_cut (line 355) | def test_get_quantile_cut(self) -> None: FILE: tests/python-gpu/test_gpu_with_sklearn.py function test_gpu_binary_classification (line 26) | def test_gpu_binary_classification() -> None: function test_boost_from_prediction_gpu_hist (line 57) | def test_boost_from_prediction_gpu_hist(tree_method: str) -> None: function test_num_parallel_tree (line 79) | def test_num_parallel_tree() -> None: function test_categorical (line 86) | def test_categorical(tmp_path: Path) -> None: function test_classififer (line 144) | def test_classififer() -> None: function test_custom_objective (line 189) | def test_custom_objective( function test_ranking_qid_df (line 271) | def test_ranking_qid_df() -> None: function test_ranking_categorical (line 278) | def test_ranking_categorical() -> None: function test_device_ordinal (line 284) | def test_device_ordinal() -> None: function test_recoding (line 326) | def test_recoding() -> None: function test_intercept (line 330) | def test_intercept() -> None: FILE: tests/python-gpu/test_large_input.py function test_large_input (line 9) | def test_large_input() -> None: FILE: tests/python-gpu/test_monotonic_constraints.py function non_decreasing (line 11) | def non_decreasing(L: np.ndarray) -> bool: function non_increasing (line 15) | def non_increasing(L: np.ndarray) -> bool: function assert_constraint (line 19) | def assert_constraint(constraint: int, tree_method: str) -> None: function test_gpu_hist_basic (line 40) | def test_gpu_hist_basic() -> None: function test_gpu_approx_basic (line 46) | def test_gpu_approx_basic() -> None: function test_gpu_hist_depthwise (line 51) | def test_gpu_hist_depthwise() -> None: function test_gpu_hist_lossguide (line 62) | def test_gpu_hist_lossguide() -> None: FILE: tests/python-sycl/test_sycl_prediction.py class TestSYCLPredict (line 22) | class TestSYCLPredict(unittest.TestCase): method test_predict (line 23) | def test_predict(self): method test_multi_predict (line 70) | def test_multi_predict(self): method test_sklearn (line 96) | def test_sklearn(self): method test_shap (line 130) | def test_shap(self, num_rounds, dataset, param): method test_shap_interactions (line 148) | def test_shap_interactions(self, num_rounds, dataset, param): FILE: tests/python-sycl/test_sycl_simple_dask.py function train_result (line 8) | def train_result(client, param, dtrain, num_rounds): class TestSYCLDask (line 20) | class TestSYCLDask: method test_simple (line 22) | def test_simple(self): FILE: tests/python-sycl/test_sycl_training_continuation.py class TestSYCLTrainingContinuation (line 8) | class TestSYCLTrainingContinuation: method run_training_continuation (line 9) | def run_training_continuation(self, use_json): method test_sycl_training_continuation_binary (line 55) | def test_sycl_training_continuation_binary(self): method test_sycl_training_continuation_json (line 58) | def test_sycl_training_continuation_json(self): FILE: tests/python-sycl/test_sycl_updaters.py function train_result (line 34) | def train_result(param, dmat, num_rounds): class TestSYCLUpdaters (line 47) | class TestSYCLUpdaters: method test_sycl_hist (line 50) | def test_sycl_hist(self, param, num_rounds, dataset): method test_specified_device_id_sycl_update (line 61) | def test_specified_device_id_sycl_update(self, dataset, device_id): FILE: tests/python-sycl/test_sycl_with_sklearn.py function test_sycl_binary_classification (line 13) | def test_sycl_binary_classification(): FILE: tests/python/generate_models.py function booster_ubj (line 21) | def booster_ubj(model: str) -> str: function booster_json (line 25) | def booster_json(model: str) -> str: function skl_ubj (line 29) | def skl_ubj(model: str) -> str: function skl_json (line 33) | def skl_json(model: str) -> str: function generate_regression_model (line 37) | def generate_regression_model() -> None: function generate_logistic_model (line 69) | def generate_logistic_model() -> None: function generate_classification_model (line 107) | def generate_classification_model() -> None: function generate_ranking_model (line 144) | def generate_ranking_model() -> None: function generate_aft_survival_models (line 178) | def generate_aft_survival_models() -> None: FILE: tests/python/test_basic.py class TestBasic (line 14) | class TestBasic: method test_compat (line 15) | def test_compat(self): method test_basic (line 22) | def test_basic(self, tmp_path: Path) -> None: method test_metric_config (line 59) | def test_metric_config(self, tmp_path: Path) -> None: method test_multiclass (line 80) | def test_multiclass(self, tmp_path: Path) -> None: method test_dump (line 109) | def test_dump(self): method test_feature_score (line 149) | def test_feature_score(self): method test_load_file_invalid (line 171) | def test_load_file_invalid(self): method test_unicode_path (line 181) | def test_unicode_path(self, tmp_path: Path, path: str) -> None: method test_dmatrix_numpy_init_omp (line 191) | def test_dmatrix_numpy_init_omp(self): method test_cv (line 207) | def test_cv(self): method test_cv_no_shuffle (line 216) | def test_cv_no_shuffle(self): method test_cv_explicit_fold_indices (line 227) | def test_cv_explicit_fold_indices(self): method test_cv_explicit_fold_indices_labels (line 241) | def test_cv_explicit_fold_indices_labels(self): class TestBasicPathLike (line 285) | class TestBasicPathLike: method test_DMatrix_init_from_path (line 288) | def test_DMatrix_init_from_path(self): method test_DMatrix_save_to_path (line 294) | def test_DMatrix_save_to_path(self, tmp_path: Path) -> None: method test_Booster_init_invalid_path (line 306) | def test_Booster_init_invalid_path(self): function test_parse_ver (line 312) | def test_parse_ver() -> None: FILE: tests/python/test_basic_models.py class TestModels (line 13) | class TestModels: method test_glm (line 14) | def test_glm(self): method test_dart (line 34) | def test_dart(self, tmp_path: Path) -> None: method test_boost_from_prediction (line 104) | def test_boost_from_prediction(self): method test_boost_from_existing_model (line 119) | def test_boost_from_existing_model(self) -> None: method test_custom_objective (line 152) | def test_custom_objective(self) -> None: method test_multi_eval_metric (line 156) | def test_multi_eval_metric(self) -> None: method test_fpreproc (line 172) | def test_fpreproc(self): method test_show_stdv (line 193) | def test_show_stdv(self): method test_prediction_cache (line 207) | def test_prediction_cache(self, tmp_path: Path) -> None: method test_feature_names_validation (line 227) | def test_feature_names_validation(self): method test_special_model_dump_characters (line 243) | def test_special_model_dump_characters(self) -> None: method run_slice (line 272) | def run_slice( method test_slice (line 374) | def test_slice(self, booster_name: str) -> None: method test_feature_info (line 414) | def test_feature_info(self, ext: str, tmp_path: Path) -> None: FILE: tests/python/test_callback.py function breast_cancer (line 23) | def breast_cancer() -> BreastCancer: function eval_error_metric (line 36) | def eval_error_metric(predt: np.ndarray, dtrain: xgb.DMatrix) -> Tuple[s... class TestCallbacks (line 41) | class TestCallbacks: method run_evaluation_monitor (line 42) | def run_evaluation_monitor( method test_evaluation_monitor (line 85) | def test_evaluation_monitor(self, breast_cancer: BreastCancer) -> None: method test_early_stopping (line 106) | def test_early_stopping(self, breast_cancer: BreastCancer) -> None: method test_early_stopping_custom_eval (line 124) | def test_early_stopping_custom_eval(self, breast_cancer: BreastCancer)... method test_early_stopping_customize (line 144) | def test_early_stopping_customize(self, breast_cancer: BreastCancer) -... method test_early_stopping_skl (line 195) | def test_early_stopping_skl(self, breast_cancer: BreastCancer) -> None: method test_early_stopping_custom_eval_skl (line 206) | def test_early_stopping_custom_eval_skl(self, breast_cancer: BreastCan... method test_early_stopping_save_best_model (line 218) | def test_early_stopping_save_best_model(self, breast_cancer: BreastCan... method test_early_stopping_continuation (line 258) | def test_early_stopping_continuation( method test_early_stopping_multiple_metrics (line 292) | def test_early_stopping_multiple_metrics(self): method test_eta_decay (line 309) | def test_eta_decay(self, tree_method: str) -> None: method test_eta_decay_leaf_output (line 314) | def test_eta_decay_leaf_output(self, tree_method: str, objective: str)... method test_check_point (line 318) | def test_check_point(self, breast_cancer: BreastCancer, tmp_path: Path... method test_callback_list (line 349) | def test_callback_list(self) -> None: method test_attribute_error (line 364) | def test_attribute_error(self, breast_cancer: BreastCancer) -> None: method test_preserve_order (line 383) | def test_preserve_order(self) -> None: FILE: tests/python/test_collective.py function run_rabit_worker (line 13) | def run_rabit_worker(rabit_env: dict, world_size: int) -> int: function test_rabit_communicator (line 26) | def test_rabit_communicator() -> None: function run_federated_worker (line 45) | def run_federated_worker(port: int, world_size: int, rank: int) -> int: function test_federated_communicator (line 64) | def test_federated_communicator() -> None: function test_config_serialization (line 88) | def test_config_serialization() -> None: FILE: tests/python/test_config.py function test_global_config_verbosity (line 10) | def test_global_config_verbosity(verbosity_level): function test_global_config_use_rmm (line 23) | def test_global_config_use_rmm(use_rmm): function test_nested_config (line 34) | def test_nested_config() -> None: function test_thread_safety (line 62) | def test_thread_safety(): function test_nthread (line 74) | def test_nthread() -> None: FILE: tests/python/test_data_iterator.py function test_single_batch (line 24) | def test_single_batch(tree_method: str = "approx", device: str = "cpu") ... function test_with_cat_single (line 62) | def test_with_cat_single() -> None: function run_data_iterator (line 77) | def run_data_iterator( function test_data_iterator (line 174) | def test_data_iterator( class IterForCacheTest (line 202) | class IterForCacheTest(xgb.DataIter): method __init__ (line 203) | def __init__( method next (line 209) | def next(self, input_data: Callable) -> bool: method reset (line 216) | def reset(self) -> None: function test_data_cache (line 220) | def test_data_cache() -> None: function test_cat_check (line 252) | def test_cat_check(tmp_path: Path) -> None: function test_quantile_objective (line 292) | def test_quantile_objective( function test_extmem_qdm (line 319) | def test_extmem_qdm( function test_categorical_extmem_qdm (line 339) | def test_categorical_extmem_qdm( function test_categorical_missing (line 354) | def test_categorical_missing(tree_method: str) -> None: function test_categorical_ohe (line 361) | def test_categorical_ohe(tree_method: str) -> None: function test_invalid_cat_batches (line 373) | def test_invalid_cat_batches() -> None: function test_uneven_sizes (line 378) | def test_uneven_sizes() -> None: FILE: tests/python/test_demos.py function test_basic_walkthrough (line 20) | def test_basic_walkthrough(tmp_path: Path) -> None: function test_categorical (line 27) | def test_categorical() -> None: function test_cat_pipeline (line 34) | def test_cat_pipeline() -> None: function test_custom_multiclass_objective (line 41) | def test_custom_multiclass_objective() -> None: function test_custom_rmsle_objective (line 48) | def test_custom_rmsle_objective() -> None: function test_feature_weights_demo (line 55) | def test_feature_weights_demo() -> None: function test_sklearn_demo (line 62) | def test_sklearn_demo(tmp_path: Path) -> None: function test_sklearn_parallel_demo (line 71) | def test_sklearn_parallel_demo() -> None: function test_sklearn_evals_result_demo (line 78) | def test_sklearn_evals_result_demo() -> None: function test_boost_from_prediction_demo (line 84) | def test_boost_from_prediction_demo() -> None: function test_predict_first_ntree_demo (line 90) | def test_predict_first_ntree_demo() -> None: function test_individual_trees (line 96) | def test_individual_trees() -> None: function test_predict_leaf_indices_demo (line 102) | def test_predict_leaf_indices_demo() -> None: function test_generalized_linear_model_demo (line 108) | def test_generalized_linear_model_demo() -> None: function test_cross_validation_demo (line 114) | def test_cross_validation_demo() -> None: function test_external_memory_demo (line 120) | def test_external_memory_demo() -> None: function test_distributed_extmem_basic_demo (line 126) | def test_distributed_extmem_basic_demo() -> None: function test_evals_result_demo (line 132) | def test_evals_result_demo() -> None: function test_aft_demo (line 140) | def test_aft_demo(tmp_path: Path) -> None: function test_callbacks_demo (line 148) | def test_callbacks_demo() -> None: function test_continuation_demo (line 154) | def test_continuation_demo() -> None: function test_multioutput_reg (line 162) | def test_multioutput_reg() -> None: function test_quantile_reg (line 169) | def test_quantile_reg() -> None: function test_json_model (line 176) | def test_json_model(tmp_path: Path) -> None: FILE: tests/python/test_dmatrix.py class TestDMatrix (line 21) | class TestDMatrix: method test_warn_missing (line 22) | def test_warn_missing(self): method test_dmatrix_numpy_init (line 40) | def test_dmatrix_numpy_init(self): method test_np_view (line 66) | def test_np_view(self): method test_slice (line 85) | def test_slice(self): method test_feature_names_slice (line 127) | def test_feature_names_slice(self): method test_feature_names (line 162) | def test_feature_names(self): method test_save_binary (line 198) | def test_save_binary(self, tmp_path: Path) -> None: method test_get_info (line 210) | def test_get_info(self): method test_qid (line 221) | def test_qid(self): method test_feature_weights (line 234) | def test_feature_weights(self): method test_sparse_dmatrix_csr (line 253) | def test_sparse_dmatrix_csr(self, tmp_path: Path) -> None: method test_sparse_dmatrix_csc (line 291) | def test_sparse_dmatrix_csc(self): method test_unknown_data (line 304) | def test_unknown_data(self): method test_np_categorical (line 325) | def test_np_categorical(self): method test_scipy_categorical (line 335) | def test_scipy_categorical(self): method test_uri_categorical (line 360) | def test_uri_categorical(self): method test_base_margin (line 368) | def test_base_margin(self) -> None: method test_to_csr (line 377) | def test_to_csr(self, n_samples, n_features, sparsity) -> None: method test_dtypes (line 390) | def test_dtypes(self) -> None: class TestDMatrixColumnSplit (line 400) | class TestDMatrixColumnSplit: method test_numpy (line 401) | def test_numpy(self): method test_numpy_feature_names (line 412) | def test_numpy_feature_names(self): method test_csr (line 435) | def test_csr(self): method test_csc (line 447) | def test_csc(self): method test_coo (line 459) | def test_coo(self): method test_uri (line 471) | def test_uri(self, tmp_path: Path) -> None: method test_list (line 489) | def test_list(self): method test_tuple (line 504) | def test_tuple(self): FILE: tests/python/test_early_stopping.py class TestEarlyStopping (line 13) | class TestEarlyStopping: method test_early_stopping_nonparallel (line 15) | def test_early_stopping_nonparallel(self): method assert_metrics_length (line 51) | def assert_metrics_length(cv, expected_length): method test_cv_early_stopping (line 56) | def test_cv_early_stopping(self) -> None: method test_cv_early_stopping_with_multiple_eval_sets_and_metrics (line 122) | def test_cv_early_stopping_with_multiple_eval_sets_and_metrics(self): FILE: tests/python/test_eval_metrics.py class TestEvalMetrics (line 19) | class TestEvalMetrics: method evalerror_01 (line 28) | def evalerror_01(self, preds, dtrain): method evalerror_02 (line 32) | def evalerror_02(self, preds, dtrain): method evalerror_03 (line 37) | def evalerror_03(self, preds, dtrain): method evalerror_04 (line 47) | def evalerror_04(self, preds, dtrain): method test_eval_metrics (line 57) | def test_eval_metrics(self): method test_gamma_deviance (line 134) | def test_gamma_deviance(self): method test_gamma_lik (line 160) | def test_gamma_lik(self) -> None: method test_roc_auc (line 200) | def test_roc_auc(self, n_samples: int) -> None: method test_roc_auc_multi (line 206) | def test_roc_auc_multi(self, n_samples: int, weighted: bool) -> None: method test_pr_auc_binary (line 209) | def test_pr_auc_binary(self) -> None: method test_pr_auc_multi (line 212) | def test_pr_auc_multi(self) -> None: method test_pr_auc_ltr (line 215) | def test_pr_auc_ltr(self) -> None: method test_precision_score (line 218) | def test_precision_score(self) -> None: method test_quantile_error (line 222) | def test_quantile_error(self) -> None: method test_expectile_error (line 226) | def test_expectile_error(self) -> None: method test_expectile_uniform_convergence (line 229) | def test_expectile_uniform_convergence(self) -> None: FILE: tests/python/test_interaction_constraints.py class TestInteractionConstraints (line 10) | class TestInteractionConstraints: method test_exact_interaction_constraints (line 11) | def test_exact_interaction_constraints(self) -> None: method test_hist_interaction_constraints (line 14) | def test_hist_interaction_constraints(self) -> None: method test_approx_interaction_constraints (line 17) | def test_approx_interaction_constraints(self) -> None: method test_interaction_constraints_feature_names (line 20) | def test_interaction_constraints_feature_names(self) -> None: method test_hist_training_accuracy (line 57) | def test_hist_training_accuracy(self, tree_method: str) -> None: FILE: tests/python/test_intercept.py function test_init_estimation (line 13) | def test_init_estimation() -> None: function test_adaptive (line 20) | def test_adaptive(tree_method: str, weighted: bool) -> None: function test_exp_family (line 24) | def test_exp_family() -> None: function test_logistic_degenerate (line 28) | def test_logistic_degenerate() -> None: FILE: tests/python/test_linear.py function train_result (line 25) | def train_result(param: dict, dmat: xgb.DMatrix, num_rounds: int) -> Dic... class TestLinear (line 38) | class TestLinear: method test_coordinate (line 46) | def test_coordinate(self, param, num_rounds, dataset, coord_param): method test_coordinate_regularised (line 66) | def test_coordinate_regularised(self, param, num_rounds, dataset, coor... method test_shotgun (line 80) | def test_shotgun(self, param, num_rounds, dataset): method test_shotgun_regularised (line 101) | def test_shotgun_regularised(self, param, num_rounds, dataset, alpha, ... FILE: tests/python/test_model_compatibility.py function run_model_param_check (line 17) | def run_model_param_check(name: str, config: Dict[str, Any]) -> None: function run_booster_check (line 30) | def run_booster_check(booster: xgboost.Booster, name: str) -> None: function get_n_rounds (line 69) | def get_n_rounds(name: str) -> int: function run_scikit_model_check (line 77) | def run_scikit_model_check(name: str, path: str) -> None: function download (line 128) | def download(path: str) -> None: function test_model_compatibility (line 144) | def test_model_compatibility() -> None: FILE: tests/python/test_model_io.py function json_model (line 14) | def json_model(model_path: str, parameters: dict) -> dict: class TestBoosterIO (line 38) | class TestBoosterIO: method run_model_json_io (line 39) | def run_model_json_io(self, parameters: dict, ext: str) -> None: method test_model_json_io (line 89) | def test_model_json_io(self, ext: str) -> None: method test_categorical_model_io (line 104) | def test_categorical_model_io(self, tmp_path: Path) -> None: method test_with_pathlib (line 122) | def test_with_pathlib(self, tmp_path: Path) -> None: method test_invalid_postfix (line 164) | def test_invalid_postfix(self, tmp_path: Path) -> None: method test_invalid_format (line 209) | def test_invalid_format(self, tmp_path: Path) -> None: function save_load_model (line 220) | def save_load_model(model_path: str) -> None: function test_sklearn_model (line 281) | def test_sklearn_model(tmp_path: Path) -> None: function test_with_sklearn_obj_metric (line 341) | def test_with_sklearn_obj_metric(tmp_path: Path) -> None: function test_attributes (line 365) | def test_attributes(tmp_path: Path) -> None: FILE: tests/python/test_monotone_constraints.py function is_increasing (line 13) | def is_increasing(y): function is_decreasing (line 17) | def is_decreasing(y): function is_correctly_constrained (line 21) | def is_correctly_constrained(learner, feature_names=None): class TestMonotoneConstraints (line 49) | class TestMonotoneConstraints: method test_monotone_constraints_for_exact_tree_method (line 50) | def test_monotone_constraints_for_exact_tree_method(self) -> None: method test_monotone_constraints (line 72) | def test_monotone_constraints(self, tree_method: str, policy: str) -> ... method test_monotone_constraints_tuple (line 81) | def test_monotone_constraints_tuple(self) -> None: method test_monotone_constraints_feature_names (line 87) | def test_monotone_constraints_feature_names(self, format: Type) -> None: method test_training_accuracy (line 120) | def test_training_accuracy(self) -> None: FILE: tests/python/test_multi_target.py function test_quantile_loss_rf (line 37) | def test_quantile_loss_rf(multi_strategy: str) -> None: class TestTreeMethodMulti (line 43) | class TestTreeMethodMulti: method test_exact (line 50) | def test_exact(self, param: dict, num_rounds: int, dataset: tm.TestDat... method test_approx (line 66) | def test_approx( method test_hist (line 90) | def test_hist( function test_multiclass (line 109) | def test_multiclass() -> None: function test_multilabel (line 113) | def test_multilabel() -> None: function test_quantile_loss (line 118) | def test_quantile_loss(weighted: bool) -> None: function test_absolute_error (line 122) | def test_absolute_error() -> None: function test_reduced_grad (line 126) | def test_reduced_grad() -> None: function test_with_iter (line 130) | def test_with_iter() -> None: function test_eta (line 134) | def test_eta() -> None: function test_column_sampling (line 138) | def test_column_sampling() -> None: function test_grow_policy (line 143) | def test_grow_policy(grow_policy: str) -> None: function test_mixed_strategy (line 147) | def test_mixed_strategy() -> None: function test_feature_importance_strategy_compare (line 151) | def test_feature_importance_strategy_compare() -> None: function test_reg_objective (line 156) | def test_reg_objective(obj_fn: Callable[[Device], None]) -> None: function test_subsample (line 161) | def test_subsample(sampling_method: str) -> None: function test_gradient_based_sampling_accuracy (line 165) | def test_gradient_based_sampling_accuracy() -> None: FILE: tests/python/test_openmp.py class TestOMP (line 13) | class TestOMP: method test_omp (line 14) | def test_omp(self): method test_with_omp_thread_limit (line 85) | def test_with_omp_thread_limit(self, tmp_path: Path) -> None: FILE: tests/python/test_ordinal.py function test_cat_container (line 24) | def test_cat_container() -> None: function test_cat_container_mixed (line 28) | def test_cat_container_mixed() -> None: function test_cat_container_iter (line 32) | def test_cat_container_iter() -> None: function test_cat_predict (line 36) | def test_cat_predict() -> None: function test_cat_invalid (line 40) | def test_cat_invalid() -> None: function test_cat_thread_safety (line 44) | def test_cat_thread_safety() -> None: function test_cat_shap (line 48) | def test_cat_shap() -> None: function test_cat_leaf (line 52) | def test_cat_leaf() -> None: function test_specified_cat (line 56) | def test_specified_cat() -> None: function test_validation (line 60) | def test_validation() -> None: function test_recode_dmatrix (line 64) | def test_recode_dmatrix() -> None: function test_training_continuation (line 68) | def test_training_continuation() -> None: function test_update (line 72) | def test_update() -> None: function test_recode_dmatrix_predict (line 76) | def test_recode_dmatrix_predict() -> None: FILE: tests/python/test_parse_tree.py class TestTreesToDataFrame (line 17) | class TestTreesToDataFrame: method build_model (line 18) | def build_model(self, max_depth, num_round): method parse_dumped_model (line 25) | def parse_dumped_model(self, booster, item_to_get, splitter): method test_trees_to_dataframe (line 35) | def test_trees_to_dataframe(self): method test_tree_to_df_categorical (line 54) | def test_tree_to_df_categorical(self) -> None: method test_tree_to_df_indicator (line 57) | def test_tree_to_df_indicator(self, tmp_path) -> None: method test_split_value_histograms (line 92) | def test_split_value_histograms(self): FILE: tests/python/test_pickling.py function generate_data (line 13) | def generate_data(): class TestPickling (line 19) | class TestPickling: method run_model_pickling (line 20) | def run_model_pickling(self, xgb_params) -> str: method test_model_pickling_json (line 52) | def test_model_pickling_json(self): FILE: tests/python/test_plotting.py class TestPlotting (line 20) | class TestPlotting: method test_plotting (line 21) | def test_plotting(self): method test_importance_plot_lim (line 64) | def test_importance_plot_lim(self): method test_categorical (line 78) | def test_categorical(self) -> None: FILE: tests/python/test_predict.py function run_threaded_predict (line 16) | def run_threaded_predict(X, rows, predict_func): function test_predict_leaf (line 33) | def test_predict_leaf(DMatrixT: Type[xgb.DMatrix]) -> None: function test_predict_shape (line 37) | def test_predict_shape(): function test_base_margin_vs_base_score (line 74) | def test_base_margin_vs_base_score() -> None: class TestInplacePredict (line 78) | class TestInplacePredict: method setup_class (line 82) | def setup_class(cls): method test_predict (line 102) | def test_predict(self): method test_predict_pd (line 159) | def test_predict_pd(self): method test_base_margin (line 176) | def test_base_margin(self): method test_dtypes (line 187) | def test_dtypes(self) -> None: method test_pd_dtypes (line 204) | def test_pd_dtypes(self) -> None: FILE: tests/python/test_quantile_dmatrix.py class TestQuantileDMatrix (line 25) | class TestQuantileDMatrix: method test_basic (line 26) | def test_basic(self) -> None: method test_categorical_strings (line 62) | def test_categorical_strings(self) -> None: method test_error (line 65) | def test_error(self): method test_with_iterator (line 98) | def test_with_iterator(self, sparsity: float) -> None: method test_different_size (line 119) | def test_different_size(self) -> None: method test_training (line 137) | def test_training(self, sparsity: float) -> None: method run_ref_dmatrix (line 178) | def run_ref_dmatrix(self, rng: Any, device: str, enable_cat: bool) -> ... method test_ref_quantile_cut (line 285) | def test_ref_quantile_cut(self) -> None: method test_ref_dmatrix (line 289) | def test_ref_dmatrix(self, enable_cat: bool) -> None: method test_predict (line 294) | def test_predict(self, sparsity: float) -> None: method test_ltr (line 309) | def test_ltr(self) -> None: method test_check_inf (line 319) | def test_check_inf(self) -> None: method test_to_csr (line 330) | def test_to_csr(self, n_samples: int, n_features: int, sparsity: float... method test_dtypes (line 344) | def test_dtypes(self) -> None: method test_changed_max_bin (line 363) | def test_changed_max_bin(self) -> None: method test_mixed_sparsity (line 375) | def test_mixed_sparsity(self) -> None: method test_sparse_predict (line 378) | def test_sparse_predict(self) -> None: method test_cv_error (line 398) | def test_cv_error(self) -> None: function test_feature_types (line 405) | def test_feature_types() -> None: FILE: tests/python/test_ranking.py function test_ndcg_custom_gain (line 18) | def test_ndcg_custom_gain(): function test_ndcg_non_exp (line 71) | def test_ndcg_non_exp() -> None: function test_ranking_with_unweighted_data (line 93) | def test_ranking_with_unweighted_data(): function test_ranking_with_weighted_data (line 127) | def test_ranking_with_weighted_data(): function test_error_msg (line 175) | def test_error_msg() -> None: function test_lambdarank_parameters (line 184) | def test_lambdarank_parameters(params): function test_unbiased (line 200) | def test_unbiased() -> None: function test_normalization (line 249) | def test_normalization() -> None: function test_score_normalization (line 254) | def test_score_normalization(objective: str) -> None: class TestRanking (line 258) | class TestRanking: method setup_class (line 260) | def setup_class(cls): method teardown_class (line 304) | def teardown_class(cls): method test_training (line 316) | def test_training(self): method test_cv (line 331) | def test_cv(self): method test_cv_no_shuffle (line 351) | def test_cv_no_shuffle(self): method test_get_group (line 367) | def test_get_group(self): FILE: tests/python/test_shap.py class TestSHAP (line 11) | class TestSHAP: method test_feature_importances (line 12) | def test_feature_importances(self) -> None: method test_shap_values (line 259) | def test_shap_values(self) -> None: FILE: tests/python/test_survival.py function toy_data (line 15) | def toy_data() -> Tuple[xgb.DMatrix, np.ndarray, np.ndarray]: function test_default_metric (line 27) | def test_default_metric(toy_data: Tuple[xgb.DMatrix, np.ndarray, np.ndar... function test_aft_survival_toy_data (line 58) | def test_aft_survival_toy_data( function test_aft_empty_dmatrix (line 123) | def test_aft_empty_dmatrix(): function test_aft_survival_demo_data (line 133) | def test_aft_survival_demo_data(): FILE: tests/python/test_tracker.py function test_rabit_tracker (line 14) | def test_rabit_tracker() -> None: function test_wait (line 32) | def test_wait() -> None: function test_socket_error (line 44) | def test_socket_error() -> None: function test_worker_port (line 58) | def test_worker_port() -> None: function run_rabit_ops (line 83) | def run_rabit_ops(pool, n_workers: int, address: str) -> None: function test_rabit_ops (line 108) | def test_rabit_ops(): function test_rabit_ops_ipv6 (line 118) | def test_rabit_ops_ipv6(): function run_allreduce (line 126) | def run_allreduce(pool, n_workers: int) -> None: function test_allreduce (line 149) | def test_allreduce() -> None: function run_broadcast (line 159) | def run_broadcast(pool, n_workers: int) -> None: function test_broadcast (line 175) | def test_broadcast(): function test_rank_assignment (line 187) | def test_rank_assignment() -> None: function test_ops_restart_comm (line 222) | def test_ops_restart_comm(ops, size) -> None: function test_ops_reuse_comm (line 256) | def test_ops_reuse_comm() -> None: FILE: tests/python/test_training_continuation.py class TestTrainingContinuation (line 16) | class TestTrainingContinuation: method generate_parameters (line 19) | def generate_parameters(self): method run_training_continuation (line 37) | def run_training_continuation( method test_training_continuation_json (line 134) | def test_training_continuation_json(self, tmp_path: Path) -> None: method test_training_continuation_updaters_json (line 139) | def test_training_continuation_updaters_json(self, tmp_path: Path) -> ... method test_changed_parameter (line 148) | def test_changed_parameter(self, tmp_path: Path) -> None: method test_model_output (line 167) | def test_model_output(self, tree_method: str) -> None: function test_continuation_determinism (line 174) | def test_continuation_determinism(kwargs: Any) -> None: FILE: tests/python/test_tree_regularization.py class TestTreeRegularization (line 9) | class TestTreeRegularization: method test_alpha (line 10) | def test_alpha(self): method test_lambda (line 30) | def test_lambda(self): method test_alpha_and_lambda (line 50) | def test_alpha_and_lambda(self): method test_unlimited_depth (line 70) | def test_unlimited_depth(self): FILE: tests/python/test_updaters.py class TestTreeMethod (line 25) | class TestTreeMethod: method test_exact (line 33) | def test_exact(self, param, num_rounds, dataset): method test_exact_sample_by_node_error (line 41) | def test_exact_sample_by_node_error(self) -> None: method test_colsample_rng (line 56) | def test_colsample_rng(self, tree_method: str) -> None: method test_approx (line 85) | def test_approx( method test_pruner (line 102) | def test_pruner(self): method test_hist (line 136) | def test_hist( method test_hist_categorical (line 152) | def test_hist_categorical(self): method test_hist_degenerate_case (line 184) | def test_hist_degenerate_case(self): method test_sparse (line 205) | def test_sparse(self, dataset): method test_invalid_category (line 221) | def test_invalid_category(self, tree_method: str) -> None: method test_max_cat (line 226) | def test_max_cat(self, tree_method: str) -> None: method test_categorical_ohe (line 237) | def test_categorical_ohe( method test_categorical (line 276) | def test_categorical( method test_categorical_ames_housing (line 298) | def test_categorical_ames_housing( method test_categorical_missing (line 319) | def test_categorical_missing(self, rows: int, cols: int, cats: int) ->... method test_quantile_loss (line 328) | def test_quantile_loss(self, weighted: bool) -> None: method test_get_quantile_cut (line 333) | def test_get_quantile_cut(self, tree_method: str) -> None: FILE: tests/python/test_with_arrow.py function test_type_check (line 21) | def test_type_check() -> None: class TestArrowTable (line 29) | class TestArrowTable: method test_arrow_table (line 30) | def test_arrow_table(self): method test_arrow_table_with_label (line 39) | def test_arrow_table_with_label(self): method test_arrow_table_from_np (line 49) | def test_arrow_table_from_np(self): method test_arrow_train (line 60) | def test_arrow_train(self, DMatrixT): method test_arrow_survival (line 90) | def test_arrow_survival(self): class TestArrowTableColumnSplit (line 107) | class TestArrowTableColumnSplit: method test_arrow_table (line 108) | def test_arrow_table(self): FILE: tests/python/test_with_modin.py function test_type_check (line 19) | def test_type_check() -> None: class TestModin (line 25) | class TestModin: method test_modin (line 27) | def test_modin(self) -> None: method test_modin_label (line 121) | def test_modin_label(self): method test_modin_weight (line 144) | def test_modin_weight(self): method test_base_margin (line 159) | def test_base_margin(self): FILE: tests/python/test_with_pandas.py function test_type_check (line 25) | def test_type_check() -> None: class TestPandas (line 31) | class TestPandas: method test_pandas (line 32) | def test_pandas(self, data_split_mode=DataSplitMode.ROW): method test_multi_target (line 213) | def test_multi_target(self) -> None: method test_slice (line 226) | def test_slice(self): method test_pandas_categorical (line 238) | def test_pandas_categorical(self, data_split_mode=DataSplitMode.ROW): method test_pandas_sparse (line 276) | def test_pandas_sparse(self): method test_pandas_label (line 298) | def test_pandas_label( method test_pandas_weight (line 327) | def test_pandas_weight(self, data_split_mode=DataSplitMode.ROW): method test_base_margin (line 345) | def test_base_margin(self): method test_cv_as_pandas (line 348) | def test_cv_as_pandas(self): method test_nullable_type (line 467) | def test_nullable_type(self, DMatrixT) -> None: method test_pyarrow_type (line 506) | def test_pyarrow_type(self, DMatrixT: Type[xgb.DMatrix]) -> None: method test_mixed_type (line 527) | def test_mixed_type(self, DMatrixT: Type[xgb.DMatrix]) -> None: method test_pandas_column_split (line 556) | def test_pandas_column_split(self): method test_pandas_categorical_column_split (line 562) | def test_pandas_categorical_column_split(self): method test_pandas_sparse_column_split (line 570) | def test_pandas_sparse_column_split(self): method test_pandas_label_column_split (line 599) | def test_pandas_label_column_split(self): method test_pandas_weight_column_split (line 607) | def test_pandas_weight_column_split(self): FILE: tests/python/test_with_polars.py function test_type_check (line 15) | def test_type_check() -> None: function test_polars_basic (line 22) | def test_polars_basic( function test_polars_missing (line 52) | def test_polars_missing() -> None: function test_classififer (line 71) | def test_classififer(tmp_path: Path) -> None: function test_regressor (line 122) | def test_regressor() -> None: function test_categorical (line 142) | def test_categorical() -> None: FILE: tests/python/test_with_scipy.py function test_csr (line 24) | def test_csr(DMatrixT: Type[xgb.DMatrix], CSR: Type) -> None: function test_csc (line 47) | def test_csc(DMatrixT: Type[xgb.DMatrix], CSC: Type) -> None: function test_coo (line 76) | def test_coo(DMatrixT: Type[xgb.DMatrix], COO: Type) -> None: FILE: tests/python/test_with_shap.py function test_with_shap (line 19) | def test_with_shap() -> None: FILE: tests/python/test_with_sklearn.py function test_binary_classification (line 30) | def test_binary_classification(): function test_multiclass_classification (line 51) | def test_multiclass_classification(objective): function test_best_iteration (line 104) | def test_best_iteration(): function test_ranking (line 129) | def test_ranking(): function test_ranking_categorical (line 186) | def test_ranking_categorical() -> None: function test_ranking_metric (line 190) | def test_ranking_metric() -> None: function test_ranking_qid_df (line 221) | def test_ranking_qid_df(): function test_stacking_regression (line 227) | def test_stacking_regression(): function test_stacking_classification (line 247) | def test_stacking_classification(): function test_feature_importances_weight (line 270) | def test_feature_importances_weight(tmp_path: Path) -> None: function test_feature_importances_gain (line 346) | def test_feature_importances_gain(): function test_select_feature (line 400) | def test_select_feature(): function test_num_parallel_tree (line 414) | def test_num_parallel_tree(): function test_regression (line 439) | def test_regression(): function test_rf_regression (line 470) | def test_rf_regression(): function test_parameter_tuning (line 475) | def test_parameter_tuning(tree_method: str) -> None: function test_regression_with_custom_objective (line 491) | def test_regression_with_custom_objective(): function logregobj (line 522) | def logregobj(y_true, y_pred): function test_classification_with_custom_objective (line 529) | def test_classification_with_custom_objective(): function run_sklearn_api (line 573) | def run_sklearn_api(booster, error, n_est): function test_sklearn_api (line 591) | def test_sklearn_api(): function test_sklearn_plotting (line 598) | def test_sklearn_plotting(): function test_sklearn_nfolds_cv (line 628) | def test_sklearn_nfolds_cv(): function test_split_value_histograms (line 675) | def test_split_value_histograms(): function test_sklearn_random_state (line 701) | def test_sklearn_random_state(): function test_sklearn_n_jobs (line 717) | def test_sklearn_n_jobs(): function test_parameters_access (line 725) | def test_parameters_access(tmp_path: Path) -> None: function test_get_params_works_as_expected (line 797) | def test_get_params_works_as_expected(): function test_kwargs_error (line 823) | def test_kwargs_error(): function test_kwargs_grid_search (line 830) | def test_kwargs_grid_search(): function test_sklearn_clone (line 850) | def test_sklearn_clone(): function test_sklearn_get_default_params (line 858) | def test_sklearn_get_default_params(): function run_validation_weights (line 871) | def run_validation_weights(model): function test_validation_weights (line 942) | def test_validation_weights(): function test_RFECV (line 947) | def test_RFECV(): function test_XGBClassifier_resume (line 1004) | def test_XGBClassifier_resume(tmp_path: Path) -> None: function test_constraint_parameters (line 1042) | def test_constraint_parameters(): function test_parameter_validation (line 1058) | def test_parameter_validation(): function test_deprecate_position_arg (line 1075) | def test_deprecate_position_arg(): function test_pandas_input (line 1111) | def test_pandas_input(): function test_feature_weights (line 1159) | def test_feature_weights(tree_method): function test_boost_from_prediction (line 1202) | def test_boost_from_prediction(tree_method: str) -> None: function test_estimator_type (line 1226) | def test_estimator_type(tmp_path: Path) -> None: function test_multilabel_classification (line 1248) | def test_multilabel_classification() -> None: function test_data_initialization (line 1270) | def test_data_initialization() -> None: function test_estimator_reg (line 1278) | def test_estimator_reg(estimator, check): function test_categorical (line 1302) | def test_categorical(tmp_path: Path) -> None: function test_evaluation_metric (line 1332) | def test_evaluation_metric(): function test_mixed_metrics (line 1394) | def test_mixed_metrics() -> None: function test_weighted_evaluation_metric (line 1417) | def test_weighted_evaluation_metric(): function test_intercept (line 1467) | def test_intercept() -> None: function test_fit_none (line 1471) | def test_fit_none() -> None: function test_tags (line 1484) | def test_tags() -> None: function test_sklearn_tags (line 1502) | def test_sklearn_tags(): function test_doc_link (line 1551) | def test_doc_link() -> None: function test_apply_method (line 1564) | def test_apply_method() -> None: function test_recoding (line 1584) | def test_recoding() -> None: FILE: tests/python/with_omp_limit.py function run_omp (line 9) | def run_omp(output_path: str): FILE: tests/test_distributed/test_federated/test_federated.py function test_federated_learning (line 7) | def test_federated_learning(with_ssl: bool) -> None: FILE: tests/test_distributed/test_gpu_federated/test_gpu_federated.py function test_federated_learning (line 8) | def test_federated_learning(with_ssl: bool) -> None: FILE: tests/test_distributed/test_gpu_with_dask/conftest.py function setup_rmm_pool (line 9) | def setup_rmm_pool(request: Any, pytestconfig: pytest.Config) -> None: function local_cuda_client (line 14) | def local_cuda_client(request: Any, pytestconfig: pytest.Config) -> Gene... function pytest_addoption (line 32) | def pytest_addoption(parser: pytest.Parser) -> None: function pytest_collection_modifyitems (line 38) | def pytest_collection_modifyitems(config: pytest.Config, items: Sequence... FILE: tests/test_distributed/test_gpu_with_dask/test_gpu_demos.py function test_dask_training (line 17) | def test_dask_training() -> None: function test_dask_sklearn_demo (line 24) | def test_dask_sklearn_demo() -> None: function test_forward_logging_demo (line 32) | def test_forward_logging_demo() -> None: FILE: tests/test_distributed/test_gpu_with_dask/test_gpu_external_memory.py function test_external_memory (line 18) | def test_external_memory(is_qdm: bool) -> None: function test_extmem_qdm_distributed (line 35) | def test_extmem_qdm_distributed() -> None: FILE: tests/test_distributed/test_gpu_with_dask/test_gpu_ranking.py function test_no_group_split (line 18) | def test_no_group_split(local_cuda_client: Client) -> None: FILE: tests/test_distributed/test_gpu_with_dask/test_gpu_with_dask.py function run_with_dask_dataframe (line 57) | def run_with_dask_dataframe(DMatrixT: Type, client: Client) -> None: function run_with_dask_array (line 112) | def run_with_dask_array(DMatrixT: Type, client: Client) -> None: function to_cp (line 145) | def to_cp(x: Any, DMatrixT: Type) -> Any: function run_gpu_hist (line 155) | def run_gpu_hist( function test_tree_stats (line 206) | def test_tree_stats() -> None: class TestDistributedGPU (line 218) | class TestDistributedGPU: method test_boost_from_prediction (line 220) | def test_boost_from_prediction(self, local_cuda_client: Client) -> None: method test_init_estimation (line 233) | def test_init_estimation(self, local_cuda_client: Client) -> None: method test_uneven_nan (line 236) | def test_uneven_nan(self) -> None: method test_dask_dataframe (line 244) | def test_dask_dataframe(self, local_cuda_client: Client) -> None: method test_gpu_hist (line 263) | def test_gpu_hist( method test_gpu_approx (line 286) | def test_gpu_approx( method test_empty_quantile_dmatrix (line 296) | def test_empty_quantile_dmatrix(self, local_cuda_client: Client) -> None: method test_dask_array (line 317) | def test_dask_array(self, local_cuda_client: Client) -> None: method test_early_stopping (line 322) | def test_early_stopping(self, local_cuda_client: Client) -> None: method test_dask_classifier (line 374) | def test_dask_classifier(self, model: str, local_cuda_client: Client) ... method test_empty_dmatrix (line 382) | def test_empty_dmatrix(self, local_cuda_client: Client) -> None: method test_empty_partition (line 392) | def test_empty_partition(self, local_cuda_client: Client) -> None: method test_empty_dmatrix_auc (line 465) | def test_empty_dmatrix_auc(self, local_cuda_client: Client) -> None: method test_auc (line 469) | def test_auc(self, local_cuda_client: Client) -> None: method test_invalid_ordinal (line 472) | def test_invalid_ordinal(self, local_cuda_client: Client) -> None: method test_data_initialization (line 485) | def test_data_initialization(self, local_cuda_client: Client) -> None: method test_interface_consistency (line 517) | def test_interface_consistency(self) -> None: function test_categorical (line 583) | def test_categorical(tmp_path: Path, local_cuda_client: Client) -> None: function test_recode (line 593) | def test_recode(local_cuda_client: Client) -> None: function test_with_asyncio (line 604) | def test_with_asyncio(local_cuda_client: Client) -> None: function test_invalid_nccl (line 615) | def test_invalid_nccl(local_cuda_client: Client) -> None: function test_nccl_load (line 637) | def test_nccl_load(local_cuda_client: Client, tree_method: str) -> None: function run_from_dask_array_asyncio (line 675) | async def run_from_dask_array_asyncio(scheduler_address: str) -> dxgb.Tr... FILE: tests/test_distributed/test_with_dask/conftest.py function client_kwargs (line 13) | def client_kwargs(request: pytest.FixtureRequest) -> Dict[str, Any]: function client (line 27) | def client(client_kwargs: Dict[str, Any]) -> Generator[Client, None, None]: function client_as_current (line 34) | def client_as_current(request: pytest.FixtureRequest) -> Generator[None,... function client_one_worker (line 45) | def client_one_worker() -> Generator[Client, None, None]: FILE: tests/test_distributed/test_with_dask/test_demos.py function test_dask_cpu_training_demo (line 10) | def test_dask_cpu_training_demo() -> None: function test_dask_cpu_survival_demo (line 17) | def test_dask_cpu_survival_demo() -> None: function test_dask_callbacks_demo (line 26) | def test_dask_callbacks_demo() -> None: function test_dask_sklearn_demo (line 33) | def test_dask_sklearn_demo() -> None: FILE: tests/test_distributed/test_with_dask/test_external_memory.py function test_external_memory (line 13) | async def test_external_memory( FILE: tests/test_distributed/test_with_dask/test_ranking.py function test_dask_ranking (line 13) | def test_dask_ranking(client: Client) -> None: function test_no_group_split (line 62) | def test_no_group_split(client: Client) -> None: FILE: tests/test_distributed/test_with_dask/test_with_dask.py function generate_array (line 66) | def generate_array( function test_xgbclassifier_classes_type_and_value (line 80) | def test_xgbclassifier_classes_type_and_value(to_frame: bool, client: "C... function test_from_dask_dataframe (line 99) | def test_from_dask_dataframe(client: "Client") -> None: function test_from_dask_array (line 140) | def test_from_dask_array(client: "Client") -> None: function test_dask_sparse (line 168) | def test_dask_sparse(client: "Client") -> None: function run_categorical (line 193) | def run_categorical( function test_categorical (line 288) | def test_categorical(client: "Client", tmp_path: Path) -> None: function test_recode (line 300) | def test_recode(client: "Client") -> None: function test_dask_predict_shape_infer (line 304) | def test_dask_predict_shape_infer(client: "Client") -> None: function run_boost_from_prediction_multi_class (line 334) | def run_boost_from_prediction_multi_class( function run_boost_from_prediction (line 394) | def run_boost_from_prediction( function test_boost_from_prediction (line 460) | def test_boost_from_prediction(tree_method: str, client_one_worker: "Cli... function test_inplace_predict (line 479) | def test_inplace_predict(client: "Client") -> None: function test_dask_missing_value_reg (line 498) | def test_dask_missing_value_reg(client: "Client") -> None: function test_dask_missing_value_cls (line 518) | def test_dask_missing_value_cls(client: "Client") -> None: function test_dask_regressor (line 543) | def test_dask_regressor(model: str, client: "Client") -> None: function run_dask_classifier (line 584) | def run_dask_classifier( function test_dask_classifier (line 683) | def test_dask_classifier(model: str, client: "Client") -> None: function test_empty_dmatrix_training_continuation (line 695) | def test_empty_dmatrix_training_continuation(client: "Client") -> None: function run_empty_dmatrix_reg (line 727) | def run_empty_dmatrix_reg(client: "Client", parameters: dict) -> None: function run_empty_dmatrix_cls (line 783) | def run_empty_dmatrix_cls(client: "Client", parameters: dict) -> None: function run_empty_dmatrix_auc (line 830) | def run_empty_dmatrix_auc(client: "Client", device: str, n_workers: int)... function test_empty_dmatrix_auc (line 894) | def test_empty_dmatrix_auc(client: "Client") -> None: function run_auc (line 898) | def run_auc(client: "Client", device: str) -> None: function test_auc (line 929) | def test_auc(client: "Client") -> None: function test_empty_dmatrix (line 936) | def test_empty_dmatrix(tree_method: str, client: "Client") -> None: function run_from_dask_array_asyncio (line 944) | async def run_from_dask_array_asyncio(scheduler_address: str) -> dxgb.Tr... function run_dask_regressor_asyncio (line 966) | async def run_dask_regressor_asyncio(scheduler_address: str) -> None: function run_dask_classifier_asyncio (line 993) | async def run_dask_classifier_asyncio(scheduler_address: str) -> None: function test_with_asyncio (line 1037) | def test_with_asyncio(client: "Client") -> None: function generate_concurrent_trainings (line 1047) | async def generate_concurrent_trainings() -> None: function test_concurrent_trainings (line 1062) | def test_concurrent_trainings() -> None: function test_predict (line 1066) | def test_predict(client: "Client") -> None: function test_predict_with_meta (line 1092) | def test_predict_with_meta(client: "Client") -> None: function run_aft_survival (line 1114) | def run_aft_survival(client: "Client", dmatrix_t: Type) -> None: function test_dask_aft_survival (line 1150) | def test_dask_aft_survival(client: "Client") -> None: function test_dask_predict_leaf (line 1155) | def test_dask_predict_leaf(booster: str, client: "Client") -> None: function test_dask_iteration_range (line 1190) | def test_dask_iteration_range(client: "Client") -> None: function test_killed_task_wo_hang (line 1223) | def test_killed_task_wo_hang(client: "Client") -> None: function test_invalid_config (line 1252) | def test_invalid_config(client: "Client") -> None: function test_worker_port (line 1276) | def test_worker_port(client_one_worker: "Client") -> None: class TestWithDask (line 1286) | class TestWithDask: method test_dmatrix_binary (line 1287) | def test_dmatrix_binary(self, client: "Client", tmp_path: Path) -> None: method test_global_config (line 1329) | def test_global_config( method run_updater_test (line 1376) | def run_updater_test( method test_hist (line 1444) | def test_hist( method test_quantile_dmatrix (line 1455) | def test_quantile_dmatrix(self, client: Client) -> None: method test_empty_quantile_dmatrix (line 1489) | def test_empty_quantile_dmatrix(self, client: Client) -> None: method test_approx (line 1515) | def test_approx( method test_adaptive (line 1526) | def test_adaptive(self, client: "Client") -> None: method test_n_workers (line 1561) | def test_n_workers(self, client: "Client") -> None: method test_feature_weights (line 1600) | def test_feature_weights(self, client: "Client") -> None: method test_custom_objective (line 1641) | def test_custom_objective(self, client: "Client", tmp_path: Path) -> N... method test_custom_metrics (line 1691) | def test_custom_metrics(self, client: "Client") -> None: method test_no_duplicated_partition (line 1714) | def test_no_duplicated_partition(self) -> None: method test_data_initialization (line 1774) | def test_data_initialization(self, client: "Client") -> None: method run_shap (line 1787) | def run_shap( method run_shap_cls_sklearn (line 1828) | def run_shap_cls_sklearn(self, X: Any, y: Any, client: "Client") -> None: method test_shap (line 1845) | def test_shap(self, client: "Client") -> None: method run_shap_interactions (line 1861) | def run_shap_interactions( method test_shap_interactions (line 1888) | def test_shap_interactions(self, client: "Client") -> None: method test_sklearn_io (line 1896) | def test_sklearn_io(self, client: "Client", tmp_path: Path) -> None: function test_dask_unsupported_features (line 1941) | def test_dask_unsupported_features(client: "Client") -> None: function test_parallel_submits (line 1948) | def test_parallel_submits(client: "Client") -> None: function run_tree_stats (line 1981) | def run_tree_stats(client: Client, tree_method: str, device: str) -> str: function test_tree_stats (line 2028) | def test_tree_stats( function test_parallel_submit_multi_clients (line 2039) | def test_parallel_submit_multi_clients() -> None: function test_init_estimation (line 2084) | def test_init_estimation(client: Client) -> None: function test_uneven_nan (line 2089) | def test_uneven_nan(tree_method: str, client: "Client") -> None: class TestDaskCallbacks (line 2094) | class TestDaskCallbacks: method test_early_stopping (line 2096) | def test_early_stopping(self, client: "Client") -> None: method test_early_stopping_custom_eval (line 2160) | def test_early_stopping_custom_eval(self, client: "Client") -> None: method test_callback (line 2211) | def test_callback(self, client: "Client", tmp_path: Path) -> None: function test_worker_left (line 2244) | async def test_worker_left(c: Client, s: Scheduler, a: Worker, b: Worker... function test_worker_restarted (line 2270) | async def test_worker_restarted(c: Client, s: Scheduler, a: Nanny, b: Na... function test_doc_link (line 2288) | def test_doc_link() -> None: FILE: tests/test_distributed/test_with_spark/test_data.py function test_stack (line 19) | def test_stack() -> None: function run_dmatrix_ctor (line 37) | def run_dmatrix_ctor(is_feature_cols: bool, is_qdm: bool, on_gpu: bool) ... function test_dmatrix_ctor (line 121) | def test_dmatrix_ctor(is_feature_cols: bool, is_qdm: bool) -> None: function test_dmatrix_ctor_gpu (line 131) | def test_dmatrix_ctor_gpu(is_feature_cols: bool, is_qdm: bool) -> None: function test_read_csr_matrix_from_unwrapped_spark_vec (line 135) | def test_read_csr_matrix_from_unwrapped_spark_vec() -> None: FILE: tests/test_distributed/test_with_spark/test_spark.py function _to_bool (line 39) | def _to_bool(value: object) -> bool: function _probe_gpu_addresses (line 45) | def _probe_gpu_addresses() -> List[str]: function no_sparse_unwrap (line 93) | def no_sparse_unwrap() -> tm.PytestSkip: function _spark_test_mode (line 103) | def _spark_test_mode(spark: SparkSession) -> str: function _spark_test_device (line 107) | def _spark_test_device(spark: SparkSession) -> str: function spark (line 114) | def spark(request: pytest.FixtureRequest) -> Generator[SparkSession, Non... function num_workers (line 179) | def num_workers(spark: SparkSession) -> int: class TestRegressor (line 202) | class TestRegressor: method reg_data (line 204) | def reg_data(self, spark: SparkSession) -> RegData: method test_regressor (line 242) | def test_regressor( method test_training_continuation (line 330) | def test_training_continuation(self, reg_data: RegData) -> None: method test_regressor_with_base_margin (line 363) | def test_regressor_with_base_margin(self, reg_data: RegData) -> None: method test_regressor_save_load (line 389) | def test_regressor_save_load(self, reg_data: RegData, tmp_path: Path) ... method test_regressor_params (line 411) | def test_regressor_params(self) -> None: method test_valid_type (line 429) | def test_valid_type(self, spark: SparkSession) -> None: method test_callbacks (line 448) | def test_callbacks( method test_empty_train_data (line 490) | def test_empty_train_data(self, spark: SparkSession, tree_method: str)... class TestClassifier (line 531) | class TestClassifier: method clf_data (line 533) | def clf_data(self, spark: SparkSession) -> ClfData: method test_classifier (line 570) | def test_classifier( method test_classifier_model_save_load (line 632) | def test_classifier_model_save_load( method test_classifier_model_pipeline_save_load (line 660) | def test_classifier_model_pipeline_save_load( method test_classifier_params (line 692) | def test_classifier_params(self) -> None: method test_empty_validation_data (line 723) | def test_empty_validation_data(self, spark: SparkSession, tree_method:... method test_empty_partition (line 748) | def test_empty_partition(self, spark: SparkSession, tree_method: str) ... method test_classifier_with_cross_validator (line 769) | def test_classifier_with_cross_validator(self, clf_data: ClfData) -> N... method test_convert_to_sklearn_model_clf (line 785) | def test_convert_to_sklearn_model_clf(self, clf_data: ClfData) -> None: method test_classifier_array_col_as_feature (line 806) | def test_classifier_array_col_as_feature(self, clf_data: ClfData) -> N... method test_classifier_with_feature_names_types (line 845) | def test_classifier_with_feature_names_types(self, clf_data: ClfData) ... method test_early_stop_param_validation (line 856) | def test_early_stop_param_validation(self, clf_data: ClfData) -> None: method test_classifier_with_list_eval_metric (line 861) | def test_classifier_with_list_eval_metric(self, clf_data: ClfData) -> ... method test_classifier_with_sparse_optim (line 867) | def test_classifier_with_sparse_optim(self, spark: SparkSession) -> None: method test_param_alias (line 896) | def test_param_alias(self) -> None: method test_param_value_converter (line 905) | def test_param_value_converter(self) -> None: method test_device_and_gpu_params (line 916) | def test_device_and_gpu_params(self, clf_data: ClfData) -> None: method test_gpu_transform (line 941) | def test_gpu_transform(self, clf_data: ClfData, tmp_path: Path) -> None: method test_validate_gpu_params (line 970) | def test_validate_gpu_params(self) -> None: method test_skip_stage_level_scheduling (line 1089) | def test_skip_stage_level_scheduling(self) -> None: method test_collective_conf (line 1209) | def test_collective_conf(self, spark: SparkSession, tmp_path: Path) ->... class TestPySparkLocalLETOR (line 1287) | class TestPySparkLocalLETOR: method ltr_data (line 1289) | def ltr_data(self, spark: SparkSession) -> LTRData: method test_ranker (line 1344) | def test_ranker(self, ltr_data: LTRData) -> None: method test_ranker_same_qid_in_same_partition (line 1378) | def test_ranker_same_qid_in_same_partition(self, spark: SparkSession) ... method test_ranker_xgb_summary (line 1409) | def test_ranker_xgb_summary(self, ltr_data: LTRData) -> None: FILE: tests/test_distributed/test_with_spark/utils.py class UtilsTest (line 11) | class UtilsTest(unittest.TestCase): method test_get_default_params (line 12) | def test_get_default_params(self):