Skip to content
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] move wiki to Read the Docs #945

Merged
merged 44 commits into from
Oct 7, 2017
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3e86aab
fixed Python-API references
StrikerRUS Sep 28, 2017
74e110a
moved Features section to ReadTheDocs
StrikerRUS Sep 28, 2017
1c9a627
fixed index of ReadTheDocs
StrikerRUS Sep 28, 2017
4a51ea9
moved Experiments section to ReadTheDocs
StrikerRUS Sep 28, 2017
a501910
fixed capital letter
StrikerRUS Sep 29, 2017
c978cbb
fixed citing
StrikerRUS Sep 29, 2017
4ac8c5d
moved Parallel Learning section to ReadTheDocs
StrikerRUS Sep 29, 2017
1dd5843
fixed markdown
StrikerRUS Sep 29, 2017
f88db7f
fixed Python-API
StrikerRUS Sep 29, 2017
8f4e1a3
resolved conflicts
StrikerRUS Sep 29, 2017
3bb8cdf
fixed link to Quick-Start
StrikerRUS Sep 29, 2017
fd40037
fixed gpu docker README
StrikerRUS Sep 29, 2017
6dd389e
moved Installation Guide from wiki to ReadTheDocs
StrikerRUS Sep 29, 2017
1e94983
removed references to wiki
StrikerRUS Sep 29, 2017
4115cee
fixed capital letters in headings
StrikerRUS Sep 29, 2017
44c9d58
hotfixes
StrikerRUS Sep 29, 2017
6485ca1
fixed non-Unicode symbols and reference to Python API
StrikerRUS Sep 29, 2017
e7e37e7
fixed citing references
StrikerRUS Sep 29, 2017
07b5fa7
Merge branch 'master' into readthedocs
StrikerRUS Sep 29, 2017
caa067e
Merge branch 'master' into readthedocs
StrikerRUS Sep 30, 2017
5c8bb27
fixed links in .md files
StrikerRUS Sep 30, 2017
8180b8c
fixed links in .rst files
StrikerRUS Oct 1, 2017
5aa7c11
Merge branch 'master' into readthedocs
StrikerRUS Oct 1, 2017
71b0900
store images locally in the repo
StrikerRUS Oct 1, 2017
1f5386a
fixed missed word
StrikerRUS Oct 1, 2017
8c61dd3
fixed conflicts
StrikerRUS Oct 4, 2017
efb049e
fixed indent in Experiments.rst
StrikerRUS Oct 4, 2017
c32d2d6
fixed 'Duplicate implicit target name' message which is successfully
StrikerRUS Oct 4, 2017
9c0747d
less verbose
StrikerRUS Oct 4, 2017
2719e45
prevented maito: ref creation
StrikerRUS Oct 4, 2017
160c52d
fixed indents
StrikerRUS Oct 4, 2017
766395d
fixed 404
StrikerRUS Oct 4, 2017
8d1ae33
fixed 403
StrikerRUS Oct 4, 2017
ae494d4
fixed 301
StrikerRUS Oct 4, 2017
61b0629
fixed fake anchors
StrikerRUS Oct 4, 2017
f8c7a7a
fixed file extentions
StrikerRUS Oct 5, 2017
3516ec9
fixed Sphinx warnings
StrikerRUS Oct 5, 2017
5bbf9f4
Merge branch 'master' into readthedocs
StrikerRUS Oct 5, 2017
c772b34
added StrikerRUS profile link to FAQ
StrikerRUS Oct 5, 2017
9438114
Merge branch 'master' into readthedocs
StrikerRUS Oct 6, 2017
abfcfbf
Merge branch 'master' into readthedocs
StrikerRUS Oct 6, 2017
a118fb0
added henry0312 profile link to FAQ
StrikerRUS Oct 7, 2017
e21e280
Merge remote-tracking branch 'origin/readthedocs' into readthedocs
StrikerRUS Oct 7, 2017
dd92661
Merge branch 'master' into readthedocs
StrikerRUS Oct 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ if [[ ${TASK} == "check-docs" ]]; then
sudo apt-get install linkchecker
pip install rstcheck # html5validator
pip install -r requirements.txt
rstcheck --ignore-directives=autoclass,autofunction `find . -type f -name "*.rst"` || exit -1
rstcheck --report warning --ignore-directives=autoclass,autofunction `find . -type f -name "*.rst"` || exit -1
make html || exit -1
find ./_build/html/ -type f -name '*.html' -exec \
sed -i -e 's#\(\.\/[^.]*\.\)\(md\|rst\)#\1html#g' {} \; # Emulate js function
# html5validator --root ./_build/html/ || exit -1 For future (Sphinx 1.6) usage
linkchecker --config=.linkcheckerrc ./_build/html/*.html || exit -1
exit 0
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message(FATAL_ERROR "Insufficient Clang version")
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
message(FATAL_ERROR "AppleClang wasn't supported. Please see https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#osx")
message(FATAL_ERROR "AppleClang wasn't supported. Please see https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#osx")
endif()

if(APPLE)
Expand Down
10 changes: 6 additions & 4 deletions R-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For users who wants to install online with GPU or want to choose a specific comp

#### Mac OS X Preparation

gcc with OpenMP support must be installed first. Refer to [wiki](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#osx) for installing gcc with OpenMP support.
gcc with OpenMP support must be installed first. Refer to [Installation-Guide](https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#osx) for installing gcc with OpenMP support.

### Install

Expand All @@ -51,7 +51,7 @@ Note: for the build with Visual Studio/MSBuild in Windows, you should use the Wi

Windows users may need to run with administrator rights (either R or the command prompt, depending on the way you are installing this package). Linux users might require the appropriate user write permissions for packages.

Set `use_gpu` to `TRUE` in `R-package/src/install.libs.R` to enable the build with GPU support. You will need to install Boost and OpenCL first: details for installation can be found in [gpu-support](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#with-gpu-support).
Set `use_gpu` to `TRUE` in `R-package/src/install.libs.R` to enable the build with GPU support. You will need to install Boost and OpenCL first: details for installation can be found in [Installation-Guide](https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#build-gpu-version).

You can also install directly from R using the repository with `devtools`:

Expand All @@ -74,7 +74,7 @@ params <- list(objective="regression", metric="l2")
model <- lgb.cv(params, dtrain, 10, nfold=5, min_data=1, learning_rate=1, early_stopping_rounds=10)
```

Installation with precompiled dll/lib from R using GitHub
Installation with Precompiled dll/lib from R Using GitHub
---------------------------------------------------------

You can install LightGBM R-package from GitHub with devtools thanks to a helper package for LightGBM.
Expand Down Expand Up @@ -122,7 +122,9 @@ lgb.dl(commit = "master",
use_gpu = TRUE)
```

For more details about options, please check [Laurae2/lgbdl](https://github.com/Laurae2/lgbdl/) R-package. You may also read [Microsoft/LightGBM#912](https://github.com/Microsoft/LightGBM/issues/912#issuecomment-329496254) for a visual example for LightGBM in Windows with Visual Studio.
For more details about options, please check [Laurae2/lgbdl](https://github.com/Laurae2/lgbdl/) R-package.

You may also read [Microsoft/LightGBM#912](https://github.com/Microsoft/LightGBM/issues/912#issuecomment-329496254) for a visual example for LightGBM installation in Windows with Visual Studio.

Examples
--------
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ LightGBM is a gradient boosting framework that uses tree based learning algorith
- Parallel and GPU learning supported
- Capable of handling large-scale data

For more details, please refer to [Features](https://github.com/Microsoft/LightGBM/wiki/Features).
For more details, please refer to [Features](https://github.com/Microsoft/LightGBM/blob/master/docs/Features.md).

[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.
[Comparison experiments](https://github.com/Microsoft/LightGBM/blob/master/docs/Experiments.rst#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 [parallel experiments](https://github.com/Microsoft/LightGBM/blob/master/docs/Experiments.rst#parallel-experiment) show that LightGBM can achieve a linear speed-up by using multiple machines for training in specific settings.

News
----
Expand All @@ -45,7 +45,7 @@ News

12/05/2016 : **Categorical Features as input directly** (without one-hot coding).

12/02/2016 : Release [**python-package**](https://github.com/Microsoft/LightGBM/tree/master/python-package) beta version, welcome to have a try and provide feedback.
12/02/2016 : Release [**Python-package**](https://github.com/Microsoft/LightGBM/tree/master/python-package) beta version, welcome to have a try and provide feedback.

More detailed update logs : [Key Events](https://github.com/Microsoft/LightGBM/blob/master/docs/Key-Events.md).

Expand All @@ -61,16 +61,16 @@ JPMML: https://github.com/jpmml/jpmml-lightgbm
Get Started and Documentation
-----------------------------

Install by following the guide for the [command line program](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide), [Python package](https://github.com/Microsoft/LightGBM/tree/master/python-package) or [R-package](https://github.com/Microsoft/LightGBM/tree/master/R-package). Then please see the [Quick Start](https://github.com/Microsoft/LightGBM/wiki/Quick-Start) guide.
Install by following the [guide](https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst) for the command line program, [Python-package](https://github.com/Microsoft/LightGBM/tree/master/python-package) or [R-package](https://github.com/Microsoft/LightGBM/tree/master/R-package). Then please see the [Quick Start](https://github.com/Microsoft/LightGBM/blob/master/docs/Quick-Start.md) guide.

Our primary documentation is at https://lightgbm.readthedocs.io/ and is generated from this repository.

Next you will want to read:
Next you may want to read:

* [**Examples**](https://github.com/Microsoft/LightGBM/tree/master/examples) showing command line usage of common tasks
* [**Features**](https://github.com/Microsoft/LightGBM/wiki/Features) and algorithms supported by LightGBM
* [**Features**](https://github.com/Microsoft/LightGBM/blob/master/docs/Features.md) and algorithms supported by LightGBM
* [**Parameters**](https://github.com/Microsoft/LightGBM/blob/master/docs/Parameters.md) is an exhaustive list of customization you can make
* [**Parallel Learning**](https://github.com/Microsoft/LightGBM/wiki/Parallel-Learning-Guide) and [**GPU Learning**](https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Tutorial.md) can speed up computation
* [**Parallel Learning**](https://github.com/Microsoft/LightGBM/blob/master/docs/Parallel-Learning-Guide.rst) and [**GPU Learning**](https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Tutorial.md) can speed up computation
* [**Laurae++ interactive documentation**](https://sites.google.com/view/lauraepp/parameters) is a detailed guide for hyperparameters

Documentation for contributors:
Expand All @@ -83,7 +83,7 @@ Support

* Ask a question [on Stack Overflow with the `lightgbm` tag ](https://stackoverflow.com/questions/ask?tags=lightgbm), we monitor this for new questions.
* Discuss on the [LightGBM Gitter](https://gitter.im/Microsoft/LightGBM).
* Open **bug reports** and **feature requests** (not questions) on [Github issues](https://github.com/Microsoft/LightGBM/issues).
* Open **bug reports** and **feature requests** (not questions) on [GitHub issues](https://github.com/Microsoft/LightGBM/issues).

How to Contribute
-----------------
Expand Down
10 changes: 5 additions & 5 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Follow the general installation instructions
[on the Docker site](https://docs.docker.com/installation/):

* [OSX](https://docs.docker.com/installation/mac/): [docker toolbox](https://www.docker.com/toolbox)
* [ubuntu](https://docs.docker.com/installation/ubuntulinux/)
* [Ubuntu](https://docs.docker.com/installation/ubuntulinux/)

## Running the container
## Running the Container

Build the container, for python users:
Build the container, for python users:

$ docker build -t lightgbm -f dockerfile-python .
docker build -t lightgbm -f dockerfile-python .

After build finished, run the container:

$ docker run --rm -it lightgbm
docker run --rm -it lightgbm
32 changes: 21 additions & 11 deletions docker/gpu/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,46 @@
# Dockerfile for LightGBM supporting GPU with Python
A docker file with lightgbm utilizing nvidia-docker. The file is based on the nvidia/cuda:8.0 image. lightgbm can be utilized in gpu and cpu modes and via python (2.7 & 3.5)
### Contents
# Dockerfile for LightGBM GPU Version with Python

A docker file with LightGBM utilizing nvidia-docker. The file is based on the nvidia/cuda:8.0 image. LightGBM can be utilized in GPU and CPU modes and via Python (2.7 & 3.5)

## Contents

- LightGBM (cpu + gpu)
- Python 2.7 (Conda) + scikit-learn notebooks pandas matplotlib
- Python 3.5 (Conda) + scikit-learn notebooks pandas matplotlib

Running the container starts a jupyter notebook at localhost:8888

jupyter password: keras
### Requirements

## Requirements

Requires docker and [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) on host machine.
### Quickstart

##### Build Docker Image
## Quickstart

### Build Docker Image

```sh
mkdir lightgbm-docker
cd lightgbm-docker
wget https://github.com/Microsoft/LightGBM/blob/master/docker/gpu/dockerfile.gpu
cd lightgbm-docker
docker build -f dockerfile.gpu -t lightgbm-gpu .
```
##### Run Image

### Run Image

```sh
nvidia-docker run --rm -d --name lightgbm-gpu -p 8888:8888 -v /home:/home lightgbm-gpu
```

##### Attach with Command Line Access (if required)
### Attach with Command Line Access (if required)

```sh
docker exec -it lightgbm-gpu bash
```
##### Jupyter Notebook

### Jupyter Notebook

```sh
localhost:8888
```

4 changes: 2 additions & 2 deletions docs/.linkcheckerrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sslverify=0
ignorewarnings=http-robots-denied,https-certificate-error

[output]
# Set to 0 if you want see only warnings and errors
verbose=1
# Set to 1 if you want see the full output, not only warnings and errors
verbose=0

[AnchorCheck]
2 changes: 1 addition & 1 deletion docs/Advanced-Topic.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

## Parallel Learning

* Refer to [Parallel Learning Guide](https://github.com/Microsoft/LightGBM/wiki/Parallel-Learning-Guide).
* Refer to [Parallel Learning Guide](./Parallel-Learning-Guide.rst).
Loading