-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] update Python-package installation guide #6767
base: master
Are you sure you want to change the base?
Changes from 1 commit
1f6c773
dc765b0
339cc84
3e841e0
deb2d98
afdc323
e8f52a8
1f1d88f
b537c7e
fefaded
449292f
dd6e17a
9d93ca9
7141270
4ea935f
ce0b19e
eb8d2d3
c55af10
9d44d69
fb90500
6790bdd
8c58b4f
6f961d9
e271a29
b747e4d
80a7c20
8f6cb05
26c921a
e50acb5
8eb7005
0dd5983
d818fb8
4eaf198
ca2fee1
c09506a
ec9cd50
8148b69
acfe30d
8ed111f
02f4b95
ec24127
5f29431
6555396
d0fe127
ff3e4c7
73334ca
726ef96
a9a534c
848a536
784fcba
cc8a24e
03bd3c9
4cd32ce
19a07e2
e9cced7
ac34770
f7b8e7c
ddb52b9
b07feda
9d065ce
53b8e19
4b3c98a
e3a4836
d99d0cf
a592c54
df3f69d
dd710f5
3fc761f
3bee691
f160bcf
866b46f
e7c9a8e
b85cc0f
c9c5c04
dbc9400
00c31e3
88d586b
9ae9c28
9f056cf
2bd90f7
3f043dd
c9f8483
532121f
f4fc100
652ada1
b467e78
f722634
0a858fe
a212e1a
92db16e
7a80b77
078481d
08a98a3
fb27330
1e7e2ef
0d055ad
7a3ba7f
c13aa46
2a85784
0736db2
f0a541f
722f928
56cc500
da0ebc9
ace2590
c38187c
ed4c453
599561a
0247c6b
dd1a94a
1367902
bb39ff5
a16d53b
aa29135
42edb80
c8c4bca
ab8cd01
bb6a689
e5c1c3f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -24,6 +24,15 @@ For **Windows** users, `VC runtime <https://support.microsoft.com/en-us/help/297 | |||||
|
||||||
For **macOS** users, the **OpenMP** library is needed. You can install it by the following command: ``brew install libomp``. | ||||||
|
||||||
Use LightGBM with PyArrow | ||||||
************************* | ||||||
|
||||||
To install all dependencies needed to use ``PyArrow`` in LightGBM, append ``[arrow]``. | ||||||
|
||||||
.. code:: sh | ||||||
|
||||||
pip install 'lightgbm[arrow]' | ||||||
|
||||||
Use LightGBM with Dask | ||||||
********************** | ||||||
|
||||||
|
@@ -44,10 +53,19 @@ To install all dependencies needed to use ``pandas`` in LightGBM, append ``[pand | |||||
|
||||||
pip install 'lightgbm[pandas]' | ||||||
|
||||||
Use LightGBM with Matplotlib and Graphviz | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the completeness. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
For the other blocks, "Use LightGBM with For plotting, I don't think that's true. I suspect that for most users, they are not thinking "how do I use LightGBM with graphviz?" and instead are just interested in "how do I visualize the structure of my LightGBM models?". In other words... the fact that these functions happen to use Would you consider renaming this? |
||||||
***************************************** | ||||||
|
||||||
To install all dependencies needed to use ``lightgbm.plotting``, append ``[plotting]``. | ||||||
|
||||||
.. code:: sh | ||||||
|
||||||
pip install 'lightgbm[plotting]' | ||||||
|
||||||
Use LightGBM with scikit-learn | ||||||
****************************** | ||||||
|
||||||
To install all dependencies needed to use ``scikit-learn`` in LightGBM, append ``[scikit-learn]``. | ||||||
To install all dependencies needed to use ``lightgbm.sklearn``, append ``[scikit-learn]``. | ||||||
|
||||||
.. code:: sh | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was missed.