MCPcopy Create free account

hub / github.com/dmlc/xgboost / functions

Functions6,719 in github.com/dmlc/xgboost

↓ 2 callersFunctioncompute_s3_url
(*, s3_bucket: str, prefix: str, artifact: str)
ops/pipeline/manage-artifacts.py:23
↓ 2 callersMethodcreateFromDenseMatrix
()
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/DMatrixTest.java:261
↓ 2 callersFunctioncreate_dmatrix_from_partitions
Create DMatrix from spark data partitions. Parameters ---------- iterator : Pyspark partition iterator. feature_cols:
python-package/xgboost/spark/data.py:174
↓ 2 callersMethodcrossValidation
Cross-validation with given parameters. @param data Data to be trained. @param params Booster params. @param round Number of boosting iteration
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java:444
↓ 2 callersFunctionctypes2buffer
Convert ctypes pointer to buffer type.
python-package/xgboost/core.py:219
↓ 2 callersFunctioncustom_rmse_model
Train using Python implementation of Squared Error.
demo/guide-python/multioutput_regression.py:69
↓ 2 callersFunctioncv
Cross-validation with given parameters. Parameters ---------- params : dict Booster params. dtrain : Data to be train
python-package/xgboost/training.py:435
↓ 2 callersMethoddata
()
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/OsDetectionTest.java:51
↓ 2 callersMethoddata_split_mode
Get the data split mode of the DMatrix. .. versionadded:: 2.1.0
python-package/xgboost/core.py:1194
↓ 2 callersFunctiondemo_dir
Look for the demo directory based on the test file name.
python-package/xgboost/testing/__init__.py:716
↓ 2 callersMethoddetectArch
Detects the chip architecture using the system properties. Throws IllegalStateException if the architecture is not recognized. @return The architectur
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java:100
↓ 2 callersMethoddetectOS
Detects the OS using the system properties. Throws IllegalStateException if the OS is not recognized. @return The OS.
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java:62
↓ 2 callersFunctiondevice_mem_total
The total number of bytes of memory this GPU has.
demo/guide-python/external_memory.py:57
↓ 2 callersMethoddispose
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:913
↓ 2 callersMethoddispose
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/util/BigDenseMatrix.java:68
↓ 2 callersMethoddmatrixsToHandles
transfer DMatrix array to handle array (used for native functions) @param dmatrixs @return handle array for input dmatrixs
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:875
↓ 2 callersMethoddump_model
Dump model into a text or JSON file. Unlike :py:meth:`save_model`, the output format is primarily used for visualization or interpretation,
python-package/xgboost/core.py:2918
↓ 2 callersMethodend
NOLINT
include/xgboost/string_view.h:55
↓ 2 callersMethodeval_error_metric
( predt: np.ndarray, dtrain: xgb.DMatrix )
tests/test_distributed/test_with_dask/test_with_dask.py:2167
↓ 2 callersMethodexecuteAndRestoreProperty
(Runnable action)
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/ArchDetectionTest.java:84
↓ 2 callersMethodexecuteAndRestoreProperty
(Runnable action)
jvm-packages/xgboost4j/src/test/java/ml/dmlc/xgboost4j/java/OsDetectionTest.java:82
↓ 2 callersFunctionf
The function to predict.
demo/guide-python/prediction_intervals.py:34
↓ 2 callersFunctionfit
(ltr: xgboost.XGBRanker)
tests/python/test_ranking.py:75
↓ 2 callersMethodflatten
flatten a mat to array
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:210
↓ 2 callersFunctionfpreproc
(dtrain, dtest, param)
demo/kaggle-higgs/higgs-cv.py:20
↓ 2 callersFunctiongen_circle
Generate a sample dataset that y is a 2 dim circle.
demo/guide-python/multioutput_regression.py:39
↓ 2 callersMethodgenerate_parameters
(self)
tests/python/test_training_continuation.py:19
↓ 2 callersMethodgetAttrs
Get attributes stored in the Booster as a Map. @return A map contain attribute pairs. @throws XGBoostError native error
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:134
↓ 2 callersMethodgetFeatureImportanceFromModel
Get the importance of each feature based on information gain or cover @return featureImportanceMap key: feature index, value: feature importance scor
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:758
↓ 2 callersMethodgetFeatureNames
Get feature names @return an array of feature names to be returned @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:271
↓ 2 callersMethodgetFeatureTypes
Get feature types @return an array of feature types to be returned @throws XGBoostError
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:291
↓ 2 callersMethodgetGradient
user define objective function, return gradient and second order gradient @param predicts untransformed margin predicts @param dtrain training data
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/IObjective.java:34
↓ 2 callersMethodgetNumBoostedRound
()
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:847
↓ 2 callersMethodgetPropertyNameForLibrary
(String libName)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/NativeLibLoader.java:122
↓ 2 callersMethodgetXGBDMatrixFeatureInfo
(String type)
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/DMatrix.java:251
↓ 2 callersFunctionget_avail_port
Returns a port that's available during the function call. It doesn't prevent the port from being used after the function returns as we can't reser
python-package/xgboost/testing/collective.py:6
↓ 2 callersFunctionget_branch
Guess the git branch.
doc/conf.py:65
↓ 2 callersFunctionget_config
()
python-package/xgboost/config.py:147
↓ 2 callersFunctionget_data
Generate reproducible synthetic classification data.
tests/cross-platform/test_cross_platform_model.py:21
↓ 2 callersMethodget_handle
Internal method for retrieving the handle.
python-package/xgboost/_data_utils.py:648
↓ 2 callersFunctionget_logger_level
Get the logger level for the given log name
python-package/xgboost/spark/utils.py:102
↓ 2 callersFunctionget_n_bytes
(typ: Type)
python-package/xgboost/_data_utils.py:336
↓ 2 callersFunctionget_sha
Get the commit hash for the current documentation build.
doc/conf.py:95
↓ 2 callersFunctiongroups_to_rows
Given group row boundaries, convert ground indexes to row indexes :param groups: list of groups for testing :param boundaries: rows index
python-package/xgboost/training.py:297
↓ 2 callersFunctionhist_train
( client: Client, X: da.Array, y: da.Array, monitor: EvaluationMonitor )
demo/dask/forward_logging.py:75
↓ 2 callersMethodinit
Initialize the collective communicator on current working thread. @param envs The additional environment variables to pass to the communicator. @thro
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Communicator.java:67
↓ 2 callersFunctionis_arrow_dict
Is this an arrow dictionary array?
python-package/xgboost/_data_utils.py:228
↓ 2 callersMethodis_categorical
Whether a node has categorical split.
demo/guide-python/model_parser.py:85
↓ 2 callersFunctionis_cudf_available
Check cuDF package available or not
python-package/xgboost/compat.py:76
↓ 2 callersFunctionis_cudf_cat
(_: Any)
python-package/xgboost/testing/ordinal.py:132
↓ 2 callersFunctionis_cupy_available
Check cupy package available or not
python-package/xgboost/compat.py:90
↓ 2 callersFunctionis_pa_ext_categorical_dtype
Check whether dtype is a dictionary type.
python-package/xgboost/data.py:434
↓ 2 callersFunctionis_pa_ext_dtype
Return whether dtype is a pyarrow extension type for pandas
python-package/xgboost/data.py:429
↓ 2 callersFunctionis_pyarrow_available
Check pyarrow package available or not
python-package/xgboost/compat.py:114
↓ 2 callersFunctionis_scipy_coo
Predicate for scipy COO input.
python-package/xgboost/data.py:233
↓ 2 callersFunctionis_scipy_csc
Predicate for scipy CSC input.
python-package/xgboost/data.py:185
↓ 2 callersMethodloadMetadataAndInstance
Load the metadata and the instance of an xgboost.spark._SparkXGBEstimator or xgboost.spark._SparkXGBModel. :return: a tuple
python-package/xgboost/spark/core.py:1627
↓ 2 callersFunctionload_mslr_10k
Load the MSLR10k dataset from data_path and save parquet files in the cache_path.
demo/dask/dask_learning_to_rank.py:32
↓ 2 callersFunctionload_mslr_10k
Load the MSLR10k dataset from data_path and cache a pickle object in cache_path. Returns ------- A list of tuples [(X, y, qid), ...].
demo/guide-python/learning_to_rank.py:34
↓ 2 callersFunctionlocate_local_libxgboost
Locate libxgboost from the local project directory's lib/ subdirectory.
python-package/packager/nativelib.py:110
↓ 2 callersFunctionltr_metric_decorator
Decorate a learning to rank metric.
python-package/xgboost/sklearn.py:187
↓ 2 callersFunctionmain
Entry point for training.
demo/guide-python/external_memory.py:173
↓ 2 callersFunctionmake_array_interface
Make an __(cuda)_array_interface__ from a pointer.
python-package/xgboost/_data_utils.py:194
↓ 2 callersFunctionmake_batches_sparse
( n_samples_per_batch: int, n_features: int, n_batches: int, sparsity: float )
python-package/xgboost/testing/__init__.py:227
↓ 2 callersFunctionmake_blob
(part: pd.DataFrame, is_valid: bool)
python-package/xgboost/spark/data.py:44
↓ 2 callersFunctionmake_categorical
Generate categorical features for test. Parameters ---------- n_categories: Number of categories for categorical features. on
python-package/xgboost/testing/data.py:1011
↓ 2 callersFunctionmake_categorical
Make some random data for demo.
demo/guide-python/categorical.py:29
↓ 2 callersFunctionmake_datasets_with_margin
Factory function for creating strategies that generates datasets with weight and base margin.
python-package/xgboost/testing/__init__.py:418
↓ 2 callersFunctionmake_example_data
Generate data for demo.
demo/guide-python/cat_pipeline.py:34
↓ 2 callersFunctionmake_model
()
tests/test_distributed/test_gpu_with_dask/test_gpu_with_dask.py:640
↓ 2 callersFunctionmixture_2comp
( means: List[float], sigmas: List[float], weights: List[float] )
python-package/xgboost/testing/data.py:262
↓ 2 callersFunctionno_group_split
A function to prevent query group from being scattered to different workers. Please see the tutorial in the document for the implication for not h
python-package/xgboost/dask/data.py:133
↓ 2 callersFunctionoperator[]
include/xgboost/span.h:545
↓ 2 callersFunctionpandas_pa_type
Handle pandas pyarrow extention.
python-package/xgboost/data.py:491
↓ 2 callersMethodparse_dumped_model
(self, booster, item_to_get, splitter)
tests/python/test_parse_tree.py:25
↓ 2 callersFunctionpd_dtypes
Enumerate all supported pandas extension types.
python-package/xgboost/testing/data.py:108
↓ 2 callersFunctionpick_ref_categories
Use the reference categories from the model. If none, then use the reference categories from the training DMatrix. Parameters ----------
python-package/xgboost/sklearn.py:651
↓ 2 callersFunctionpkgroot
Change makefiles according to the package layout.
ops/script/test_r_package.py:29
↓ 2 callersFunctionplot_band
( ax: "plt.Axes", pred: np.ndarray, title: str, center_label: str )
demo/guide-python/prediction_intervals.py:150
↓ 2 callersFunctionplot_censored_labels
Function to visualize censored labels
demo/aft_survival/aft_survival_viz_demo.py:18
↓ 2 callersFunctionplot_predt
( y: np.ndarray, y_predt: np.ndarray, name: str, ax: matplotlib.axes.Axes )
demo/guide-python/multioutput_regression.py:30
↓ 2 callersFunctionpred_contribs
Predict contributions with data with the full model.
python-package/xgboost/spark/data.py:342
↓ 2 callersMethodpredict
predict with the given DMatrix @param testSet the local test set represented as DMatrix @return prediction result
jvm-packages/xgboost4j-flink/src/main/java/ml/dmlc/xgboost4j/java/flink/XGBoostModel.java:85
↓ 2 callersMethodpredictLeaf
Predict leaf indices given the data @param data The input data. @param treeLimit Number of trees to include, 0 means all trees. @return The leaf indi
jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java:494
↓ 2 callersFunctionprint_time
Print all recorded items by :py:func:`record_time`.
ops/script/test_utils.py:62
↓ 2 callersFunctionprocess
Process a file.
ops/script/lint_cpp.py:125
↓ 2 callersFunctionreplace_inf
(x: np.ndarray, target_value: float)
demo/aft_survival/aft_survival_viz_demo.py:23
↓ 2 callersFunctionresolve
(x: Path)
ops/pipeline/manage-artifacts.py:15
↓ 2 callersFunctionretrieve
Retrieve a file from a URL with progress indication.
ops/script/release_artifacts.py:46
↓ 2 callersFunctionretrieve
(url, filename=None)
dev/prepare_jvm_release.py:101
↓ 2 callersFunctionrmse_model
Draw a circle with 2-dim coordinate as target variables.
demo/guide-python/multioutput_regression.py:50
↓ 2 callersFunctionrun
(v: float)
python-package/xgboost/testing/intercept.py:249
↓ 2 callersFunctionrun_absolute_error
Test mean absolute error with vector leaf.
python-package/xgboost/testing/multi_target.py:141
↓ 2 callersFunctionrun_adaptive
Test for adaptive trees.
python-package/xgboost/testing/intercept.py:133
↓ 2 callersFunctionrun_auc
(client: "Client", device: str)
tests/test_distributed/test_with_dask/test_with_dask.py:898
↓ 2 callersFunctionrun_base_margin_vs_base_score
Test for the relation between score and margin.
python-package/xgboost/testing/predict.py:70
↓ 2 callersFunctionrun_boost_from_prediction
( X: dd.DataFrame, y: dd.Series, tree_method: str, device: str, client: "Client", )
tests/test_distributed/test_with_dask/test_with_dask.py:394
↓ 2 callersFunctionrun_boost_from_prediction_multi_class
( X: dd.DataFrame, y: dd.Series, tree_method: str, device: str, client: "Client", )
tests/test_distributed/test_with_dask/test_with_dask.py:334
↓ 2 callersFunctionrun_booster_check
(booster: xgboost.Booster, name: str)
tests/python/test_model_compatibility.py:29
↓ 2 callersFunctionrun_cat_container
Basic tests for the container class used by the DMatrix.
python-package/xgboost/testing/ordinal.py:66
← previousnext →1,901–2,000 of 6,719, ranked by callers