Unverified Commit 16c551c1 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs] updated instructions in examples to match ones from ranking example (#2585)

* updated instructions in examples to match one from ranking example

* removed excess new line
parent 49df9e60
...@@ -3,15 +3,16 @@ Binary Classification Example ...@@ -3,15 +3,16 @@ Binary Classification Example
Here is an example for LightGBM to run binary classification task. Here is an example for LightGBM to run binary classification task.
***You should copy executable file to this folder first.*** ***You must follow the [installation instructions](https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html)
for the following commands to work. The `lightgbm` binary must be built and available at the root of this project.***
Training Training
-------- --------
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=train.conf "../../lightgbm" config=train.conf
``` ```
Prediction Prediction
...@@ -21,6 +22,6 @@ You should finish training first. ...@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=predict.conf "../../lightgbm" config=predict.conf
``` ```
...@@ -31,4 +31,3 @@ Data Format ...@@ -31,4 +31,3 @@ Data Format
To learn more about the query format used in this example, check out the To learn more about the query format used in this example, check out the
[query data format](https://lightgbm.readthedocs.io/en/latest/Parameters.html#query-data). [query data format](https://lightgbm.readthedocs.io/en/latest/Parameters.html#query-data).
...@@ -3,15 +3,16 @@ Multiclass Classification Example ...@@ -3,15 +3,16 @@ Multiclass Classification Example
Here is an example for LightGBM to run multiclass classification task. Here is an example for LightGBM to run multiclass classification task.
***You should copy executable file to this folder first.*** ***You must follow the [installation instructions](https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html)
for the following commands to work. The `lightgbm` binary must be built and available at the root of this project.***
Training Training
-------- --------
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=train.conf "../../lightgbm" config=train.conf
``` ```
Prediction Prediction
...@@ -21,6 +22,6 @@ You should finish training first. ...@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=predict.conf "../../lightgbm" config=predict.conf
``` ```
...@@ -3,15 +3,16 @@ Regression Example ...@@ -3,15 +3,16 @@ Regression Example
Here is an example for LightGBM to run regression task. Here is an example for LightGBM to run regression task.
***You should copy executable file to this folder first.*** ***You must follow the [installation instructions](https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html)
for the following commands to work. The `lightgbm` binary must be built and available at the root of this project.***
Training Training
-------- --------
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=train.conf "../../lightgbm" config=train.conf
``` ```
Prediction Prediction
...@@ -21,6 +22,6 @@ You should finish training first. ...@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder: Run the following command in this folder:
``` ```bash
"./lightgbm" config=predict.conf "../../lightgbm" config=predict.conf
``` ```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment