---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/intelligent-experiences

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Minimum records needed for label to include it

# Minimum records needed for label to include it {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Set a threshold for the minimum number of records a label must have in your dataset to be included in model training.

## Vorbereitungen

Verify that your dataset includes label values suitable for classification.

Role required: ml_admin or admin

## Warum und wann dieser Vorgang ausgeführt wird

This advanced option helps to eliminate labels that occur infrequently. Setting this minimum threshold can reduce overfitting and unreliable predictions.

To configure, you provide a number for a minimum count of records. Any class value with fewer records than the minimum is dropped from the training set. Class values that are dropped before training can't appear in
predictions.

To add this option using a script:  

    config.setMinLabelCount(50);

In JSON format:  

    {
        "min_label_count": 50
        }

## Prozedur

1. To add this option in the solution definition form, 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">minimum records needed for label to include it</kbd>.
6. In the User Inputs field, enter the number of records you want as the minimum, then select Submit.  

## Ergebnisse

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

## Nächste Maßnahme

Retrain your solution.
**Zugehörige Konzepte**   

* [Using Machine Learning APIs](https://servicenow-prod.fluidtopics.net/mk3xiZ8UKjhPXnoAcnr6Dw#using-ml-apis "Use ServiceNow Machine Learning (ML) APIs to train Machine Learning models and run inferences.")  
**Zugehörige Tasks**   

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

