November 2016
Beginner to intermediate
959 pages
43h 46m
English
As an alternative to distance measurement, you can use a density-based measurement to cluster data. This method finds an area with a higher density than the remaining area. One of the most famous methods is DBSCAN. In the following recipe, we will demonstrate how to use DBSCAN to perform density-based clustering.
In this recipe, we will use simulated data generated from the mlbench package.
Perform the following steps to perform density-based clustering:
fpc and mlbench packages:> install.packages("mlbench") > library(mlbench) > install.packages("fpc") > library(fpc)
mlbench library to draw a Cassini problem graph:
> set.seed(2) ...Read now
Unlock full access