2017-10-07 18:43:58 +03:00
|
|
|
Python API
|
|
|
|
==========
|
2017-05-05 06:38:35 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. currentmodule:: lightgbm
|
|
|
|
|
2017-05-07 12:06:41 +03:00
|
|
|
Data Structure API
|
2017-05-05 06:38:35 +03:00
|
|
|
------------------
|
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
2017-05-05 06:38:35 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
Dataset
|
|
|
|
Booster
|
2020-08-02 19:03:32 +03:00
|
|
|
CVBooster
|
2021-07-02 15:17:17 +03:00
|
|
|
Sequence
|
2017-05-07 12:06:41 +03:00
|
|
|
|
|
|
|
Training API
|
|
|
|
------------
|
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
2017-05-07 12:06:41 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
train
|
|
|
|
cv
|
2017-05-07 12:06:41 +03:00
|
|
|
|
|
|
|
Scikit-learn API
|
2017-05-05 06:38:35 +03:00
|
|
|
----------------
|
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
2017-05-05 06:38:35 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
LGBMModel
|
|
|
|
LGBMClassifier
|
|
|
|
LGBMRegressor
|
|
|
|
LGBMRanker
|
2017-05-05 06:38:35 +03:00
|
|
|
|
2021-01-25 05:58:52 +03:00
|
|
|
Dask API
|
|
|
|
--------
|
|
|
|
|
2021-02-10 15:19:20 +03:00
|
|
|
.. versionadded:: 3.2.0
|
|
|
|
|
2021-01-25 05:58:52 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
|
|
|
|
|
|
|
DaskLGBMClassifier
|
|
|
|
DaskLGBMRegressor
|
|
|
|
DaskLGBMRanker
|
|
|
|
|
2017-05-07 12:06:41 +03:00
|
|
|
Callbacks
|
|
|
|
---------
|
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
2017-05-07 12:06:41 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
early_stopping
|
2021-09-16 01:26:02 +03:00
|
|
|
log_evaluation
|
2019-07-27 14:59:51 +03:00
|
|
|
record_evaluation
|
|
|
|
reset_parameter
|
2017-05-07 12:06:41 +03:00
|
|
|
|
|
|
|
Plotting
|
|
|
|
--------
|
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
2017-05-07 12:06:41 +03:00
|
|
|
|
2019-07-27 14:59:51 +03:00
|
|
|
plot_importance
|
|
|
|
plot_split_value_histogram
|
|
|
|
plot_metric
|
|
|
|
plot_tree
|
|
|
|
create_tree_digraph
|
2021-01-24 23:37:45 +03:00
|
|
|
|
|
|
|
Utilities
|
|
|
|
---------
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
:toctree: pythonapi/
|
|
|
|
|
|
|
|
register_logger
|