This page gives the Python API reference of xgboost, please also refer to Python Package Introduction for more information about python package.
The document in this page is automatically generated by sphinx. The content do not render at github, you can view it at http://xgboost.readthedocs.org/en/latest/python/python_api.html
.. automodule:: xgboost.core
.. autoclass:: xgboost.DMatrix :members: :show-inheritance:
.. autoclass:: xgboost.Booster :members: :show-inheritance:
.. automodule:: xgboost.training
.. autofunction:: xgboost.train
.. autofunction:: xgboost.cv
.. automodule:: xgboost.sklearn
.. autoclass:: xgboost.XGBRegressor :members: :show-inheritance:
.. autoclass:: xgboost.XGBClassifier :members: :show-inheritance:
.. automodule:: xgboost.plotting
.. autofunction:: xgboost.plot_importance
.. autofunction:: xgboost.plot_tree
.. autofunction:: xgboost.to_graphviz