data analysis & visualization

ubuntu LightGBM install

ubuntu2020. 4. 14. 22:11

https://github.com/microsoft/LightGBM/tree/master/R-package

 

microsoft/LightGBM

A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning ...

github.com

sudo apt install cmake

 

devtools::install_github("Laurae2/lgbdl")

 

아래 코드로 설치관련 패키지를 설치한다.

 

위는 gpu 버전을 필요로할 때 

 

lgb.dl(commit = "master", compiler = "vs", # Remove this for MinGW + GPU installation repo = "https://github.com/microsoft/LightGBM", use_gpu = TRUE)

 

아래는 cpu버전을 활용할 때 사용하면 된다. 

 

lgb.dl(commit = "master", compiler = "vs", repo = "https://github.com/microsoft/LightGBM")

 

 

https://psystat.tistory.com/m/77