---
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


---

# Configure HDBSCAN for a clustering solution

# Configure HDBSCAN for a clustering solution {#ariaid-title1}

* Release version: Xanadu
* 
* Updated February 10, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Consider applying the Hierarchical Density Based Spatial Clustering of Applications with Noise (HDBSCAN) algorithm to your clustering solution. HDBSCAN is available as an alternative to the default clustering algorithm,
k-means.

## Before you begin

Note:  
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, and that your use case benefits from what the technology offers. For more information, see the [Dive deeper with Clustering Advanced Parameters](https://www.servicenow.com/community/intelligence-ml-articles/dive-deeper-with-clustering-advanced-parameters/ta-p/2695847) article on ServiceNow Community.  
* Create a clustering solution definition or use an existing one.
* Role required: admin or ml_admin
{#configure-hdbscan-clustering-solution__ul_usd_cst_1kb}

## About this task

You can apply the HDBSCAN algorithm to help the system identify data samples that
aren't assigned to any cluster. For example, you can apply HDBSCAN to support Topic
Discovery.

Predictive Intelligence implements the k-means algorithm by default in its clustering framework. HDBSCAN is similar to the DBSCAN clustering algorithm except that it works with minimum-sized clusters and
can help deliver more stable and persistent clusters. For a summary of how HDBSCAN works, see [this article](https://hdbscan.readthedocs.io/en/latest/how_hdbscan_works.html). For a comparison between DBSCAN and HDBSCAN, see [this article](https://hdbscan.readthedocs.io/en/latest/comparing_clustering_algorithms.html#dbscan) and [this article](https://hdbscan.readthedocs.io/en/latest/comparing_clustering_algorithms.html#hdbscan).  
Note:  
Clustering solutions trained with HDBSCAN do not support cluster updates. Updates on these solutions fail and the solutions are not logged in the ml_cluster_detail_table. Use DBSCAN or k-means training methods if you want to enable cluster updates.

## Procedure

1. Navigate to AllPredictive IntelligenceClusteringSolution Definitions.  
2. Select New.
3. Create a new clustering solution definition form or use an existing one.  
   In this example scenario, you create the hdbscan-sf clustering definition form as in the image below. Configure the fields as follows:
   * Label: <kbd class="ph userinput">hdbscan-sf</kbd>
   * Word Corpus: <kbd class="ph userinput">incident_wc</kbd>, or any other word corpus that has incident record data (from the Washington DC release, a word corpus is not needed, so this field does not appear).
   * Table: Incident \[incident\]
   * Fields: Short description
   * Update Frequency: Do not update
   * Stopwords: Default English Stopwords
   * Training Frequency: Every 30 days
   * Processing Language: English

   {#configure-hdbscan-clustering-solution__ul_wwt_qpy_nnb}  
4. Select Submit \& Train.
5. On the Advanced Solution Settings tab in the Related Links section of the trained form, select Solution Parameters from the picker, then select New.  
6. Create a parameter record.
   1. In the Solution Parameters field, click the search icon.
   2. In the ML Solution Parameters screen, select Use HDBSCAN algo for clustering.  
   {#configure-hdbscan-clustering-solution__substeps_ow5_5tj_zjb}
7. Select Submit.  
   The Advanced Solution Setting record appears with the HDBSCAN algorithm applied to the record. The field User Inputs is grayed out because it does not apply to this algorithm.  
8. Select Submit.  
   Result: HDBSCAN is configured for your clustering solution. Its solution parameter appears on the Advanced Solution Settings tab of your clustering solution definition form.
**Related tasks**   

* [Create and train a clustering solution](https://servicenow-prod.fluidtopics.net/W5fuNvL5qZrUYelBzXRshw "Group similar records into clusters so you can address them collectively or identify patterns.")

*[\>]: and then


