To create a clustering solution in Predictive Intelligence, define the records and text fields to analyze, choose grouping and training settings, then submit the definition for training. Review the resulting clusters before relying on them. Legacy solutions using a word corpus change to Workflow solutions when retrained after an upgrade.
Create a clustering solution in Predictive Intelligence
Start with a question that a group of similar records could help answer. For incident analysis, that might be whether recently reported symptoms point to a shared disruption. Decide which records belong in that investigation before opening the form. A broad dataset can answer a different question from a narrowly filtered set, even when both use the same input field.
Creating and training the solution requires the ml_admin or admin role. Switch to the application scope intended for the definition, then open All > Predictive Intelligence > Clustering > Solution Definitions. Select New on the Clustering Definitions list. Give Label a unique, recognizable value; Name fills automatically from that label.
Keep the definition’s purpose visible in its label and your working notes. Record the intended population, the text to compare, and who will review the clusters. The broader guide to machine learning solution definitions helps place this record in the surrounding configuration work.
Understand the Word Corpus change before retraining
In Brazil, Australia, Zurich, Yokohama, and Xanadu, clustering uses pre-trained Workflow solutions for new definitions, so a word corpus is unnecessary. An existing word-corpus solution becomes a Workflow solution when it is retrained after an upgrade, and Word Corpus disappears from its form. A legacy definition may still expose that field before this transition. Check the behavior on your instance and release.
Separate the upgrade event from the retraining event in your change record. If someone reports that Word Corpus has vanished, establish whether the solution was retrained following the upgrade before treating the missing field as a configuration fault. The conversion explains a form change that might otherwise look like a lost setting.
As a review practice, capture the definition and representative output before retraining. Compare the resulting groups against the same business question afterward. This gives reviewers something concrete to evaluate instead of using the presence of an old field as the acceptance test.
Choose input records, text, and comparison fields
Set Table to the records you want to cluster. For an incident investigation, select Incident [incident]. After you choose the table, the form provides a link showing how many records match the current conditions. Use that count to check the population before committing training work.
Fields specifies the input used to identify similar records. Short description is a starting choice for the incident example. When selecting a reference field, dot-walk to its property name rather than leaving the reference unresolved. Inspect sample records so the selected input actually contains the symptom or subject matter your reviewers expect to compare.
Use Filter to restrict the input population. Clustering supports up to 300,000 records, with at least 2,000 recommended for better results. Treat the recommendation as guidance for training quality, rather than a guarantee about a particular dataset. Script includes cannot be referenced in Filter; database views provide an alternative.
Before adding optional settings, check three things together: the selected table, the matching record count, and the text available in those records. A correct-looking count does not establish that the input text answers your question. Likewise, detailed text from the wrong population can produce coherent groups that have little value for the investigation.
Select Purity Fields to inspect which class is most common within a cluster. Category and Assignment group.Name are options for the incident example. These fields give reviewers another way to assess the composition of a group. Keep their purpose distinct from Fields, which provides the input for identifying similar records.
Decide whether to partition records before clustering
Use Group By controls whether records are grouped by a field before clusters are created. Selecting it activates the Group By list. Leaving it unselected allows the table records within the chosen population to be clustered together. Choose a grouping field when separate populations are part of the question you want to answer.
For example, consider whether reviewers need to discover common symptoms across the selected population or examine patterns within separate groups. This is a design decision to settle before training. Write down the reason for the partition so later reviewers can distinguish an intentional boundary from a missed cross-group pattern.
Do not use Purity Fields as a substitute for that decision. They describe the dominant class inside a cluster; Group By establishes a grouping boundary before clustering. For the surrounding field choices and definition setup, see Predictive Intelligence solution configuration.
Set language, update frequency, and training frequency
Processing Language should match the dataset’s dominant language. English processing also applies by default. Selecting Italian, for example, applies Italian processing alongside English. Processing includes language-specific handling such as tokenization, stopword removal, and stemming.
Selecting a language adds its Stopwords list, and the English list is included as well. A custom list can also be selected in Stopwords. As a review practice, inspect the terms that distinguish your incident symptoms before changing this setting. Removing meaningful terms could work against the distinctions you want reviewers to see.
Update Frequency determines how often new and changed records are brought into the clustering results. The system uses the configured grouping conditions, attempts to place incoming records in existing clusters, and can form a new cluster. You may also choose to leave clusters without updates.
Training Frequency governs a different operation: discarding previous cluster results and rebuilding them. Available intervals include daily, every third day, every seven days, and monthly, with a one-time training choice. Minimum number of records per cluster must be at least 2. Choose it with the size of actionable groups in mind.
A review plan should explain both schedules. Updates let reviewers follow changes between full training runs; retraining rebuilds the groups. For help planning this work, see ServiceNow implementation.
Submit training and inspect the resulting clusters
Use Save or Submit when recording the definition without starting training. Save & Train and Submit & Train also submit it for training. When the Training Activation window appears, select OK to confirm. The system provides a real-time notification when training finishes.
Open Cluster Visualization to inspect the treemap. Clusters run from larger to smaller across the plot, beginning at the top left. Node colors range from red to green according to cluster quality. Cluster Concept labels summarize prominent processed words in the input, helping you decide which groups deserve closer inspection.
When Use Group By and Group By are configured, Select Group becomes available. Pointing to a cluster shows Groupby, Cluster Count, and Records in Groupby information. Open a cluster by selecting its node or using Show All Groups. Within a grouping, the size and quality sliders help narrow the results.
Inspect actual records before accepting an apparent pattern. Selecting a cluster node opens its ML cluster details in a list. Review Solution Statistics for output, Cluster Summary for cluster IDs and their quality, size, and Groupby values, and Cluster Updates for changes at each update interval. Reconfigure and retrain when the groups do not meet the investigation’s needs.
Keep a short review log identifying the setting changed and the difference observed in representative groups. This makes later adjustments easier to assess. If the problem concerns the training process or results, use the Predictive Intelligence troubleshooting guide to organize the investigation.
Questions about training limits and cluster display
Does scheduled retraining consume the new-training request limit?
The ML scheduler allows 50 new ML training requests per instance in a 24-hour window. Scheduled retraining is excluded from that limit. Clustering and similarity updates are excluded too. Distinguish these operations when assessing a busy instance’s training workload.
Why can a Cluster Concept label contain shortened words?
The label uses words from processed input in the dataset’s language. Language processing can reduce words to root forms, so a label may look truncated. Inspect the underlying records before concluding that the stored text has been damaged.
Why is the Back button missing from the visualization?
Back appears when a clustering hierarchy is present. Its absence alone does not establish that training failed. Look at the current visualization level and whether there is a hierarchy to navigate.
What additional information appears inside a cluster grouping?
Pointing to a cluster at that level displays Purity field percentiles alongside Cluster Concept, Quality, and Size. Use those measures together when deciding which groups to inspect, rather than interpreting a prominent concept label as sufficient evidence of a shared incident.