cd6d058386
* bring consistency and clearness into early_stopping_rounds desc, metric desc and implementation * hotfix * hotfix * used NDCG as default metric for lambdarank task * fixed missed methods at ReadTheDocs and changed default eval_metric * leaved only unique metrics * fixed comment
70 lines
1.1 KiB
ReStructuredText
70 lines
1.1 KiB
ReStructuredText
Python API
|
|
==========
|
|
|
|
Data Structure API
|
|
------------------
|
|
|
|
.. autoclass:: lightgbm.Dataset
|
|
:members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: lightgbm.Booster
|
|
:members:
|
|
:show-inheritance:
|
|
|
|
|
|
Training API
|
|
------------
|
|
|
|
.. autofunction:: lightgbm.train
|
|
|
|
.. autofunction:: lightgbm.cv
|
|
|
|
|
|
Scikit-learn API
|
|
----------------
|
|
|
|
.. autoclass:: lightgbm.LGBMModel
|
|
:members:
|
|
:inherited-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: lightgbm.LGBMClassifier
|
|
:members:
|
|
:inherited-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: lightgbm.LGBMRegressor
|
|
:members:
|
|
:inherited-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: lightgbm.LGBMRanker
|
|
:members:
|
|
:inherited-members:
|
|
:show-inheritance:
|
|
|
|
|
|
Callbacks
|
|
---------
|
|
|
|
.. autofunction:: lightgbm.early_stopping
|
|
|
|
.. autofunction:: lightgbm.print_evaluation
|
|
|
|
.. autofunction:: lightgbm.record_evaluation
|
|
|
|
.. autofunction:: lightgbm.reset_parameter
|
|
|
|
|
|
Plotting
|
|
--------
|
|
|
|
.. autofunction:: lightgbm.plot_importance
|
|
|
|
.. autofunction:: lightgbm.plot_metric
|
|
|
|
.. autofunction:: lightgbm.plot_tree
|
|
|
|
.. autofunction:: lightgbm.create_tree_digraph
|