Density Based Clustering
It classifies the given set of data by building clusters based on the idea that a cluster in the data space is a continuous region of high point density, separated from other clusters by continuous regions of low density.
Why to use
It works well to separate data areas with a high density of observations from data areas that are not very dense with observation. DBSCAN can sort data into clusters of arbitrary shapes as well.
When to use
When not to use
When the number of clusters is known.
Input data should be of text type and should not contain special characters and numbers.
Data divided into clusters.
Statistical Methods used
It does not work well in the case of high-dimensional data or with clusters of varying densities.
Density Based Clustering is located under rubitext () in Clustering, in the left task pane. Use the drag-and-drop method to use the algorithm in the canvas. Click the algorithm to view and select different properties for analysis. Refer to Properties of Density Based Clustering.
Figure: Density Based Clustering
Density-based clustering is an unsupervised learning method. It identifies distinctive clusters in data to be the regions of high point density, clearly separated from other clusters by a region of low point density. These separating regions of low point density are considered as noise or outliers.
In density-based clustering, core samples of high point density are identified, and clusters are developed from them. This method is suitable for data that contains data of comparable density. Also, clusters found in density-based clustering can be of any shape as opposed to the k-means method, where clusters are assumed to be convex-shaped.
Properties of Density Based Clustering
The available properties of Density Based Clustering are as shown in the figure given below.
Figure: Properties of Density Based Clustering
The table given below describes the different fields present on the properties of Density Based Clustering.
Table: Description of Fields present on the Properties of Density Based Clustering
It is the name of the task selected on the workbook canvas.
You can click the text field to edit or modify the name of the task as required.
It allows you to select Independent variables.
It allows you to enter the maximum distance between two data points for them to be considered in the neighborhood of each other.
The default value is 0.5
Minimum Number of Samples
It allows you to enter the minimum number of samples to be considered while assigning clusters.
The default value is 10.
It allows you to select the algorithm to be used for searching the nearest neighbor while assigning clusters.
The available options are –
Example of Density Based Clustering
Consider a dataset of Musical Instruments review. A snippet of input data is shown in the figure given below.
Figure: Input Data Snippet
After using the Density Based Clustering, the following results are displayed.
Figure: Output of Density Based Clustering
As seen in the above figure, each cluster's size is mentioned along with the Silhouette Score.