Skip to content

Latest commit

 

History

History
175 lines (132 loc) · 3.49 KB

python_api.rst

File metadata and controls

175 lines (132 loc) · 3.49 KB

Python API Reference

This page gives the Python API reference of xgboost, please also refer to Python Package Introduction for more information about the Python package.

Global Configuration

xgboost.config_context

xgboost.set_config

xgboost.get_config

Core Data Structure

xgboost.core

xgboost.DMatrix

xgboost.DeviceQuantileDMatrix

xgboost.Booster

Learning API

xgboost.training

xgboost.train

xgboost.cv

Scikit-Learn API

xgboost.sklearn

xgboost.XGBRegressor

xgboost.XGBClassifier

xgboost.XGBRanker

xgboost.XGBRFRegressor

xgboost.XGBRFClassifier

Plotting API

xgboost.plotting

xgboost.plot_importance

xgboost.plot_tree

xgboost.to_graphviz

Callback API

xgboost.callback

xgboost.callback.TrainingCallback

xgboost.callback.EvaluationMonitor

xgboost.callback.EarlyStopping

xgboost.callback.LearningRateScheduler

xgboost.callback.TrainingCheckPoint

Dask API

xgboost.dask

xgboost.dask.DaskDMatrix

xgboost.dask.DaskDeviceQuantileDMatrix

xgboost.dask.train

xgboost.dask.predict

xgboost.dask.inplace_predict

xgboost.dask.DaskXGBClassifier

xgboost.dask.DaskXGBRegressor

xgboost.dask.DaskXGBRanker

xgboost.dask.DaskXGBRFRegressor

xgboost.dask.DaskXGBRFClassifier

PySpark API

xgboost.spark

xgboost.spark.SparkXGBClassifier

xgboost.spark.SparkXGBClassifierModel

xgboost.spark.SparkXGBRegressor

xgboost.spark.SparkXGBRegressorModel