---
sourceDocument: Xanadu Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/intelligent-experiences

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Use LightGBM algo for classification model training

# Use LightGBM algo for classification model training {#ariaid-title1}

* Release version: Xanadu
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Enable the LightGBM (Light Gradient-Boosting Machine) algorithm as an advanced option for training classification models.

## Before you begin

Role required: ml_admin or admin

## About this task

The LightGBM algorithm offers performance and efficiency for large datasets. For detailed information about this algorithm see <https://lightgbm.readthedocs.io>.

Use the following procedure to add this option in the solution definition form. Alternatively, you can use a script to add this algorithm.

To add this option using a script:  

    var config = new MLPredictorConfig('ml_solution_ID');
                        config.useLightGBM();
                        config.updateConfig();

In JSON format:  

    {
        "use_lightgbm": true
        }

## Procedure

1. Navigate to AllPredictive IntelligenceClassificationSolution Definitions.
2. Open an existing classification solution or create a new one.
3. Select the Advanced Solution Settings tab in the Related Links section of the form.
4. Select New to open the Advanced Solution Setting (ml_advanced_solution_settings) form.
5. In the Solution Parameters field, search for <kbd class="ph userinput">Use LightGBM algo for classification model training</kbd>.
6. Leave the User Inputs field blank, and select Submit.  

## Result

The setting appears as a row on the Advanced Solution Setting tab on your solution's form.

## What to do next

Retrain your solution.
**Related concepts**   

* [Using Machine Learning APIs](https://servicenow-prod.fluidtopics.net/EHS1Fcu4~oKNu64uPqPylA#using-ml-apis "Use ServiceNow Machine Learning (ML) APIs to train Machine Learning models and run inferences.")  
**Related tasks**   

* [Create and train a classification solution](https://servicenow-prod.fluidtopics.net/78~nLudSwaZPxXTQ~5F0aA "Specify the records used to train a classification solution, what fields trigger a prediction, and how often you want to retrain your solution.")

*[\>]: and then


