Python API Reference ==================== This page gives the Python API reference of xgboost, please also refer to Python Package Introduction for more information about python package. Core Data Structure ------------------- .. automodule:: xgboost.core .. autoclass:: xgboost.DMatrix :members: :show-inheritance: .. autoclass:: xgboost.Booster :members: :show-inheritance: Learning API ------------ .. automodule:: xgboost.training .. autofunction:: xgboost.train .. autofunction:: xgboost.cv Scikit-Learn API ---------------- .. automodule:: xgboost.sklearn .. autoclass:: xgboost.XGBRegressor :members: :show-inheritance: .. autoclass:: xgboost.XGBClassifier :members: :show-inheritance: Plotting API ------------ .. automodule:: xgboost.plotting .. autofunction:: xgboost.plot_importance .. autofunction:: xgboost.plot_tree .. autofunction:: xgboost.to_graphviz