{"id":21359,"date":"2020-09-26T11:04:32","date_gmt":"2020-09-26T05:34:32","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/"},"modified":"2025-01-14T15:25:27","modified_gmt":"2025-01-14T09:55:27","slug":"dbscan-algorithm","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/","title":{"rendered":"DBSCAN Algorithm | How does it work?"},"content":{"rendered":"\n<p>Clustering is an unsupervised learning method that divides data points into specific groups, such that data points in a group have similar properties than those in other groups.&nbsp;<\/p>\n\n\n\n<p><em>Contributed by: <a href=\"https:\/\/www.linkedin.com\/in\/pavan-kumar-r-a69b7854\" target=\"_blank\" rel=\"nofollow noreferrer noopener\" aria-label=\"Pavan Kumar Raja  (opens in a new tab)\">Pavan Kumar Raja <\/a><\/em><\/p>\n\n\n\n<p>There are a variety of algorithms, and each defines a cluster differently. Some algorithms look for instances centred around a particular point, called a centroid. Some algorithms look for continuous regions of densely packed instances: these clusters can take on any shape. Some algorithms are hierarchical, looking for clusters of clusters. Unfortunately, it\u2019s hard to tell which one is better for your dataset and the performance of each algorithm depends on the unknown properties of the probability distribution of the underlying dataset.<\/p>\n\n\n\n<p>Centrally, all clustering methods use the same approach i.e. first calculate similarities and then use it to cluster the data points. Here we will focus on the Density-based spatial clustering of applications with noise<strong> (<\/strong>DBSCAN<strong>)<\/strong> clustering method, which works well in spatial clustering applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-dbscan\"><strong>What is DBSCAN?<\/strong><\/h2>\n\n\n\n<p>DBSCAN is a clustering algorithm that defines clusters as continuous regions of high density and works well if all the clusters are dense enough and well separated by low-density regions.<\/p>\n\n\n\n<p>In the case of DBSCAN, instead of guessing the number of clusters, will define two hyperparameters: <em>epsilon<\/em> and <em>minPoints<\/em> to arrive at clusters.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><em>Epsilon (\u03b5)<\/em><\/strong><strong>: <\/strong>A distance measure that will be used to locate the points\/to check the density in the neighbourhood of any point.<\/li>\n\n\n\n<li><strong><em>minPoints(n)<\/em><\/strong><strong>: <\/strong>The minimum number of points (a threshold) clustered together for a region to be considered dense.<\/li>\n<\/ol>\n\n\n\n<p><strong>Note:&nbsp;<\/strong><\/p>\n\n\n\n<p>In the case of higher dimensions, <em>epsilon<\/em> can be viewed as the radius of that hypersphere and <em>minPoints<\/em> as the minimum number of data points required inside that hypersphere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-the-dbscan-algorithm-create-clusters\"><strong>How does the DBSCAN Algorithm create Clusters?<\/strong><\/h2>\n\n\n\n<p>Algorithms start by picking a point(one record) <strong>x <\/strong>from your dataset at random and assign it to a cluster 1. Then it counts how many points are located within the \u03b5 (epsilon) distance from <strong>x<\/strong>. If this quantity is greater than or equal to minPoints (n), then considers it as core point, then it will pull out all these \u03b5-neighbours to the same cluster 1. It will then examine each member of cluster 1 and find their respective \u03b5 -neighbours. If some member of cluster 1 has <em>n <\/em>or more\u03b5-neighbours, it will expand cluster 1 by putting those \u03b5-neighbours to the cluster. It will continue expanding cluster 1 until there are no more examples to put in it.&nbsp;<\/p>\n\n\n\n<p>In the latter case, it will pick another point from the dataset not belonging to any cluster and put it to cluster 2. It will continue like this until all examples either belong to some cluster or are marked as outliers.&nbsp;<\/p>\n\n\n\n<p>One can observe three different instances\/points as a part of DBSCAN clustering.<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Core Point(x): <\/strong>Data point that has at least&nbsp;<em>minPoints (n)<\/em> within <em>epsilon (\u03b5)<\/em>&nbsp;distance.<\/li>\n\n\n\n<li><strong>Border&nbsp;Point(y):<\/strong> Data point that has at least one core point within <em>epsilon (\u03b5)<\/em>&nbsp;distance and lower than <em>minPoints (n)<\/em> within <em>epsilon (\u03b5)<\/em>&nbsp;distance from it.<\/li>\n\n\n\n<li><strong>Noise Point(z):<\/strong> Data point that has no core points within <em>epsilon (\u03b5)<\/em> distance.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dbscan-parameter-selection\"><strong>DBSCAN Parameter Selection<\/strong><\/h2>\n\n\n\n<p>DBSCAN is very sensitive to the values of <em>epsilon<\/em> and <em>minPoints<\/em>. Therefore, it is important to understand how to select the values of <em>epsilon<\/em> and <em>minPoints<\/em>. A slight variation in these values can significantly change the results produced by the DBSCAN algorithm.<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>minPoints(n):<\/strong>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>As a starting point, a minimum&nbsp;<em>n<\/em>&nbsp;can be derived from the number of dimensions&nbsp;<em>D<\/em>&nbsp;in the data set, as&nbsp;<em>n <\/em>\u2265 <em>D<\/em><strong>&nbsp;<\/strong>+ 1<em>.<\/em> For data sets with noise, larger values are usually better and will yield more significant clusters. Hence,&nbsp;<em>n = 2\u00b7D<\/em>&nbsp;can be evaluated, but it may even be necessary to choose larger values for very large data.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Epsilon<\/strong><strong>(\u03b5)<\/strong><strong>:<\/strong><\/li>\n<\/ul>\n\n\n\n<p>If a small epsilon is chosen, a large part of the data will not be clustered. Whereas, for a too high value of \u03b5, clusters will merge and the majority of objects will be in the same cluster. Hence, the value for \u03b5 can then be chosen by using a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Nearest_neighbor_graph\" target=\"_blank\" rel=\"nofollow noreferrer noopener\" aria-label=\" (opens in a new tab)\">k-graph<\/a>, plotting the distance to the k = minPoints-1 nearest neighbour ordered from the largest to the smallest value. Good values of \u03b5 are where this plot shows an \u201celbow\u201d:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Distance Function:&nbsp;<\/strong><\/li>\n<\/ul>\n\n\n\n<p>By default, DBSCAN uses Euclidean distance, although other methods can also be used (like great circle distance for geographical data). The choice of distance function is tightly linked to the choice of epsilon (\u03b5)<em> <\/em>value and has a major impact on the outcomes. Hence, the distance function needs to be chosen appropriately based on the nature of the data set.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dbscan-vs-k-means-clustering\"><strong>DBSCAN Vs K-means Clustering<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>S. No.<\/td><td>K-means Clustering<\/td><td>DBSCAN<\/td><\/tr><tr><td><br><\/td><td>Distance based clustering<\/td><td>Density based clustering<\/td><\/tr><tr><td><br><\/td><td>Every observation becomes a part of some cluster eventually<\/td><td>Clearly separates outliers and clusters observations in high density areas<\/td><\/tr><tr><td><br><\/td><td>Build clusters that have a shape of a hypersphere<\/td><td>Build clusters that have an arbitrary shape or clusters within clusters.<\/td><\/tr><tr><td><br><\/td><td>Sensitive to outliers<\/td><td>Robust to outliers<\/td><\/tr><tr><td><br><\/td><td>Require no. of clusters as input<\/td><td>Doesn\u2019t require no. of clusters as input<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>This brings us to the end of the blog on DBSCAN Algorithm, if you found this helpful and wish to learn more, check out our range of <a href=\"https:\/\/www.mygreatlearning.com\/academy\" target=\"_blank\" rel=\"noreferrer noopener\">free online courses with certificates<\/a> designed to cater to individuals like yourself. Gain a competitive edge in fields such as Data Science, Digital Marketing, Cybersecurity, Management, Artificial Intelligence, Cloud Computing, IT, and Software. These courses have been developed by industry experts to ensure you receive comprehensive hands-on experience and valuable practical knowledge. Whether you're a beginner exploring new career opportunities or an experienced professional aiming to enhance your skill set, our courses offer a convenient and adaptable learning experience..<\/p>\n\n\n\n<p>Also Read:<br><a aria-label=\"What is Hierarchical Clustering? An Introduction to Hierarchical Clustering (opens in a new tab)\" href=\"https:\/\/www.mygreatlearning.com\/blog\/hierarchical-clustering\/\" target=\"_blank\" rel=\"noreferrer noopener\">What is Hierarchical Clustering? An Introduction to Hierarchical Clustering<\/a><br><a aria-label=\"Machine Learning Interview Questions for 2020  (opens in a new tab)\" href=\"https:\/\/www.mygreatlearning.com\/blog\/machine-learning-interview-questions\/\" target=\"_blank\" rel=\"noreferrer noopener\">Machine Learning Interview Questions<\/a><br><a aria-label=\"Clustering Algorithms in Machine Learning (opens in a new tab)\" href=\"https:\/\/www.mygreatlearning.com\/blog\/clustering-algorithms-in-machine-learning\/\" target=\"_blank\" rel=\"noreferrer noopener\">Clustering Algorithms in Machine Learning<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clustering is an unsupervised learning method that divides data points into specific groups, such that data points in a group have similar properties than those in other groups.&nbsp; Contributed by: Pavan Kumar Raja There are a variety of algorithms, and each defines a cluster differently. Some algorithms look for instances centred around a particular point, [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":21367,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"content_type":[],"class_list":["post-21359","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>DBSCAN Algorithm | How does it work?<\/title>\n<meta name=\"description\" content=\"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DBSCAN Algorithm | How does it work?\" \/>\n<meta property=\"og:description\" content=\"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-26T05:34:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-14T09:55:27+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1254\" \/>\n\t<meta property=\"og:image:height\" content=\"836\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"DBSCAN Algorithm | How does it work?\",\"datePublished\":\"2020-09-26T05:34:32+00:00\",\"dateModified\":\"2025-01-14T09:55:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/\"},\"wordCount\":983,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/iStock-1043306656.jpg\",\"articleSection\":[\"AI and Machine Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/\",\"name\":\"DBSCAN Algorithm | How does it work?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/iStock-1043306656.jpg\",\"datePublished\":\"2020-09-26T05:34:32+00:00\",\"dateModified\":\"2025-01-14T09:55:27+00:00\",\"description\":\"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/iStock-1043306656.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/iStock-1043306656.jpg\",\"width\":1254,\"height\":836,\"caption\":\"dbscan\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbscan-algorithm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI and Machine Learning\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/artificial-intelligence\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DBSCAN Algorithm | How does it work?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"DBSCAN Algorithm | How does it work?","description":"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/","og_locale":"en_US","og_type":"article","og_title":"DBSCAN Algorithm | How does it work?","og_description":"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2020-09-26T05:34:32+00:00","article_modified_time":"2025-01-14T09:55:27+00:00","og_image":[{"width":1254,"height":836,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"DBSCAN Algorithm | How does it work?","datePublished":"2020-09-26T05:34:32+00:00","dateModified":"2025-01-14T09:55:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/"},"wordCount":983,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg","articleSection":["AI and Machine Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/","url":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/","name":"DBSCAN Algorithm | How does it work?","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg","datePublished":"2020-09-26T05:34:32+00:00","dateModified":"2025-01-14T09:55:27+00:00","description":"What is DBSCAN Algorithm: DBSCAN is a algorithm that defines clusters as continuous regions of high density. The two main hyperparameters are: epsilon and minPoints.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg","width":1254,"height":836,"caption":"dbscan"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbscan-algorithm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AI and Machine Learning","item":"https:\/\/www.mygreatlearning.com\/blog\/artificial-intelligence\/"},{"@type":"ListItem","position":3,"name":"DBSCAN Algorithm | How does it work?"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",1254,836,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656-768x512.jpg",768,512,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",1254,836,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",1254,836,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",640,427,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",96,64,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/09\/iStock-1043306656.jpg",150,100,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Clustering is an unsupervised learning method that divides data points into specific groups, such that data points in a group have similar properties than those in other groups.&nbsp; Contributed by: Pavan Kumar Raja There are a variety of algorithms, and each defines a cluster differently. Some algorithms look for instances centred around a particular point,&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/21359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=21359"}],"version-history":[{"count":14,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/21359\/revisions"}],"predecessor-version":[{"id":104985,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/21359\/revisions\/104985"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/21367"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=21359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=21359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=21359"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=21359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}