Python-API.rst 706 Bytes
Newer Older
1
2
Python API
==========
3

4
5
.. currentmodule:: lightgbm

6
Data Structure API
7
8
------------------

9
10
.. autosummary::
    :toctree: pythonapi/
11

12
13
    Dataset
    Booster
14
15
16
17

Training API
------------

18
19
.. autosummary::
    :toctree: pythonapi/
20

21
22
    train
    cv
23
24

Scikit-learn API
25
26
----------------

27
28
.. autosummary::
    :toctree: pythonapi/
29

30
31
32
33
    LGBMModel
    LGBMClassifier
    LGBMRegressor
    LGBMRanker
34

35
36
37
Callbacks
---------

38
39
.. autosummary::
    :toctree: pythonapi/
40

41
42
43
44
    early_stopping
    print_evaluation
    record_evaluation
    reset_parameter
45
46
47
48

Plotting
--------

49
50
.. autosummary::
    :toctree: pythonapi/
51

52
53
54
55
56
    plot_importance
    plot_split_value_histogram
    plot_metric
    plot_tree
    create_tree_digraph