---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Configure XGBoost for classification or regression solutions

# Configure XGBoost for classification or regression solutions {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Apply XGBoost encoding to optimize the training for your classification or regression solutions.

## Before you begin

* Create a classification solution definition or use an existing one.
* Create a regression solution definition or use an existing one.
* Role required: admin or ml_admin
{#configure-xgboost-classification-regression-solutions__ul_bbp_gcr_3lb}

## About this task

XGBoost is an optional gradient boosting framework that uses multiple decision trees and supports both Paragraph Vector-based text and TF-IDF distance-based text.
LogR is the default distance-based model algorithm.

From the Brazil release, [Test time explainability](https://www.servicenow.com/docs/haanmkKKkG6D87rbRdx86w "Understand the reasons your machine learning solution made a specific prediction with Test time explainability, which returns a list of input features that influenced the prediction.") is available when using xgboost in Classification solutions.

Configuring advanced settings on your ML solutions is optional. If you choose to configure any of these settings, make sure you're well informed regarding the technology you're enabling in the solution. Also make sure you have a
use case that benefits from what the technology offers.  
In this example scenario, you apply XGBoost to both a classification solution and a regression solution.  
Note:  
The regression framework is deprecated in the Brazil release. You can continue to use existing regression solutions but you can't initiate new ones.

## Procedure

1. Navigate to AllPredictive IntelligenceClassificationSolution Definitions.
2. Open a classification solution definition form.
3. On the Advanced Solution Settings tab in the Related Links section of the form, select New.  
4. Create a parameter record.
   1. In the Solution Parameters field, select the search icon.
   2. In the ML Solution Parameters screen, select Use XGBoost algo for classification model training.

   {#configure-xgboost-classification-regression-solutions__substeps_ow5_5tj_zjb}  
5. Select Submit.  
   The Advanced Solution Setting record screen refreshes.  
6. Select Submit.  
   Result: XGBoost is configured for your classification solution. Its solution parameter appears on the Advanced Solution Settings tab of your classification definition form.  
   Note:  
   Follow the steps below if you want to configure XGBoost on a regression solution.
7. Navigate to Predictive IntelligenceRegressionSolution Definitions (available only if you had created a regression solution before the regression framework was deprecated).
8. In this second scenario, you open a regression solution definition form.
9. Repeat the steps from the previous classification solution example, except this time you're using a regression solution.
10. Select Submit.  
    Result:

    XGBoost is configured for your regression solution. Its solution parameter appears on the Advanced Solution Settings tab of your regression solution definition form.
**Related concepts**   

* [Test time explainability](https://www.servicenow.com/docs/haanmkKKkG6D87rbRdx86w "Understand the reasons your machine learning solution made a specific prediction with Test time explainability, which returns a list of input features that influenced the prediction.")  
**Related tasks**   

* [Create and train a classification solution](https://www.servicenow.com/docs/oXfX1Cuhi4rQ4_~zz7QO2w "Specify the records used to train a classification solution, what fields trigger a prediction, and how often you want to retrain your solution.")
* [Create and train a regression solution](https://www.servicenow.com/docs/mBDIVybG_Jq2gBMYO6YxFQ "Regression solutions have been deprecated. They could be used to predict numeric outputs, such as a temperature or a stock price.")

*[\>]: and then


