48 lines
1.1 KiB
ReStructuredText
48 lines
1.1 KiB
ReStructuredText
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.
|
|
|
|
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
|
|
|
|
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
|