README.md 6.09 KB
Newer Older
Guolin Ke's avatar
Guolin Ke committed
1
LightGBM, Light Gradient Boosting Machine
wxchan's avatar
wxchan committed
2
=========================================
3
[![Documentation Status](https://readthedocs.org/projects/lightgbm/badge/?version=latest)](http://lightgbm.readthedocs.io/)
Guolin Ke's avatar
Guolin Ke committed
4
[![PyPI version](https://badge.fury.io/py/lightgbm.svg)](https://badge.fury.io/py/lightgbm)
Guolin Ke's avatar
Guolin Ke committed
5

Qiwei Ye's avatar
Qiwei Ye committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

|| Linux            | Windows            | macOS            |
|-----|----------------|----------------|----------------|
|CPU| [![CPU][1]][5] | [![CPU][4]][6]  | [![CPU][7]][5] |
|GPU| [![GPU][2]][5] | [![CPU][4]][6]  |  |
|Pip| [![Pip][3]][5] | [![CPU][4]][6]  | [![Pip][8]][5] |


[1]: https://travis-matrix-badges.herokuapp.com/repos/Microsoft/LightGBM/branches/master/1
[2]: https://travis-matrix-badges.herokuapp.com/repos/Microsoft/LightGBM/branches/master/3
[3]: https://travis-matrix-badges.herokuapp.com/repos/Microsoft/LightGBM/branches/master/4
[4]: https://ci.appveyor.com/api/projects/status/1ys5ot401m0fep6l/branch/master?svg=true
[5]: https://travis-ci.org/Microsoft/LightGBM
[6]: https://ci.appveyor.com/project/guolinke/lightgbm/branch/master
[7]: https://travis-matrix-badges.herokuapp.com/repos/Microsoft/LightGBM/branches/master/7
[8]: https://travis-matrix-badges.herokuapp.com/repos/Microsoft/LightGBM/branches/master/9

23
LightGBM is a gradient boosting framework that uses tree based learning algorithms. It is designed to be distributed and efficient with the following advantages:
Guolin Ke's avatar
Guolin Ke committed
24

25
- Faster training speed and higher efficiency
xuehui's avatar
xuehui committed
26
- Lower memory usage
Guolin Ke's avatar
Guolin Ke committed
27
- Better accuracy
28
- Parallel and GPU learning supported
29
- Capable of handling large-scale data
Guolin Ke's avatar
Guolin Ke committed
30

xuehui's avatar
xuehui committed
31
For more details, please refer to [Features](https://github.com/Microsoft/LightGBM/wiki/Features).
Guolin Ke's avatar
Guolin Ke committed
32

33
[Experiments](https://github.com/Microsoft/LightGBM/wiki/Experiments#comparison-experiment) on public datasets show that LightGBM can outperform existing boosting frameworks on both efficiency and accuracy, with significantly lower memory consumption. What's more, the [experiments](https://github.com/Microsoft/LightGBM/wiki/Experiments#parallel-experiment) show that LightGBM can achieve a linear speed-up by using multiple machines for training in specific settings.
Guolin Ke's avatar
Guolin Ke committed
34

wxchan's avatar
wxchan committed
35
36
News
----
Guolin Ke's avatar
Guolin Ke committed
37

Guolin Ke's avatar
Guolin Ke committed
38
39
06/20/2017: Python-package is on PyPI now.

40
41
06/09/2017: [LightGBM Slack team](https://lightgbm.slack.com) is available.

42
43
05/03/2017: LightGBM v2 stable release.

44
04/10/2017 : LightGBM now supports GPU-accelerated tree learning. Please read our [GPU Tutorial](./docs/GPU-Tutorial.md) and [Performance Comparison](./docs/GPU-Performance.md).
Guolin Ke's avatar
Guolin Ke committed
45

Guolin Ke's avatar
Guolin Ke committed
46
02/20/2017 : Update to LightGBM v2.
Guolin Ke's avatar
Guolin Ke committed
47

48
49
02/12/2017: LightGBM v1 stable release.

Guolin Ke's avatar
Guolin Ke committed
50
51
01/08/2017 : Release [**R-package**](./R-package) beta version, welcome to have a try and provide feedback.

52
12/05/2016 : **Categorical Features as input directly**(without one-hot coding). Experiment on [Expo data](http://stat-computing.org/dataexpo/2009/) shows about 8x speed-up with same accuracy compared with one-hot coding.
wxchan's avatar
wxchan committed
53

Guolin Ke's avatar
Guolin Ke committed
54
12/02/2016 : Release [**python-package**](./python-package) beta version, welcome to have a try and provide feedback.
wxchan's avatar
wxchan committed
55

56

57
58
External (unofficial) Repositories
----------------------------------
59
60
61
62
63
64

Julia Package: https://github.com/Allardvm/LightGBM.jl

JPMML: https://github.com/jpmml/jpmml-lightgbm


Guolin Ke's avatar
Guolin Ke committed
65
66
Get Started And Documents
-------------------------
67
To get started, please follow the [Installation Guide](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide) and [Quick Start](https://github.com/Microsoft/LightGBM/wiki/Quick-Start).
Guolin Ke's avatar
Guolin Ke committed
68

Guolin Ke's avatar
Guolin Ke committed
69
* [**Wiki**](https://github.com/Microsoft/LightGBM/wiki)
70
* [**Installation Guide**](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide)
Guolin Ke's avatar
Guolin Ke committed
71
* [**Quick Start**](https://github.com/Microsoft/LightGBM/wiki/Quick-Start)
Guolin Ke's avatar
Guolin Ke committed
72
* [**Examples**](https://github.com/Microsoft/LightGBM/tree/master/examples)
73
74
* [**Features**](https://github.com/Microsoft/LightGBM/wiki/Features)
* [**Parallel Learning Guide**](https://github.com/Microsoft/LightGBM/wiki/Parallel-Learning-Guide)
75
* [**GPU Learning Tutorial**](https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Tutorial.md)
76
* [**Configuration**](https://github.com/Microsoft/LightGBM/wiki/Configuration)
77
* [**Document Indexer**](https://github.com/Microsoft/LightGBM/blob/master/docs/README.md)
Guolin Ke's avatar
Guolin Ke committed
78

79
80
81
82
83
84
85
External Links
--------------
Useful if you are looking for details:

* [**Read The Docs**](http://lightgbm.readthedocs.io/en/latest/) for an all in one documentation from this repository in a browsable fashion
* [**Laurae++ interactive documentation**](https://sites.google.com/view/lauraepp/parameters) for an interactive and detailed documentation on hyperparameters

86
87
88
89
90
91
92
93
94
95
Support
-------

You can ask questions and join the development discussion on:

* [LightGBM Slack team](https://lightgbm.slack.com).
  * Use [this invite link](https://join.slack.com/lightgbm/shared_invite/MTk1MjM1Mjg2NDA1LTE0OTY5NzMwNDgtYTRiZGQ5YzM3OQ) to join the team.

You can also create **bug reports and feature requests** (not including questions) in [Github issues](https://github.com/Microsoft/LightGBM/issues).

Guolin Ke's avatar
Guolin Ke committed
96
97
98
99
100
101
How to Contribute
-----------------

LightGBM has been developed and used by many active community members. Your help is very valuable to make it better for everyone.

- Check out [call for contributions](https://github.com/Microsoft/LightGBM/issues?q=is%3Aissue+is%3Aopen+label%3Acall-for-contribution) to see what can be improved, or open an issue if you want something.
Guolin Ke's avatar
Guolin Ke committed
102
- Contribute to the [tests](https://github.com/Microsoft/LightGBM/tree/master/tests) to make it more reliable. 
103
- Contribute to the [documents](https://github.com/Microsoft/LightGBM/tree/master/docs) to make it clearer for everyone.
Guolin Ke's avatar
Guolin Ke committed
104
- Contribute to the [examples](https://github.com/Microsoft/LightGBM/tree/master/examples) to share your experience with other users.
Guolin Ke's avatar
Guolin Ke committed
105
106
- Check out [Development Guide](./docs/development.md).
- Open issue if you met problems during development.
Guolin Ke's avatar
Guolin Ke committed
107

Guolin Ke's avatar
Guolin Ke committed
108
109
110
Microsoft Open Source Code of Conduct
------------
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.