зеркало из https://github.com/microsoft/LightGBM.git
Change bulid target name to lower case.
This commit is contained in:
Родитель
f32451710e
Коммит
f20a2c4de2
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
PROJECT(LightGBM)
|
||||
PROJECT(lightgbm)
|
||||
|
||||
OPTION(USE_MPI "MPI based parallel learning" OFF)
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@ Here is an example for LightGBM to run binary classification task.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=train.conf
|
||||
lightgbm.exe config=train.conf
|
||||
```
|
||||
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=train.conf
|
||||
./lightgbm config=train.conf
|
||||
```
|
||||
|
||||
#### Prediction
|
||||
|
@ -23,12 +23,12 @@ You should finish training first.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=predict.conf
|
||||
lightgbm.exe config=predict.conf
|
||||
```
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=predict.conf
|
||||
./lightgbm config=predict.conf
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@ Here is an example for LightGBM to run lambdarank task.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=train.conf
|
||||
lightgbm.exe config=train.conf
|
||||
```
|
||||
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=train.conf
|
||||
./lightgbm config=train.conf
|
||||
```
|
||||
|
||||
#### Prediction
|
||||
|
@ -23,11 +23,11 @@ You should finish training first.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=predict.conf
|
||||
lightgbm.exe config=predict.conf
|
||||
```
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=predict.conf
|
||||
./lightgbm config=predict.conf
|
||||
```
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@ Here is an example for LightGBM to perform parallel learning for 2 machines.
|
|||
2. Copy this folder and executable file to these 2 machines that you want to run application on.
|
||||
3. Run command in this folder on both 2 machines:
|
||||
|
||||
For windows:```LightGBM.exe config=train.conf```
|
||||
For windows:```lightgbm.exe config=train.conf```
|
||||
|
||||
For linux:```./LightGBM config=train.conf```
|
||||
For linux:```./lightgbm config=train.conf```
|
||||
|
||||
This parallel learning example is based on socket. LightGBM also support parallel learning based on mpi.
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@ Here is an example for LightGBM to run regression task.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=train.conf
|
||||
lightgbm.exe config=train.conf
|
||||
```
|
||||
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=train.conf
|
||||
./lightgbm config=train.conf
|
||||
```
|
||||
|
||||
#### Prediction
|
||||
|
@ -23,11 +23,11 @@ You should finish training first.
|
|||
|
||||
For windows, by running following command in this folder:
|
||||
```
|
||||
LightGBM.exe config=predict.conf
|
||||
lightgbm.exe config=predict.conf
|
||||
```
|
||||
|
||||
For linux, by running following command in this folder:
|
||||
```
|
||||
./LightGBM config=predict.conf
|
||||
./lightgbm config=predict.conf
|
||||
```
|
||||
|
||||
|
|
|
@ -54,18 +54,22 @@
|
|||
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug|x64'">
|
||||
<IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
|
||||
<TargetName>lightgbm</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug_mpi|x64'">
|
||||
<IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
|
||||
<TargetName>lightgbm</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release|x64'">
|
||||
<IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
|
||||
<TargetName>lightgbm</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release_mpi|x64'">
|
||||
<IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
|
||||
<TargetName>lightgbm</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_mpi|x64'">
|
||||
<ClCompile>
|
||||
|
|
Загрузка…
Ссылка в новой задаче