5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWS EC2上へのLightGBMインストール

Last updated at Posted at 2018-06-23

基本的にはリンク先のLinux手順に従えば問題無し
https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html

ソースコードダウンロード

git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM

ビルド

mkdir build ; cd build
cmake ..
make -j4

Pythonパッケージインストール

リンク先にはこれは書いてないが、これを忘れていているとPython上で使えない

cd ../python-package
python setup.py install

(追記)Cmakeインストール

cmakeが入っていない場合のcmakeインストール

yum install gcc-c++
wget https://cmake.org/files/v3.10/cmake-3.10.0.tar.gz
tar -xvzf cmake-3.10.0.tar.gz
cd cmake-3.10.0
sudo ./bootstrap
sudo make
sudo make install

以上

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?