OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Lightgbm — lightgbm-org

LightGBM is an open-source gradient-boosting framework based on decision-tree algorithms for ranking, classification and other machine-learning tasks.

Independent OpenViST project profile, based on linked sources.

Lightgbm — lightgbm-org — OpenViST project profile in AI Models.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use LightGBM when a machine-learning workflow calls for decision-tree gradient boosting, particularly for ranking or classification, or when you want to investigate its parallel, distributed or GPU learning options.

Who it is for

  • Machine-learning practitioners training tree-based models for classification or ranking.
  • Teams exploring parallel, distributed or GPU-based gradient-boosting workflows.

Documented uses

  • Train gradient-boosted decision-tree models for classification.
  • Build ranking models using gradient boosting.
  • Explore parallel, distributed or GPU learning for model training.
Before you choose

Requirements & limits

The project is open source under the MIT license. Its documentation links to installation instructions and package listings.

  • The framework is based on decision-tree gradient boosting.
  • The project documents parallel, distributed and GPU learning options.
  • The repository identifies C++ as its primary language; the README also links to Python and R packages.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Build LightGBM from source on Linux with GCC

Compile LightGBM on Linux using CMake and GCC.

Before you start

  • Linux
  • CMake
  • GCC

Steps

  1. Clone the LightGBM repository recursively: the command below.

    Documented command
    git clone --recursive https://github.com/lightgbm-org/LightGBM
  2. Enter the repository directory: cd LightGBM.

  3. Configure the build: cmake -B build -S ..

  4. Compile: cmake --build build -j4.

Expected outcome

The Linux build produces an executable and shared library files in the LightGBM directory.

Guide limitations

  • The instructions target a 64-bit build.
  • The outcome is a compiled executable and library; model training is a separate stage.
Source-based practical guide

Run the LightGBM CLI with a configuration file

Start LightGBM CLI using a configuration file, with optional command-line parameters.

Before you start

  • LightGBM CLI installed
  • A LightGBM configuration file

Steps

  1. Prepare training data in CSV, TSV, or zero-based LibSVM format; the data may include a header.

  2. Specify parameters in a config file using key=value entries.

  3. Run lightgbm config=your_config_file other_args ....

  4. To override a parameter from the config file, pass it on the command line, for example lightgbm config=train.conf num_trees=10.

Expected outcome

LightGBM CLI starts with the config parameters; command-line values take precedence over matching config values.

Guide limitations

  • This guide does not specify a complete training configuration or confirm model output.
  • Ranking requires query data; weighted training requires weight data. These may be supplied as additional data or as columns in the training data.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
12 October 2026
Original website title
lightgbm-org/LightGBM · Official homepage title · retained in its source language