xgboost 3.2.0
Version history | Download JSON
-
PyPI https://pypi.org/project/xgboost/ Repository https://github.com/dmlc/xgboost -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 1789 "Any" : 80 "Untyped" : 149 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 861 "classes" : 992 "other" : 31- 272 functions (+3 overloads)
- 589 parameters
- 75 classes
- 267 methods (+0 overloads)
- 699 parameters
- 20 properties
- 267 methods (+0 overloads)
- 47 modules
- 31 attrs
- 272 functions (+3 overloads)
Modules
Incomplete Annotations
xgboost.callback (13 missing, 25 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
LearningRateScheduler.after_iteration |
4 | 4 | 1 |
attr |
LearningRateScheduler.learning_rates |
1 | 0 | 0 |
meth |
EarlyStopping.before_training |
2 | 2 | 2 |
meth |
EarlyStopping._update_rounds |
6 | 6 | 1 |
meth |
EarlyStopping.after_iteration |
4 | 4 | 1 |
meth |
EarlyStopping.after_training |
2 | 2 | 2 |
attr |
EarlyStopping.data |
1 | 0 | 0 |
attr |
EarlyStopping.metric_name |
1 | 0 | 0 |
attr |
EarlyStopping.rounds |
1 | 0 | 0 |
attr |
EarlyStopping.save_best |
1 | 0 | 0 |
attr |
EarlyStopping.maximize |
1 | 0 | 0 |
meth |
TrainingCheckPoint.before_training |
2 | 2 | 2 |
meth |
TrainingCheckPoint.after_iteration |
4 | 4 | 1 |
meth |
CallbackContainer.before_training |
2 | 2 | 2 |
meth |
CallbackContainer.after_training |
2 | 2 | 2 |
meth |
CallbackContainer.before_iteration |
5 | 5 | 1 |
meth |
CallbackContainer.after_iteration |
5 | 5 | 1 |
attr |
CallbackContainer.callbacks |
1 | 0 | 0 |
attr |
CallbackContainer.metric |
1 | 0 | 0 |
attr |
CallbackContainer.is_cv |
1 | 0 | 0 |
meth |
EvaluationMonitor.init |
5 | 4 | 0 |
meth |
EvaluationMonitor.after_iteration |
4 | 4 | 1 |
meth |
EvaluationMonitor.after_training |
2 | 2 | 2 |
attr |
EvaluationMonitor.printer_rank |
1 | 0 | 0 |
attr |
EvaluationMonitor.show_stdv |
1 | 0 | 0 |
attr |
EvaluationMonitor.period |
1 | 0 | 0 |
meth |
TrainingCallback.before_training |
2 | 2 | 2 |
meth |
TrainingCallback.after_training |
2 | 2 | 2 |
meth |
TrainingCallback.before_iteration |
4 | 4 | 1 |
meth |
TrainingCallback.after_iteration |
4 | 4 | 1 |
xgboost.collective (2 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
LOGGER |
1 | 0 | 0 |
func |
communicator_print |
2 | 2 | 1 |
meth |
CommunicatorContext.exit |
2 | 2 | 1 |
attr |
CommunicatorContext.args |
1 | 0 | 0 |
xgboost.compat (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
lazy_isinstance |
4 | 4 | 1 |
xgboost.config (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
set_config |
2 | 2 | 1 |
func |
config_context |
2 | 2 | 1 |
xgboost.core (16 missing, 4 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
DataIter.cache_prefix |
1 | 0 | 0 |
attr |
DataIter.on_host |
1 | 0 | 0 |
attr |
DataIter.min_cache_page_bytes |
1 | 0 | 0 |
attr |
DMatrix.missing |
1 | 0 | 0 |
attr |
DMatrix.nthread |
1 | 0 | 0 |
attr |
DMatrix.silent |
1 | 0 | 0 |
attr |
DMatrix.handle |
1 | 0 | 0 |
attr |
DMatrix.feature_names |
1 | 0 | 0 |
attr |
DMatrix.feature_types |
1 | 0 | 0 |
meth |
Booster.deepcopy |
2 | 2 | 1 |
meth |
Booster.inplace_predict |
8 | 8 | 1 |
attr |
ExtMemQuantileDMatrix.max_bin |
1 | 0 | 0 |
attr |
ExtMemQuantileDMatrix.missing |
1 | 0 | 0 |
attr |
ExtMemQuantileDMatrix.nthread |
1 | 0 | 0 |
meth |
QuantileDMatrix._init |
6 | 6 | 1 |
attr |
QuantileDMatrix.max_bin |
1 | 0 | 0 |
attr |
QuantileDMatrix.missing |
1 | 0 | 0 |
attr |
QuantileDMatrix.nthread |
1 | 0 | 0 |
attr |
QuantileDMatrix.handle |
1 | 0 | 0 |
func |
make_jcargs |
2 | 2 | 1 |
xgboost.dask (7 missing, 7 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
DaskXGBRanker.init |
5 | 5 | 1 |
attr |
DaskXGBRanker.allow_group_split |
1 | 0 | 0 |
func |
predict |
13 | 13 | 1 |
meth |
DaskXGBRFRegressor.init |
7 | 7 | 1 |
meth |
DaskXGBClassifier.predict_proba |
5 | 5 | 1 |
func |
inplace_predict |
10 | 10 | 1 |
attr |
DaskDMatrix.feature_names |
1 | 0 | 0 |
attr |
DaskDMatrix.feature_types |
1 | 0 | 0 |
attr |
DaskDMatrix.missing |
1 | 0 | 0 |
attr |
DaskDMatrix.enable_categorical |
1 | 0 | 0 |
attr |
DaskQuantileDMatrix.max_bin |
1 | 0 | 0 |
attr |
DaskQuantileDMatrix.max_quantile_batches |
1 | 0 | 0 |
func |
train |
13 | 13 | 1 |
meth |
DaskXGBRFClassifier.init |
7 | 7 | 1 |
xgboost.dask.data (1 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
LOGGER |
1 | 0 | 0 |
meth |
DaskPartitionIter.data |
1 | 1 | 1 |
xgboost.dask.utils (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
LOGGER |
1 | 0 | 0 |
xgboost.data (5 missing, 5 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
pandas_pa_type |
2 | 2 | 1 |
attr |
CudfTransformed.columns |
1 | 0 | 0 |
meth |
SingleBatchInternalIter.init |
2 | 2 | 1 |
attr |
SingleBatchInternalIter.kwargs |
1 | 0 | 0 |
attr |
SingleBatchInternalIter.it |
1 | 0 | 0 |
func |
is_pa_ext_dtype |
2 | 2 | 1 |
attr |
PandasTransformed.columns |
1 | 0 | 0 |
func |
is_pa_ext_categorical_dtype |
2 | 2 | 1 |
func |
is_on_cuda |
2 | 2 | 1 |
attr |
ArrowTransformed.columns |
1 | 0 | 0 |
xgboost.federated (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
FederatedTracker.handle |
1 | 0 | 0 |
xgboost.plotting (0 missing, 6 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
plot_tree |
9 | 9 | 2 |
func |
to_graphviz |
12 | 12 | 2 |
func |
plot_importance |
16 | 16 | 2 |
xgboost.sklearn (43 missing, 10 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
XGBRFClassifier.init |
6 | 5 | 1 |
meth |
XGBRegressor.init |
3 | 3 | 1 |
meth |
XGBRanker.init |
3 | 2 | 1 |
meth |
XGBRanker._create_ltr_dmatrix |
5 | 5 | 1 |
meth |
XGBModel.init |
42 | 42 | 1 |
meth |
XGBModel.set_params |
2 | 2 | 1 |
meth |
XGBModel._create_dmatrix |
3 | 3 | 1 |
attr |
XGBModel.n_estimators |
1 | 0 | 0 |
attr |
XGBModel.objective |
1 | 0 | 0 |
attr |
XGBModel.max_depth |
1 | 0 | 0 |
attr |
XGBModel.max_leaves |
1 | 0 | 0 |
attr |
XGBModel.max_bin |
1 | 0 | 0 |
attr |
XGBModel.grow_policy |
1 | 0 | 0 |
attr |
XGBModel.learning_rate |
1 | 0 | 0 |
attr |
XGBModel.verbosity |
1 | 0 | 0 |
attr |
XGBModel.booster |
1 | 0 | 0 |
attr |
XGBModel.tree_method |
1 | 0 | 0 |
attr |
XGBModel.gamma |
1 | 0 | 0 |
attr |
XGBModel.min_child_weight |
1 | 0 | 0 |
attr |
XGBModel.max_delta_step |
1 | 0 | 0 |
attr |
XGBModel.subsample |
1 | 0 | 0 |
attr |
XGBModel.sampling_method |
1 | 0 | 0 |
attr |
XGBModel.colsample_bytree |
1 | 0 | 0 |
attr |
XGBModel.colsample_bylevel |
1 | 0 | 0 |
attr |
XGBModel.colsample_bynode |
1 | 0 | 0 |
attr |
XGBModel.reg_alpha |
1 | 0 | 0 |
attr |
XGBModel.reg_lambda |
1 | 0 | 0 |
attr |
XGBModel.scale_pos_weight |
1 | 0 | 0 |
attr |
XGBModel.base_score |
1 | 0 | 0 |
attr |
XGBModel.missing |
1 | 0 | 0 |
attr |
XGBModel.num_parallel_tree |
1 | 0 | 0 |
attr |
XGBModel.random_state |
1 | 0 | 0 |
attr |
XGBModel.n_jobs |
1 | 0 | 0 |
attr |
XGBModel.monotone_constraints |
1 | 0 | 0 |
attr |
XGBModel.interaction_constraints |
1 | 0 | 0 |
attr |
XGBModel.importance_type |
1 | 0 | 0 |
attr |
XGBModel.device |
1 | 0 | 0 |
attr |
XGBModel.validate_parameters |
1 | 0 | 0 |
attr |
XGBModel.enable_categorical |
1 | 0 | 0 |
attr |
XGBModel.feature_types |
1 | 0 | 0 |
attr |
XGBModel.feature_weights |
1 | 0 | 0 |
attr |
XGBModel.max_cat_to_onehot |
1 | 0 | 0 |
attr |
XGBModel.max_cat_threshold |
1 | 0 | 0 |
attr |
XGBModel.multi_strategy |
1 | 0 | 0 |
attr |
XGBModel.eval_metric |
1 | 0 | 0 |
attr |
XGBModel.early_stopping_rounds |
1 | 0 | 0 |
attr |
XGBModel.callbacks |
1 | 0 | 0 |
attr |
XGBModel.kwargs |
1 | 0 | 0 |
meth |
XGBClassifier.init |
3 | 3 | 1 |
meth |
XGBRFRegressor.init |
6 | 6 | 1 |
func |
pick_ref_categories |
4 | 4 | 1 |
xgboost.spark.core (9 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
SparkXGBModelReader.cls |
1 | 0 | 0 |
attr |
SparkXGBModelReader.logger |
1 | 0 | 0 |
attr |
SparkXGBModelWriter.instance |
1 | 0 | 0 |
attr |
SparkXGBModelWriter.logger |
1 | 0 | 0 |
attr |
SparkXGBReader.cls |
1 | 0 | 0 |
attr |
SparkXGBReader.logger |
1 | 0 | 0 |
attr |
pred |
1 | 0 | 0 |
attr |
SparkXGBWriter.instance |
1 | 0 | 0 |
attr |
SparkXGBWriter.logger |
1 | 0 | 0 |
xgboost.spark.data (1 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
PartIter.init |
4 | 4 | 1 |
attr |
alias |
1 | 0 | 0 |
xgboost.spark.estimator (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
SparkXGBClassifier.init |
18 | 18 | 1 |
meth |
SparkXGBRanker.init |
17 | 17 | 1 |
meth |
SparkXGBRegressor.init |
16 | 16 | 1 |
xgboost.spark.params (4 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
HasFeaturesCols.features_cols |
1 | 0 | 0 |
attr |
HasBaseMarginCol.base_margin_col |
1 | 0 | 0 |
attr |
HasEnableSparseDataOptim.enable_sparse_data_optim |
1 | 0 | 0 |
attr |
HasQueryIdCol.qid_col |
1 | 0 | 0 |
xgboost.testing (11 missing, 8 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
sparse_datasets_strategy |
1 | 0 | 0 |
attr |
TestDataset.name |
1 | 0 | 0 |
attr |
TestDataset.objective |
1 | 0 | 0 |
attr |
TestDataset.metric |
1 | 0 | 0 |
attr |
datasets |
1 | 0 | 0 |
attr |
multi_dataset_strategy |
1 | 0 | 0 |
func |
timeout |
5 | 5 | 3 |
func |
setup_rmm_pool |
3 | 3 | 1 |
meth |
DirectoryExcursion.init |
3 | 2 | 0 |
meth |
DirectoryExcursion.exit |
2 | 2 | 1 |
attr |
DirectoryExcursion.path |
1 | 0 | 0 |
attr |
DirectoryExcursion.curdir |
1 | 0 | 0 |
attr |
DirectoryExcursion.cleanup |
1 | 0 | 0 |
func |
no_multiple |
2 | 2 | 1 |
func |
run_with_rabit |
5 | 5 | 2 |
attr |
hypothesis |
1 | 0 | 0 |
xgboost.testing.dask (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
get_rabit_args |
3 | 3 | 1 |
xgboost.testing.data (8 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
IteratorForTest.X |
1 | 0 | 0 |
attr |
IteratorForTest.y |
1 | 0 | 0 |
attr |
IteratorForTest.w |
1 | 0 | 0 |
attr |
IteratorForTest.it |
1 | 0 | 0 |
attr |
joblib |
1 | 0 | 0 |
attr |
PBM.click_prob |
1 | 0 | 0 |
attr |
PBM.exam_prob |
1 | 0 | 0 |
attr |
memory |
1 | 0 | 0 |
xgboost.testing.data_iter (6 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
CatIter.n_batches |
1 | 0 | 0 |
attr |
CatIter.device |
1 | 0 | 0 |
attr |
CatIter.xs |
1 | 0 | 0 |
attr |
CatIter.ys |
1 | 0 | 0 |
attr |
CatIter.x |
1 | 0 | 0 |
attr |
CatIter.y |
1 | 0 | 0 |
xgboost.testing.monotone_constraints (6 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
x |
1 | 0 | 0 |
attr |
y |
1 | 0 | 0 |
attr |
x2_negatively_correlated_with_y |
1 | 0 | 0 |
attr |
training_dset |
1 | 0 | 0 |
attr |
zs |
1 | 0 | 0 |
attr |
x1_positively_correlated_with_y |
1 | 0 | 0 |
xgboost.testing.multi_target (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
LsObj1.device |
1 | 0 | 0 |
attr |
LsObj0.device |
1 | 0 | 0 |
meth |
LsObj2.init |
3 | 2 | 0 |
xgboost.testing.ordinal (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
asarray |
3 | 3 | 1 |
xgboost.testing.params (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
strategies |
1 | 0 | 0 |
attr |
hist_cache_strategy |
1 | 0 | 0 |
attr |
hist_multi_parameter_strategy |
1 | 0 | 0 |
attr |
lambdarank_parameter_strategy |
1 | 0 | 0 |
attr |
hist_parameter_strategy |
1 | 0 | 0 |
attr |
exact_parameter_strategy |
1 | 0 | 0 |
attr |
cat_parameter_strategy |
1 | 0 | 0 |
xgboost.testing.updater (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
check_cut |
5 | 5 | 1 |
xgboost.testing.utils (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
assert_allclose |
6 | 6 | 2 |
xgboost.tracker (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
RabitTracker.handle |
1 | 0 | 0 |
xgboost.training (4 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
CVPack.dtrain |
1 | 0 | 0 |
attr |
CVPack.dtest |
1 | 0 | 0 |
attr |
CVPack.watchlist |
1 | 0 | 0 |
attr |
CVPack.bst |
1 | 0 | 0 |
Type-Ignore Comments
| Flavor | Count |
|---|---|
type: ignore[no-redef] |
3 |