Skip to content
/ lgbdl Public

LightGBM Online Installer [ devtools::install_github("Laurae2/lgbdl") ]

License

Notifications You must be signed in to change notification settings

Laurae2/lgbdl

Repository files navigation

LightGBM Online Installer

This is Laurae's LightGBM online installer: it allows to install LightGBM from source directly from your R terminal.

Please go to branch pre-2.2.0 for a LightGBM version below 2.2.0.

Installation

devtools::install_github("Laurae2/lgbdl")

Pre-requisites

You need to define the proper compiler to use. It could be:

  • gcc (if using Linux or Rtools + MinGW)
  • Visual Studio 15 2017 Win64 (Rtools + Visual Studio)

In addition, specific software must be installed for Windows:

In Linux, you can use repositories to install git and cmake.

For GPU compilation, it requires Boost libraries as outlined in the LightGBM R official documentation.

Usage

It is as simple as this:

lgbdl::lgb.dl(compiler = "vs")

For Linux or Rtools/MinGW-only:

lgbdl::lgb.dl(compiler = "gcc")

For GPU installation in R:

lgbdl::lgb.dl(compiler = "vs", use_gpu = TRUE)

For installing a specific commit of LightGBM:

lgbdl::lgb.dl(commit = "577a03c", compiler = "vs")

Tests

Tested working on:

  • Linux + gcc
  • Windows + Visual Studio 2015
  • Windows + Visual Studio 2017
  • Windows + MinGW

About

LightGBM Online Installer [ devtools::install_github("Laurae2/lgbdl") ]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages