"R-package/vscode:/vscode.git/clone" did not exist on "100a10dafc9648616e007e33a707a1c1cb8a938f"
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
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
--------
Run the following command in this folder:
```
"./lightgbm" config=train.conf
```bash
"../../lightgbm" config=train.conf
```
Prediction
......@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder:
```
"./lightgbm" config=predict.conf
```bash
"../../lightgbm" config=predict.conf
```
......@@ -31,4 +31,3 @@ Data Format
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).
......@@ -3,15 +3,16 @@ Multiclass Classification Example
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
--------
Run the following command in this folder:
```
"./lightgbm" config=train.conf
```bash
"../../lightgbm" config=train.conf
```
Prediction
......@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder:
```
"./lightgbm" config=predict.conf
```bash
"../../lightgbm" config=predict.conf
```
......@@ -3,15 +3,16 @@ Regression Example
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
--------
Run the following command in this folder:
```
"./lightgbm" config=train.conf
```bash
"../../lightgbm" config=train.conf
```
Prediction
......@@ -21,6 +22,6 @@ You should finish training first.
Run the following command in this folder:
```
"./lightgbm" config=predict.conf
```bash
"../../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